kernel_agents_factory_finalize
Validates proposed tools against the real catalog, resolves or creates the target office, blocks duplicates, and creates the agent inactive for human review. Returns the activation command.
Instructions
Finalize an Agent Factory draft: validate the proposed tools against the real catalog, resolve/create the target office, guard against duplicates, and create the agent INACTIVE (active=0) for human review. Returns the activation command. Use AFTER you've researched the domain, synthesized the system prompt, and picked tools via kernel_tool_search.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"system_prompt": "<system_prompt>"
},
"name": "kernel_agents_factory_finalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short human agent name, 2-4 words | |
| brief | No | Original domain brief — stored on the agent for provenance. | |
| provider | No | LLM provider override; default = system default | |
| tool_ids | No | Candidate tool names from kernel_tool_search. Hallucinated/unknown names are dropped automatically. | |
| flow_name | No | Target office (flow) name. Resolved case-insensitively; created if missing. Default: 'No office'. | |
| rationale | No | One line: why these tools / this design | |
| description | No | One-line description of what the agent does | |
| goal_template | No | Default goal prompt for runs; may use {{variables}} | |
| system_prompt | Yes | Full synthesized system prompt governing the agent | |
| __caller_agent_id | No | [internal] injected by the agent executor when this tool is invoked from an agent run. Not meant to be set by external callers. |