How vishal0205/multi-agent-coding-assistant works
This is a multi-agent coding assistant: a user submits a Python task, independent test and solution generation feed a sandboxed execution loop, and results are presented and persisted. The graph distinguishes workflow stages from the agent/runtime layer and includes the documented Streamlit, checkpoint, and history capabilities. The test-generator implementation is not present in the supplied tree or excerpts, so its path is unknown; its role and Groq integration come from the README.
Main entry points: graph_agent.py LangGraph workflow · streamlit_app.py Streamlit interface · agent.py Gemini code agent · logger.py Task history logs
Components 16
User interface
- Streamlit interface
streamlit_app.py
Task workflow
- LangGraph workflow
graph_agent.py - Test generation stage
graph_agent.py - Solution generation stage
graph_agent.py - Execution stage
graph_agent.py - Repair stage
graph_agent.py
Generation agents
- Independent test generator
- Gemini code agent
agent.py - Secret configuration
config.py
Execution and persistence
- Docker sandbox runner
agent.py - SQLite checkpoints
graph_agent.py - Task history logs
logger.py
Other components
- Task submitter
- Gemini API
- Groq API
- Docker runtime
Connections 17
- Task submitter → Streamlit interface: submits task
README.md - Streamlit interface → LangGraph workflow: invokes workflow
streamlit_app.py - LangGraph workflow → Test generation stage: routes first
graph_agent.py - Test generation stage → Independent test generator: requests tests
graph_agent.py - Independent test generator → Groq API: generates tests
README.md - LangGraph workflow → Solution generation stage: routes next
graph_agent.py - Solution generation stage → Gemini code agent: requests solution
graph_agent.py - Gemini code agent → Secret configuration: gets API key
agent.py - Gemini code agent → Gemini API: generates code
agent.py - LangGraph workflow → Execution stage: routes execution
graph_agent.py - Execution stage → Docker sandbox runner: runs code and tests
graph_agent.py - Docker sandbox runner → Docker runtime: runs container
agent.py - LangGraph workflow → Repair stage: routes failures
graph_agent.py - Repair stage → Gemini code agent: requests repair
graph_agent.py - LangGraph workflow → SQLite checkpoints: persists state
graph_agent.py - Streamlit interface → Task history logs: saves result
streamlit_app.py - Streamlit interface → Task history logs: loads history
streamlit_app.py