1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! # 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`.