Skip to main content

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:

  1. Agent scans packages/platform-core/src for API changes.
  2. Agent runs docs/scripts/generateDocs.ts to render MD.
  3. 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.