Agent Forge CLI
Agent Forge CLI for syncing, versioning, and promoting agent configuration, with current Go and legacy Python build coverage.
Agent Forge is the CLI tool for managing agent configurations on the Amigo platform. It lets you create, update, version, and promote agent components programmatically rather than through the web interface.
Agent Forge treats agent configurations as code. You sync configurations to local JSON files, make changes, and push them back to the platform. This gives you version control, reproducibility, and the ability to script deployment workflows.
Choosing a Build
Agent Forge ships as two builds that share the same forge command and most of the same command surface:
Go CLI (current, recommended) - A single self-contained binary with no runtime dependencies. This is the source of truth for the
forgeCLI going forward. New workspaces and new automation should use this build. The Go CLI officially supports only the Amigo Platform API - it drives all remote operations through theforge platform ...command tree. It does not officially support the Classic API (the legacy backend); use the Python CLI for Classic API workflows.Python CLI (legacy) - The original Poetry-managed Python tool. It supports both the Platform API and the Classic API, and it carries a superset of commands - a handful of analytics, quality, and reporting commands have not yet been ported to the Go binary - but it is being retired for external use and now mainly serves internal Amigo workflows. Use it if you need the Classic API or one of the legacy-only commands listed in its tab below.
Both builds understand the same entity model, the same --env flag, and the same .env.platform.<env> configuration for the Platform API. The tabs below document each build; unless a section says otherwise, the Platform API command syntax is identical across builds.
To tell which build you have, run forge version (Go prints a stamped binary version; the Python tool runs from a git checkout).
What Agent Forge Manages
Across its two builds, Agent Forge manages the following configuration and testing resources. Coverage differs by build: the current Go CLI targets Platform API resources, while the legacy Python CLI retains Classic API workflows and legacy-only analytics commands. The tabs below identify the supported command surface for each build.
Agents: Persona, background, directives, and communication style
Context graphs: Problem structure, states, transitions, and safety boundaries
Metrics: Evaluation criteria, scoring rubrics, and custom metric definitions
Personas: Synthetic user profiles for simulation testing (the primary way to manage personas)
Scenarios: Test situations for simulation testing
Services: Link an agent and context graph into a deployable unit
Harness context: Inspect the supported service bootstrap context for customer integrations
Tools: Versioned code packages (called Actions in the conceptual docs)
Unit test sets: Groups of tests with success criteria
Unit tests: Individual test cases
User dimensions: Attributes that segment users for evaluation and analysis
Coding Agent Skills
The amigo-forge plugin is a public skill marketplace for Codex and Claude Code. It lets your coding agent drive the forge CLI for you. Instead of remembering command syntax, you describe what you want in plain language - "scope this agent before I build it", "validate my entity JSON", "run regression sims before I promote" - and the agent picks the matching skill and runs it against the forge binary you already have installed. The skills drive your local binary; they do not ship or install it.
The marketplace lives in the public amigo-ai-solutions/forge-skills repository and requires forge version 0.1.23 or newer on your PATH.
Install
Codex:
Then open Codex, run /plugins, choose the Amigo Forge marketplace, and install the forge plugin.
Claude Code:
List installed skills and plugins with /plugins in Codex or /plugin in Claude Code.
Available Skills
forge-agent-design
Scope an agent before building - decide where each piece of complexity belongs (a deterministic function, a context graph state, an isolated skill, a router, or multiple agents). Start here.
forge-build-agent
Stand up the entities end to end: functions, then a context graph, the agent, skills, a service, and a pinned version set.
forge-validate
Run the local, no-auth pre-push validation gate over your entity JSON.
forge-sync
Read, edit, validate, and deploy entity data through forge platform commands - pull with get, then push with a dry run first, then apply.
forge-simulate
Regression-test and prove parity before promoting a version set, keeping a rollback path.
In any Forge project, describe what you want and the coding agent selects the matching skill. You can also invoke a skill explicitly:
Keeping Skills Up to Date
Codex loads new skill versions after the marketplace catalog is refreshed and the installed plugin is updated. Refresh the marketplace catalog from a shell:
Then open /plugins, update the installed forge plugin if prompted, and start a new thread so Codex reloads the plugin instructions.
Claude Code auto-update is off by default for third-party marketplaces. Turn it on from /plugin > Marketplaces > amigo-forge > Enable auto-update so Claude Code refreshes the catalog and updates the plugin at startup. To update by hand, refresh the catalog and then update the plugin:
Run /reload-plugins afterward to activate the new version in the current session without restarting.
Typical Workflow
Pull current configurations from the platform to your local environment.
Make changes to the JSON configuration files.
Push to staging and run your test sets to validate.
Review results and iterate if tests fail.
Promote to production after validation passes.
This workflow supports both manual changes and automated optimization. Teams can use Agent Forge directly for planned configuration updates, or set up automated pipelines that use Agent Forge to deploy and test changes as part of a continuous improvement process.
When to Use Agent Forge
Managing configurations across environments: Keep staging and production in sync with a controlled promotion process.
Bulk updates: Modify multiple agents, behaviors, or evaluation criteria in a single operation.
Scripted deployments: Integrate Agent Forge into CI/CD pipelines for automated testing and deployment.
Audit and rollback: Maintain a complete history of configuration changes with the ability to revert.
Building agents from scratch: Use Platform API commands to create agents, context graphs, and services entirely from the CLI.
Coverage testing: Run simulation tests that automatically explore unvisited states and edge cases.
Last updated
Was this helpful?

