Starting the server
oxy serve — web server only
Starts the Oxy web interface. Requires an external PostgreSQL database configured via OXY_DATABASE_URL.
| Flag | Behavior |
|---|---|
| (none) | Multi-workspace mode — default. Workspaces are stored in $OXY_STATE_DIR/workspaces/ and managed via the UI. GitHub import available when GITHUB_* env vars are set. |
--local | Single-workspace mode — serves the current working directory as the only workspace. Git sync disabled; files already exist on disk. |
oxy start — PostgreSQL + web server
Starts a PostgreSQL container with Docker and then launches the web server. Recommended for local development and single-node deployments without a managed database.
oxy start reference.
Agent interaction
Once you have your agents, config, and data configured, you can ask this agent questions by runningoxy run path/to/agent.agent.yml "<prompt>", as shown below:
Database Synchronization
Thesync command collects semantic information from your databases, making their structure available to your agents.
Basic usage:
-o flag).
For more detailed information about database synchronization, see the Database Sync documentation.
Run queries
Run a raw query on target databaseWorkflow usage
To execute a workflow, you can run:Testing
Run tests defined in your agent or workflow files to ensure quality and consistency:Basic Testing
JSON Output for CI/CD
Get machine-readable JSON output suitable for automated pipelines:Quality Gates with Thresholds
Enforce minimum accuracy requirements (exits with code 1 if threshold not met):Quiet Mode
Suppress progress bars and detailed output:--format <format>- Output format:pretty(default) orjson--min-accuracy <threshold>- Minimum accuracy threshold (0.0-1.0)--threshold-mode <mode>- Threshold mode:average(default) orall--quiet,-q- Suppress detailed output