|
20 | 20 | - `./bin/cagent run <config.yaml>` - Run agent with configuration (launches TUI by default) |
21 | 21 | - `./bin/cagent run <config.yaml> -a <agent_name>` - Run specific agent from multi-agent config |
22 | 22 | - `./bin/cagent run agentcatalog/pirate` - Run agent directly from OCI registry |
23 | | -- `./bin/cagent exec <config.yaml>` - Execute agent without TUI (non-interactive) |
| 23 | +- `./bin/cagent run --exec <config.yaml>` - Execute agent without TUI (non-interactive) |
24 | 24 | - `./bin/cagent new` - Generate new agent configuration interactively |
25 | 25 | - `./bin/cagent new --model openai/gpt-5` - Generate with specific model |
26 | | -- `./bin/cagent push ./agent.yaml namespace/repo` - Push agent to OCI registry |
27 | | -- `./bin/cagent pull namespace/repo` - Pull agent from OCI registry |
28 | | -- `./bin/cagent mcp ./agent.yaml` - Expose agents as MCP tools |
29 | | -- `./bin/cagent a2a <config.yaml>` - Start agent as A2A server |
30 | | -- `./bin/cagent api` - Start Docker `cagent` API server |
| 26 | +- `./bin/cagent share push ./agent.yaml namespace/repo` - Push agent to OCI registry |
| 27 | +- `./bin/cagent share pull namespace/repo` - Pull agent from OCI registry |
| 28 | +- `./bin/cagent serve mcp ./agent.yaml` - Expose agents as MCP tools |
| 29 | +- `./bin/cagent serve a2a <config.yaml>` - Start agent as A2A server |
| 30 | +- `./bin/cagent serve api` - Start Docker `cagent` API server |
31 | 31 |
|
32 | 32 | ### Debug and Development Flags |
33 | 33 |
|
@@ -1029,7 +1029,6 @@ task push-image # Build and push multi-platform |
1029 | 1029 | | `main.go` | Entry point, signal handling | |
1030 | 1030 | | `cmd/root/root.go` | Root command, logging setup, persistent flags | |
1031 | 1031 | | `cmd/root/run.go` | `cagent run` command implementation | |
1032 | | -| `cmd/root/exec.go` | `cagent exec` command (non-TUI) | |
1033 | 1032 | | `pkg/runtime/runtime.go` | Core execution loop, tool handling, streaming | |
1034 | 1033 | | `pkg/agent/agent.go` | Agent abstraction, tool discovery | |
1035 | 1034 | | `pkg/session/session.go` | Message history management | |
|
0 commit comments