How bjornmelin/codeforge works
CodeForge AI accepts a natural-language idea or PRD and aims to coordinate agents that research, debate, generate, and assess code. The README describes a LangGraph orchestrator, task management, model routing, shared state, and GraphRAG+ retrieval; the excerpts confirm implementations for routing, debate, state, configuration, and retrieval, but not the main workflow entry point or several named agents. The graph therefore uses README-documented links for those areas. Phase-two capabilities are also documented, but their implementation is not established by the sampled source.
Main entry points: router.py Model router · main.py Workflow orchestrator · tools.py GraphRAG+ retrieval · debate.py Debate agents
Components 22
Workflow orchestration
- Workflow orchestrator
main.py - Task manager
state.py - Model router
router.py - Runtime settings
config.py - Kubernetes scaling
README.md
Agent capabilities
- Task analyzer
main.py - Research agent
main.py - Debate agents
debate.py - Code agent
main.py - Quality agent
main.py - Vision support
README.md - Extended debate
README.md - Federated learning
README.md
Retrieval and state
- GraphRAG+ retrieval
tools.py - Shared workflow state
state.py - Sparse embeddings
README.md
External services
- Qdrant vector store
- Neo4j graph store
- Tavily web search
- OpenRouter models
Other components
- Idea or PRD
- Generated code
Connections 24
- Idea or PRD → Workflow orchestrator: submits task
README.md - Workflow orchestrator → Task manager: coordinates tasks
README.md - Workflow orchestrator → Model router: routes work
README.md - Model router → Task analyzer: dispatches
README.md - Model router → Research agent: dispatches
README.md - Model router → Debate agents: dispatches
README.md - Model router → Code agent: dispatches
README.md - Model router → Quality agent: dispatches
README.md - Workflow orchestrator → Generated code: produces
README.md - Debate agents → Model router: requests models
debate.py - Debate agents → Shared workflow state: updates messages
debate.py - GraphRAG+ retrieval → Qdrant vector store: queries and writes
tools.py - GraphRAG+ retrieval → Neo4j graph store: queries and writes
tools.py - GraphRAG+ retrieval → Tavily web search: searches on fallback
tools.py - Research agent → GraphRAG+ retrieval: retrieves context
README.md - Model router → OpenRouter models: invokes models
router.py - Model router → Runtime settings: reads settings
router.py - GraphRAG+ retrieval → Runtime settings: reads settings
tools.py - Workflow orchestrator → Shared workflow state: shares context
README.md - Vision support → Workflow orchestrator: extends workflow
- Sparse embeddings → GraphRAG+ retrieval: extends retrieval
- Extended debate → Debate agents: extends debate
- Federated learning → Shared workflow state: personalizes models
- Kubernetes scaling → Workflow orchestrator: scales agents