create_agent
Compose local Genes into a new Agent saved to .rotifer/agents/. Genes must exist locally; wrap them first with wrap_gene.
Instructions
Create a new Agent by composing one or more local Genes. The Agent is saved to .rotifer/agents/ in the project. Genes must exist locally (wrap them first with wrap_gene).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Domain tag for the agent (e.g. search.web). Metadata only, does not auto-select genes. | |
| gene_ids | Yes | Array of local gene names to compose (at least one required) | |
| strategy | No | Gene selection strategy (default: greedy) | |
| par_merge | No | Merge strategy for Par composition (default: first) | |
| agent_name | Yes | Agent name | |
| composition | No | Composition strategy (default: Seq for multi-gene, Single for one gene) | |
| project_root | No | Project root path (defaults to cwd) |