Agents
Overview:
- Agents orchestrate tasks across tools (MCP), source control, and runtime APIs.
- The Admin Portal exposes an MCP marketplace (route:
/mcp.marketplace).
Capabilities:
- Execute commands and scripts (e.g., docs generation, provisioning).
- Read/write repository files and synchronize docs.
- Integrate with LLMs for planning, summarization, and code changes.
MCP Agent Automation:
- Detect schema/code changes and regenerate docs accordingly.
- Commit generated markdown to
apps/docs/docs/.... - Trigger deployments via GitHub or Wrangler.
Example workflow:
- Agent scans
packages/platform-core/srcfor API changes. - Agent runs
docs/scripts/generateDocs.tsto render MD. - Agent commits changes and runs the docs CI workflow.
Security:
- Scope agent permissions to the docs folder and specific scripts.
- Require approvals for production deployment triggers.