Baton is a local-first orchestration system designed to preserve semantic continuity across AI-assisted engineering workflows.
Modern AI systems are powerful at execution but weak at continuity. Context resets, architectural decisions disappear, and long debugging sessions fragment over time.
Baton exists to preserve:
Intent → Context → Execution → Memory → Continuity
Its architecture separates:
- Human → Strategic intent
- Laptop → Orchestration
- PC → Model hosting
- Memory → Persistence
- Agents → Specialized execution
- Observability → Cognitive visualization
Goal:
Reduce semantic drift, preserve reasoning continuity, and maintain architectural coherence during long AI-assisted workflows.
flowchart LR
U[User]
L[Laptop<br/>Orchestrator]
A[Agents]
M[(Memory)]
R[Runtime]
P[PC<br/>LLM Host]
UI[ProjSkep UI]
U -->|Intent| L
L --> A
A --> M
A --> R
R --> P
P --> R
R --> UI
UI --> U
The system distributes responsibility:
| Layer | Responsibility |
|---|---|
| User | Strategic intent |
| Laptop | Orchestration + routing |
| Agents | Task specialization |
| Memory | Retrieval + continuity |
| Runtime | Event execution |
| PC | Model inference |
| UI | Observability |
The laptop does not run heavy models.
Architecture:
Laptop:
Orchestration
Routing
Retrieval
Agent coordination
↓
PC:
LLM hosting
Inference
Model execution
↓
Memory:
Persistence
Continuity
Trace storageTraditional AI workflows fail because:
- Context resets between sessions
- Architectural decisions disappear
- Debugging arcs lose continuity
- Agents drift from established reasoning
- Long projects accumulate cognitive fragmentation
Baton attempts to preserve:
Intent
↓
Context
↓
Execution
↓
Memory
↓
ContinuityThe objective is not bigger models.
The objective is sustained reasoning.
baton/
│
├── agents/ # Specialized execution agents
├── configs/ # Runtime configuration
├── docs/ # Documentation
├── graphs/ # Topology/state graphs
├── memory/ # Persistence layer
├── retrieval/ # Context retrieval
├── runtime/ # Event execution
├── tasks/ # Task definitions
│
├── projskep_ui/ # Observability interface
├── projskep_server/ # Backend services
├── projskep_memory/ # Memory subsystem
│
├── orchestrator.py # Main routing logic
├── multi_agent.py # Agent coordination
├── watcher_agent.py # Filesystem monitoring
├── tools_agent.py # Tool execution
├── projskep_core.py # Core runtime
│
├── launch_dev.ps1 # Full stack boot
└── README.mdsequenceDiagram
participant U as User
participant O as Orchestrator
participant M as Memory
participant A as Agent
participant P as LLM Host
participant R as Runtime
participant UI as Interface
U->>O: Intent
O->>M: Retrieve context
M-->>O: Relevant state
O->>A: Execute task
A->>P: Inference
P-->>A: Response
A->>R: Update runtime
R->>UI: Visualize
UI-->>U: Feedback
Execution becomes observable.
Reasoning becomes traceable.
graph TD
E[Event]
R[Retrieve Context]
A[Agent Execution]
O[Output]
T[Trace]
M[(Memory)]
F[Future Sessions]
E --> R
R --> A
A --> O
O --> T
T --> M
M --> F
Every execution becomes future context.
The system accumulates continuity instead of restarting cognition.
Bounded context outperforms unbounded context.
The system retrieves relevant state rather than maximizing tokens.
Architectural decisions persist across sessions.
Reasoning becomes cumulative.
Filesystem changes, runtime events, and user actions trigger execution.
Complex systems become manageable when cognition is visible.
Only relevant agents activate for a given task.
Reduce noise.
Increase signal.
Start the full stack:
./launch_dev.ps1This boots:
- Backend services
- Agent runtime
- WebSocket bus
- Retrieval systems
- Memory services
- Observability UI
- Health monitoring
Implemented:
- Multi-agent runtime
- Retrieval layer
- Memory persistence
- Orchestration core
- Event watcher
- ProjSkep integration
- Agent coordination
In Progress:
- Forensic replay engine
- Adaptive telemetry
- Agent negotiation visualization
- Advanced topology mapping
- Runtime diagnostics
Planned:
- Distributed execution
- Long-horizon memory optimization
- Visual reasoning replay
- Multi-host orchestration
User:
"Debug this failing VST3 build"
↓
Retrieve:
Previous traces
Architecture decisions
Related files
↓
Agent:
Analyze
Execute
Reason
↓
Model Host:
Inference
↓
Runtime:
Update state
↓
Memory:
Store trace
↓
Future:
Faster reasoning
Preserved continuityTraditional IDE:
Human → CodeBaton:
Human
↓
Intent
↓
Agents
↓
Memory
↓
Runtime
↓
Models
↓
Feedback
↓
PersistenceThe system becomes an external cognitive layer rather than a temporary assistant.
Complexity is managed through observability.
The goal is not replacing human reasoning.
The goal is preserving it.
Built by:
@swappy-ops