Import and Edit an Existing Agent
The most common workflow: pull an agent from the cloud, edit it locally, validate, test, and push back.After importing, your IDE gets automatic JSON schema autocomplete for all
.aui.json files, and coding-agent skills are generated for Cursor, Claude Code, and opencode — no additional setup required.Create a New Agent from Scratch
Provision a new agent end-to-end and start building.aui agent --create creates the agent server-side, then imports it locally and drops you into its folder.
GUIDE.md walks you through configuring each file in order.
Test Against the Runtime
Talk to your agent against the real Apollo-1 runtime. Your local.aui.json files are forwarded by default, so replies reflect your latest edits — no deploy required.
The
aui apollo commands default to JSON output (built for scripting and coding agents). Pass --pretty for the human-readable view.Validate and Push Changes
Always validate before pushing. Use--dry-run to preview.
aui revert.
Publish and Activate a Version
Pushing updates your draft. To make changes live, publish and activate a version.Evaluate with Scenarios
Turn a faithful agent into a reliable one by scoring it against evaluation scenarios. Run these from inside the agent project.Switch Between Environments
Test on staging before deploying to production.CI/CD Integration
Use environment variables to skip interactive login in CI pipelines.Driving the CLI with a Coding Agent
The CLI is built to be driven by coding agents (Cursor, Claude Code, the Agent Builder). Nearly every command is non-interactive and supports--json, and importing an agent generates skill files so the agent knows the workflow.
- Author → run → read the trace → revise. Have the agent edit
.aui.jsonfiles, thenaui apollo send-message ... --json, readtrace_info, and iterate until behavior holds. - Report learnings. Coding agents should surface issues and learnings with
aui report. - Keep the session aligned.
aui sync-sessionreconciles the session with the project’s.auirc(runs automatically before most commands).
Next Steps
Command Reference
Full reference for all CLI commands.
Configuration
Project structure, config files, and environment variables.