β‘ A Devin-style autonomous coding agent framework
Plan β Execute β Iterate with DAG-based workflows
SourceBot is an autonomous agent runtime that:
- Plans tasks as a DAG
- Executes them with tools + LLMs
- Maintains memory and state
- Supports retry, resume, and parallel execution
Most AI tools today are chat-based.
SourceBot is different.
It is built to plan, execute, and iterate β like a real developer.
- π§ Plans tasks using a DAG (not linear prompts)
- π§ Uses tools (shell, skills, APIs)
- π Retries, resumes, and replays execution
- πΎ Maintains memory across steps
- π³ Runs safely in sandboxed environments
This is not a chatbot. This is an agent runtime.
sourcebot init
sourcebot init_workspace
sourcebot cliβ‘ Example: Build a Python HTTP server autonomously
β‘ Demo is shortened for clarity
Unlike traditional agents:
Prompt β LLM β Response
SourceBot:
Task
β
Decomposition
β
DAG Graph
β
Parallel Execution
β
Tool + LLM Calls
β
State + Memory Update
β Parallelizable β Retryable β Resumable β Observable
- Modular architecture
- Identity + context system
- Multi-provider LLM abstraction
- Task decomposition
- Parallel scheduling
- Retry policies
- Run state persistence
- Partial replay
- Tool registry
- Shell execution
- Skill-based extensions
- Sliding window memory
- LLM-based summarization
- Persistent storage
- Interactive agent shell
- Safe runner
- Workspace bootstrap
- Docker isolation
- Safe tool execution
graph TD
U[User] --> CLI[CLI Interface]
CLI --> AR[Agent Runtime]
AR --> DP[DAG Planner]
DP --> TG[Task Graph]
TG --> DS[DAG Scheduler]
DS --> TE[Tool Executor]
DS --> LLM[LLM Clients]
TE --> SB[Docker Sandbox]
LLM --> MEM[Memory System]
SB --> MEM
MEM --> OUT[Output]
graph LR
A[User Task] --> B[Task Decomposition]
B --> C[DAG Generation]
C --> D[Parallel Execution]
D --> E[Tool Calls / LLM]
E --> F[State Update]
F --> G[Final Result]
sourcebot/
βββ bus/ # Event system
βββ cli/ # CLI interface
βββ config/ # Config system
βββ context/ # Context + skills
βββ conversation/ # Conversation layer
βββ docker_sandbox/ # Execution isolation
βββ llm/ # LLM abstraction
βββ memory/ # Memory system
βββ runtime/ # Agent + DAG engine
βββ tools/ # Tooling system
βββ session/ # Persistence
βββ utils/ # Utilities
git clone https://github.com/DavidVi2Bot/sourcebot.git
cd sourcebot
pip install -e .pip install -r requirements-dev.txt
pytest
black .
ruff check .- DAG execution engine
- Tool system
- CLI runtime
- Memory system
- Web UI (IDE-like)
- Multi-agent collaboration
- Plugin / marketplace system
- Long-term memory (vector DB)
- Remote execution / cloud runtime
SourceBot aims to become a general-purpose autonomous agent framework:
- π§βπ» Coding agents (Devin-style)
- βοΈ DevOps automation
- π¬ Research agents
- π Workflow orchestration
π§ Alpha β rapidly evolving
Expect breaking changes and fast iteration.
We welcome contributions!
- Bug reports
- Feature ideas
- Tools / skills
- Documentation improvements
If this project interests you, give it a β β it helps a lot!
MIT License
