The most common workflow: pull an agent from the cloud, edit it locally, validate, and push back.
# Login and select your org/account/agentaui login# Import the agent configuration locallyaui import-agent# Open the directory in your IDEcd my-agentcode . # or: cursor .# Edit any .aui.json file — you get schema autocomplete in VSCode/Cursor# Validate your changesaui dvalidate# See what changedaui diff# Push to the cloudaui push
After importing, your IDE gets automatic JSON schema autocomplete for all .aui.json files. No additional setup required in VSCode or Cursor.
Always validate before pushing. Use --dry-run to preview.
# Validate all project filesaui dvalidate# Preview what will be pushedaui push --dry-run# Push changesaui push# Force push everything (not just diffs)aui push --force
aui push --force sends all files, not just changed ones. Use it when you want to ensure the remote matches your local state exactly.
# Work on stagingaui env stagingaui import-agent# ... make changes ...aui dvalidateaui push# When ready, switch to productionaui env productionaui push