Skip to main content

Project Structure

After running aui import-agent or aui create-agent, your project directory looks like this:

File Reference

VSCode and Cursor get automatic JSON schema autocomplete for .aui.json files via the .vscode/settings.json generated during import.

Session

Stored at ~/.aui/session.json after login. Contains:
  • Auth token (JWT) and refresh token
  • User info (ID, email, name)
  • Organization ID and name
  • Account ID and name
  • Agent ID and name
  • Environment and API URL
  • Token expiry timestamp
Do not commit ~/.aui/ to version control. It contains authentication tokens and API keys.

Project Config (.auirc)

Created in your project directory by aui import-agent or aui create-agent:
.auirc
This file links your local project to a specific agent and account on the AUI platform.

Environment Variables

Environment variables override file-based configuration. Useful for CI/CD pipelines.

Secure Key Files

Additional credentials are stored as secure files (mode 600) in ~/.aui/:

Environments

AUI supports three environments: Switch environments:
The active environment is stored in ~/.aui/environment.

Next Steps

Command Reference

Full reference for all CLI commands.

Workflows

Common development workflows and patterns.