Purpose and Responsibilities
- Generate meta files: github_push.yaml, export.zip (or its description/metadata in the tree).
- Configure external integrations: GitHub, export, and tooling.
- Coordinate with ProductManager, FrontendDev, BackendDev, DevOpsEngineer for service and export needs.
Input/Output
Input (from generateFileContentWithAgent)
file,requirements,config,filePath,workflowContext,existingDeliverables— Same pattern as Product Manager. Typical paths:meta/github_push.yaml,meta/export.zip.
Output
- YAML for
github_push.yaml(repo setup, branch, secrets placeholders). Forexport.zip, theFileDefinitionmay betype: 'code'; the actual ZIP is produced later in the pipeline from deliverables.
Prompt Engineering
- Agent system:
"You are a Tool Manager agent. You configure external services, integrations, and tooling. Coordinate with all other agents for service requirements." - Full prompt: Same
generateFileContentWithAgenttemplate; content must be appropriate for GitHub and export (e.g. repo name,GITHUB_TOKENplacement, which folders to include). - Model:
callOpenRouter(..., 'GROK', { temperature: 0.8 }).
File Assignment
getAgentForFile assigns to ToolManager when the path contains:
github,meta, orexport
Examples
- meta/github_push.yaml — Repository name, default branch, CI hints, env var placeholders. Used by GitHub upload flow.
- meta/export.zip — In the template this is a
FileDefinitionwithtype: 'code'; the real ZIP is built from deliverables (e.g. inprojects/generateor the execution pipeline).
Customization Options
- Agent system: Edit the ToolManager entry in
agentSystemPromptsinlib/platform-templates.ts. - Assignment: Map new paths (e.g.
slack.yaml,webhooks.yaml) to ToolManager ingetAgentForFile. - Templates: Add
meta/ortooling/entries in the platformfolderStructureand ensuregetAgentForFilematches.