Skip to content

Components ​

Detailed breakdown of each system component.

API Server ​

The API Server is the central hub that manages all data and orchestrates the development pipeline.

Key Services ​

ServiceResponsibility
PollingOrchestratorTask scheduling, dispatch, reconciliation
AgentGatewayAgent protocol abstraction and routing
WorkflowPolicyManagerWORKFLOW.md lifecycle management
BuildTestRunnerBuild/lint/test execution (local or Docker)
GateScoreCalculator7-dimension quality scoring
GitManagerBranch, commit, PR management
RuntimeRegistryDaemon registration and selection
PlanGeneratorAI-powered plan creation
EventBusRedis Streams event publishing

API Routes ​

PrefixResource
/api/v1/authAuthentication (login, register)
/api/v1/workspacesWorkspace CRUD + members
/api/v1/projectsProject CRUD
/api/v1/requirementsRequirement CRUD + AI analysis
/api/v1/plansPlan generation + approval
/api/v1/executionsExecution lifecycle
/api/v1/gatesQuality gate review
/api/v1/runtimesDaemon registration + task dispatch
/api/v1/budgetBudget queries
/api/v1/workflowsWorkflow policy management

Runtime Daemon ​

The daemon is a standalone Python process that runs on developer machines.

Subcomponents ​

ComponentRole
AgentDiscoveryScans PATH for AI agent CLIs
WorkspaceManagerCreates git worktrees per task
ProcessManagerManages agent subprocess lifecycle
HeartbeatServicePeriodic health reporting
TaskPollerPolls server for assigned tasks
ProgressReporterReports progress and completion

Agent Support ​

AgentInvoke ModeCompatibility
Claude Codeprint mode / app serverL3 (full)
CodexApp serverL3 (full)
GitHub CopilotCLI JSON streamL3 (full)
Gemini CLICLIL1
OpenCodeCLIL2
Kimi CodeCLIL2
MiMo Coderun --format jsonL2 (explicit selection only)
Qwen Codestream-jsonL2 (explicit selection only)
CodeBuddystream-jsonL2 (explicit selection only)
Qoder CLIstream-jsonL2 (explicit selection only)
TraeCode CLIexec --jsonL2 (explicit selection only; real-account live gate pending)
ZCodeapp-server bidirectional NDJSON protocolL2 experimental (explicit selection only; approved build and live gate pending)
DeepSeek Harness--profile headless --patch <overlay> --json, prompt on stdinL2 developer preview (explicit personal Runtime; exact 0.2.0-rc.2 + build acceptance)
MiniMax Codeexec --input - --output-format stream-json --prompt-mode coding --permission smartL2 (explicit owned personal Runtime; reviewed 0.7.0 / compatible 0.6.13; build/profile acceptance)

There are fourteen integrations. Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, and Kimi Code are the six standard automatic-routing candidates. MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, DeepSeek Harness, and MiniMax Code are explicit-only; automatic routing/default fallback exclude all eight. Per-machine readiness remains separate from the product count.

Task Lifecycle (Daemon Side) ​

DeepSeek Harness (deepseek) is an explicit integration. Its shared strict runner uses a managed home, external read-only auth reference, workspace-write/never preset, outer write sandbox, configuration-bound native resume and cancellation-intent supervision. Committed JSONL is not token streaming. It is excluded from shared pools and automatic/default fallback routing; image/fork/read-only review/parallel capabilities remain off. See Harness installation.

MiniMax Code (minimax) uses one strict schema-v1 runner across Host, Daemon, Gateway and inline strategy. It validates ordered identities, final result plus exit/cleanup, exact native resume and optional usage. A private profile, one-writer lock and build/config fingerprint protect execution ownership; direct server calls additionally require the authenticated User/profile owner match. Images, parallel/read-only modes, sensitive external evidence and Windows/WSL are not enabled. See MiniMax installation.

  1. Poll server for assigned tasks
  2. Prepare workspace (clone/worktree)
  3. Execute agent with rich prompt
  4. Collect git diff stats
  5. Auto-commit and push changes
  6. Report completion with metrics

Frontend ​

React 19 single-page application with Ant Design.

Pages ​

PagePurpose
ProjectsProject management
RequirementsRequirement CRUD + AI analysis
Board5-column Kanban board
ExecutionsPipeline visualization
GatesQuality gate review
WorkflowWORKFLOW.md editor
BudgetUsage tracking
RuntimesDaemon monitoring
SettingsConfiguration

Forgexa — AI Software Factory