How bostnishak/distributed-ai-dev-platform works
This is a local-first platform for turning requirements documents into structured specifications and dependency-ordered development tasks, with a browser UI, a master service, and pull-based member agents. The primary workflow is browser submission → document extraction and analysis by the master’s local Ollama model → task-plan storage → project/task display. The assistant is a separate, earlier chat feature using LiteLLM. Agent task execution, capability-based assignment, and integration are documented future work, not implemented runtime stages in the sampled code.
Main entry points: projects_api.py Project API · app.js UI navigation · agents_api.py Agent registry API · app.py FastAPI application
Components 22
Web interface
- UI navigation
master/static/js/app.js - Project views
master/static/js/projects.js - Agent view
master/static/js/agents.js - Chat view
master/static/js/assistant.js - Markdown rendering
master/static/js/markdown.js
Master service
- FastAPI application
master/app.py - Project API
master/projects_api.py - Agent registry API
master/agents_api.py - SQLite platform data
master/db.py
Requirements analysis
- Document extraction
master/extract.py - Specification and task planning
master/decompose.py - Master model client
master/llm.py
Agent network
- Member agent service
agent/agent.py - Model and host discovery
agent/model_info.py - Capability-based assignment
- Agent task execution
- Integration and review
Chat assistant
- Assistant API
master/assistant.py - Optional Python runner
master/assistant.py
Other components
- Team member
- Local Ollama
- LiteLLM gateway
gateway/litellm_config.yaml
Connections 26
- Team member → UI navigation: uses
README.md - UI navigation → Project views: routes to
master/static/js/app.js - UI navigation → Agent view: routes to
master/static/js/app.js - UI navigation → Chat view: routes to
master/static/js/app.js - Chat view → Markdown rendering: renders with
master/static/js/assistant.js - UI navigation → FastAPI application: requests
README.md - FastAPI application → Project API: mounts
master/app.py - FastAPI application → Agent registry API: mounts
master/app.py - FastAPI application → Assistant API: mounts
master/app.py - Project views → Project API: calls
master/static/js/projects.js - Agent view → Agent registry API: calls
README.md - Chat view → Assistant API: posts chat
master/static/js/assistant.js - Project API → Document extraction: extracts text
master/projects_api.py - Project API → Specification and task planning: analyzes and plans
master/projects_api.py - Project API → Master model client: supplies model call
master/projects_api.py - Master model client → Local Ollama: calls local API
master/llm.py - Project API → SQLite platform data: reads and writes
master/projects_api.py - Agent registry API → SQLite platform data: reads and writes
master/agents_api.py - Member agent service → Model and host discovery: collects capabilities
agent/agent.py - Member agent service → Agent registry API: registers with
README.md - Member agent service → Local Ollama: reads model data
README.md - Agent registry API → Capability-based assignment: planned registry input
README.md - Capability-based assignment → Agent task execution: planned dispatch
README.md - Agent task execution → Integration and review: planned results
README.md - Assistant API → LiteLLM gateway: calls chat API
master/assistant.py - Assistant API → Optional Python runner: dispatches optionally
master/assistant.py