How raushan291/autodev works
AutoDev turns a feature request into a coordinated engineering workflow: retrieve repository and session context, plan agent actions, then generate or edit code, review it, test it, and conditionally deploy it. The Streamlit UI enters through app/main.py, which initializes the agents, indexes, and workflow. The README describes end-to-end design/build/review/test/deploy; the graph also preserves repository indexing, persistent sessions, file operations, and GitHub deployment. Workflow excerpts establish key dispatches; links to unsampled agent internals are omitted where their callers are not visible.
Main entry points: feature_delivery_workflow.py Feature delivery · a2a_bus.py Agent message bus · main.py System assembly · vector_store.py Vector store
Components 22
User entry
- Streamlit UI
ui/streamlit_app.py
Workflow orchestration
- System assembly
app/main.py - Feature delivery
app/workflows/feature_delivery_workflow.py - Agent message bus
app/communication/a2a_bus.py
Engineering agents
- Task planning
app/agents/planner_agent.py - Assistant responses
app/agents/assistant_agent.py - Code generation
app/agents/codegen_agent.py - Code review
app/agents/review_agent.py - Test execution
app/agents/testing_agent.py - File operations
app/agents/file_manager_agent.py
Context and memory
- Context retrieval
app/agents/rag_agent.py - Repository indexing
app/rag/repo_indexer.py - Generated-code indexing
app/rag/code_indexer.py - Session context indexing
app/rag/context_indexer.py - Vector store
app/rag/vector_store.py - Session history
app/storage/session_store.py
Tools and deployment
- Gemini model API
app/tools/gemini_client.py - GitHub deployment
app/agents/deploy_agent.py - Git and GitHub manager
app/tools/github_manager.py - GitHub operations
app/tools/github_tool.py - Terminal execution
app/tools/terminal_tool.py
Other components
- Feature requester
Connections 38
- Feature requester → Streamlit UI: submits feature
README.md - Streamlit UI → System assembly: starts workflow
ui/streamlit_app.py - System assembly → Feature delivery: creates
app/main.py - System assembly → Agent message bus: registers agents
app/main.py - System assembly → Repository indexing: indexes repository
app/main.py - System assembly → Generated-code indexing: creates indexer
app/main.py - System assembly → Session context indexing: creates indexer
app/main.py - System assembly → Vector store: creates store
app/main.py - System assembly → Session history: creates store
app/main.py - Feature delivery → Session history: persists history
app/workflows/feature_delivery_workflow.py - Feature delivery → Session context indexing: indexes queries
app/workflows/feature_delivery_workflow.py - Feature delivery → Agent message bus: dispatches work
app/workflows/feature_delivery_workflow.py - Agent message bus → Task planning: routes messages
- Agent message bus → Context retrieval: routes messages
- Agent message bus → Code generation: routes messages
- Agent message bus → Code review: routes messages
- Agent message bus → Test execution: routes messages
- Agent message bus → File operations: routes messages
- Agent message bus → Assistant responses: routes messages
- Agent message bus → GitHub deployment: routes messages
- Feature delivery → Generated-code indexing: indexes generated files
app/workflows/feature_delivery_workflow.py - Feature delivery → Code review: requests review
app/workflows/feature_delivery_workflow.py - Feature delivery → Test execution: runs tests
app/workflows/feature_delivery_workflow.py - Feature delivery → GitHub deployment: deploys after tests
app/workflows/feature_delivery_workflow.py - Feature delivery → File operations: dispatches operations
app/workflows/feature_delivery_workflow.py - Feature delivery → Assistant responses: requests response
app/workflows/feature_delivery_workflow.py - Context retrieval → Vector store: searches code
app/agents/rag_agent.py - Context retrieval → Session context indexing: searches contexts
app/agents/rag_agent.py - Repository indexing → Vector store: stores repository
- Generated-code indexing → Vector store: stores code
- Session context indexing → Vector store: stores contexts
app/rag/context_indexer.py - Task planning → Gemini model API: requests planning
app/agents/planner_agent.py - Assistant responses → Gemini model API: requests response
app/agents/assistant_agent.py - Code generation → Gemini model API: generates code
app/agents/codegen_agent.py - Code review → Gemini model API: scores code
app/agents/review_agent.py - GitHub deployment → Git and GitHub manager: manages deployment
app/agents/deploy_agent.py - Git and GitHub manager → GitHub operations: executes operations
app/tools/github_manager.py - Test execution → Terminal execution: runs commands
app/agents/testing_agent.py