How anubhab7105/assembly works
Assembly is a multi-agent research workspace: a user submits a question and time budget, the backend coordinates independent model responses and checks disagreements, then returns a synthesized answer with available sources and uncertainty. The graph preserves the documented planning, solving, challenge/research, synthesis, provider, and UI stages. Some internal links are supported by the README or SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: orchestrator.py Run orchestrator · api FastAPI endpoints · providers/router.py Model router · research/router.py Web research
Components 20
User experience
- Web workspace
frontend/src/app - API client
frontend/src/lib/api-client.ts
API and execution
- FastAPI endpoints
src/api
Agent orchestration
- Run orchestrator
src/orchestration/orchestrator.py - Task planner
src/orchestration/planner.py - Budget control
src/orchestration/budget_controller.py - Capacity checks
src/orchestration/capacity.py - Agent manager
src/orchestration/agent_manager.py - Independent agents
src/agents/base_agent.py - Consensus scoring
src/orchestration/consensus.py - Debate and challenge
src/orchestration/debate.py - Answer synthesis
src/agents/synthesizer.py
Providers and research
- Web research
src/research/router.py - Content sanitizer
src/research/sanitize.py - Model router
src/providers/router.py
Keys and local state
- Key storage
src/core/keystore.py - Local SQLite
src/database/base.py
Other components
- User
- Model APIs
- Search services
Connections 22
- User → Web workspace: submits question
README.md - Web workspace → API client: uses API
README.md - API client → FastAPI endpoints: REST and events
README.md - FastAPI endpoints → Run orchestrator: starts runs
README.md - Run orchestrator → Task planner: plans roles
src/orchestration/orchestrator.py - Run orchestrator → Budget control: enforces budget
src/orchestration/orchestrator.py - Run orchestrator → Capacity checks: checks capacity
src/orchestration/orchestrator.py - Run orchestrator → Agent manager: manages agents
src/orchestration/orchestrator.py - Task planner → Model router: selects models
README.md - Agent manager → Independent agents: runs independently
src/orchestration/agent_manager.py - Independent agents → Model router: requests completions
src/agents/base_agent.py - Model router → Model APIs: calls providers
README.md - Run orchestrator → Consensus scoring: scores responses
src/orchestration/orchestrator.py - Run orchestrator → Debate and challenge: runs challenges
src/orchestration/orchestrator.py - Run orchestrator → Web research: requests research
src/orchestration/orchestrator.py - Web research → Search services: searches web
README.md - Web research → Content sanitizer: sanitizes content
src/research/sanitize.py - Run orchestrator → Answer synthesis: synthesizes answer
src/orchestration/orchestrator.py - Answer synthesis → Web workspace: returns answer
README.md - FastAPI endpoints → Key storage: manages keys
src/main.py - Model router → Key storage: reads credentials
src/providers/router.py - FastAPI endpoints → Local SQLite: uses local storage
README.md