Registry / database / aiex-cli

aiex-cli

JSON →
library0.1.1-beta.9jsnpmunverified

AIEX CLI is a command-line tool that converts JSON Schema definitions into SQLite databases and uses AI to extract structured data from documents into those databases. Current version is 0.1.1-beta.9 (beta). It supports any OpenAI-compatible AI provider for extraction, features a web UI for schema and data management, and can process files in batch mode with deduplication. Unlike generic ETL tools, AIEX integrates schema generation, AI extraction, and database migration into a single workflow.

npm install aiex-cli
INSTALL
IMPORT
SIG · AIEX-CLI
A
aiex-cli
databasejavascriptv0.1.1-beta.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

aiex
Install globally: npm install -g aiex-cli
Importing as a library: import { aiex } from 'aiex-cli'
AIEX is a CLI tool, not a library. Use it via terminal commands.

Installs AIEX CLI globally and shows the basic workflow: start web UI, generate schema, and extract data from a file.

npm install -g aiex-cli # Start web UI to configure schemas and AI npx aiex web # In another terminal, generate SQLite database from schemas npx aiex schema # Extract data from a PDF using default AI model npx aiex extract -s invoice -f invoice.pdf
Debug
Known issues
deprecated--no-insert flag may be renamed in future versions
fix
Check documentation for latest flag names
affects: >=0.1.0-beta <0.2.0
gotchaAIEX uses a custom JSON Schema dialect, not the full JSON Schema specification
fix
Refer to Docs/schema-dialect.md for supported schema features
affects: >=0.1.0-beta
gotchaExtraction deduplication is based on file hash; files with same content will be skipped unless --force is used
fix
Use --force flag to re-extract already processed files
affects: >=0.1.0-beta
Errors
Common errors & fixes
Error: Cannot find module 'better-sqlite3'
Missing native SQLite driver
fix
npm install better-sqlite3
Error: Unsupported file type
File extension not in supported list (txt, pdf, png, jpg, etc.)
fix
Convert file to supported format or check documentation for all supported types
Upgrade
Version history
0.1.1-beta.9latest on npm
Audit
Dependencies
drizzle-ormrequiredUsed for SQLite schema generation and migration
better-sqlite3requiredSQLite database driver
openaioptionalOfficial OpenAI SDK for AI extraction (or compatible providers)
Agent activity
67 hits · last 30 days
node
58
OpenAI (training)
1
Resources
aiex-cli — npm install aiex-cli · libregistry