inconvo
v2.4.2
Published
CLI for Inconvo development environment
Readme
Inconvo CLI
Quick Start
npx inconvo@latest devThis will:
- Run the setup wizard (first time only)
- Pull Docker images for the dev server
- Start the dev server in Docker and the sandbox on your machine
Then open http://localhost:26686 to start chatting with your data.
Requirements
- Docker (Docker Desktop or Docker daemon running)
- Node.js 20+ (only for running
npx)
Commands
Credential priority (highest first): --api-key flag → exported INCONVO_API_KEY env var → repo .env (INCONVO_API_KEY).
If you're working from a cloned repo, add your API settings to the repo .env:
INCONVO_API_KEY=your-api-key
INCONVO_API_BASE_URL=https://app.inconvo.aiinconvo dev
Start the Inconvo development environment.
npx inconvo@latest devOptions:
--image-version <version>- Use a specific Docker image version
inconvo dev configure
Re-run the configuration wizard to update your settings.
npx inconvo@latest dev configureinconvo model pull
Generate local semantic-model snapshots under .inconvo/.
npx inconvo@latest model pull --agent <agentId>Use inconvo model agent list --json to discover agent IDs for automation.
inconvo model agent list
List agents in the current organization (name + id), useful before pull/mutation commands.
npx inconvo@latest model agent list --jsoninconvo model <group> <command>
Apply semantic-model or user-context mutations directly via API, then auto-sync
generated .inconvo/ snapshots.
Examples:
npx inconvo@latest model table set-access --agent <agentId> --connection <connectionId> --table orders --access QUERYABLE
npx inconvo@latest model column update --agent <agentId> --connection <connectionId> --table orders --column total --rename amount
npx inconvo@latest model user-context add-field --agent <agentId> --key org_id --type STRINGFor agent/tooling usage:
- Add
--jsonfor structured output. - Add
--dry-runto mutation commands to print the resolved action payload without applying changes.
Available groups:
tablecolumn(conversion,enum)computedrelation(manual)conditionpolicyvirtualuser-context
inconvo model action
Run generic model actions from raw JSON payloads and inspect supported action metadata.
npx inconvo@latest model action schema --json
npx inconvo@latest model action run --agent <agentId> --connection <connectionId> --action table.setAccess --payload '{"tableId":"table_123","access":"QUERYABLE"}' --jsoninconvo connection sync
Trigger a full database resync for a connection — the platform re-introspects the live DB schema, then the CLI pulls an updated local snapshot.
npx inconvo@latest connection sync --agent <agentId> --connection <connectionId>
# or interactively (pick from a list):
npx inconvo@latest connection sync --agent <agentId>inconvo connection get
Show metadata for a connection, including its description. In CLI responses, description is the user-facing name for the platform's internal connection context field.
npx inconvo@latest connection get --agent <agentId> --connection <connectionId>
# or interactively:
npx inconvo@latest connection get --agent <agentId>inconvo connection update
Update or clear a connection description without redeploying the connector. After a successful update, the CLI refreshes the local .inconvo/ snapshot for that connection.
npx inconvo@latest connection update --agent <agentId> --connection <connectionId> --description "Sales warehouse used for BI reporting"
npx inconvo@latest connection update --agent <agentId> --connection <connectionId> --clear-descriptionConfiguration
On first run, the CLI will prompt you for:
- Database connection - PostgreSQL, Redshift, MySQL, SQL Server, or BigQuery
- OpenAI API key - For the LLM
For BigQuery connections, the setup wizard also asks for:
- Project ID
- Dataset
- Location (for example
USorEU) - Service account credentials JSON file path (copied to
~/.inconvo/credentials/and mounted into Docker) - Max bytes billed per query (optional, must be an integer greater than
0)
BigQuery credentials are resolved in this order when multiple values are set:
INCONVO_BIGQUERY_CREDENTIALS_JSONINCONVO_BIGQUERY_CREDENTIALS_BASE64INCONVO_BIGQUERY_KEYFILE
Configuration is stored in ~/.inconvo/config.env.
The CLI stores the dev-server SQLite database at ~/.inconvo/data/inconvo.db.
Note: When developing locally from a cloned repo, the dev-server uses
.inconvo.envin theapps/dev-server/directory instead. These are separate configurations.
AI Agent Skill
Install the Inconvo CLI skill to give your AI agent (Claude Code, Cursor, etc.) full knowledge of the semantic model mutation workflow:
npx skills add inconvoai/inconvo
# or globally across all agents:
npx skills add inconvoai/inconvo --globalFor Development
If you want to contribute or develop locally, clone the repository instead:
git clone https://github.com/inconvoai/inconvo.git
cd inconvo
pnpm install
pnpm devSee the main repository README for development instructions.
License
Apache-2.0
