Expand description
§synwire-agent
Agent runtime implementations for Synwire — the concrete backend layer.
This crate provides real implementations of the agent runtime traits defined
in synwire-core, wiring abstract capabilities to live backends and services.
§Key modules
| Module | Purpose |
|---|---|
vfs | VFS providers (LocalProvider, MemoryProvider, CompositeProvider) |
sandbox | Process sandboxing, isolation, and output capture |
middleware | Request/response middleware pipeline for agent execution |
strategies | Execution strategies (single-pass, iterative, FSM-based) |
mcp | MCP client transport and tool bridge |
sampling | SamplingProvider implementations for tool-internal LLM access |
session | Session lifecycle, persistence, and resumption |
sbfl | Spectrum-based fault localisation for diagnostic ranking |
dataflow | Intra-procedural dataflow analysis over indexed code |
call_graph | Call-graph construction and traversal |
experience | Experience pool storage and retrieval |
experience_sampling | Sampling strategies over the experience pool |
tools | Agent-level tool implementations |
All I/O operations are async-first. This crate compiles with zero unsafe.
Modules§
- call_
graph - Dynamic call graph construction via LSP goto-definition.
- dataflow
- Dataflow retrieval: trace variable origins via tree-sitter heuristics.
- experience
- Project-local and global experience pool.
- experience_
sampling - Experience pool summary generation via sampling.
- mcp
- MCP transport implementations.
- middleware
- Middleware implementations.
- sampling
- Direct model sampling provider.
- sandbox
- Sandbox implementations for command execution, process management, and archive handling.
- sbfl
- Spectrum-Based Fault Localization (SBFL) using Ochiai scoring.
- session
- Session management implementations.
- strategies
- Execution strategy implementations.
- tools
- Pre-built tool providers for common coding agent patterns.
- vfs
- VFS provider implementations.