Expand description
perspt-agent: SRBN Orchestrator and Agent logic
Implements the Stabilized Recursive Barrier Network for multi-agent coding.
Re-exports§
pub use agent::ActuatorAgent;pub use agent::Agent;pub use agent::ArchitectAgent;pub use agent::SpeculatorAgent;pub use agent::VerifierAgent;pub use context_retriever::ContextRetriever;pub use context_retriever::SearchHit;pub use ledger::MerkleCommit;pub use ledger::MerkleLedger;pub use lsp::DocumentSymbolInfo;pub use lsp::LspClient;pub use orchestrator::SRBNOrchestrator;pub use test_runner::PythonTestRunner;pub use test_runner::TestFailure;pub use test_runner::TestResults;pub use test_runner::TestRunner;pub use tools::AgentTools;pub use tools::ToolCall;pub use tools::ToolDefinition;pub use tools::ToolResult;
Modules§
- agent
- Agent Trait and Implementations
- context_
retriever - Context Retriever
- ledger
- DuckDB Merkle Ledger
- lsp
- Native LSP Client
- orchestrator
- SRBN Orchestrator
- test_
runner - Python Test Runner
- tools
- Agent Tooling
- types
- SRBN Types (Re-exported from perspt-core)
Structs§
- Agent
Context - Agent context containing workspace state
- Agent
Message - Agent message in conversation history
- Behavioral
Contract - Behavioral contract for a node
- Energy
Components - Energy components for Lyapunov calculation
- Planned
Contract - Contract specified in the plan
- Planned
Task - A planned task from the Architect
- Planned
Test - A test case in the plan
- Retry
Policy - Retry policy configuration per PSP-4 specification
- SRBN
Node - SRBN Node - the fundamental unit of control
- Session
Record - Record for a session
- Stability
Monitor - Stability monitor for tracking Lyapunov Energy
- Task
Plan - Structured task plan from Architect Output as JSON for reliable parsing
- Token
Budget - Token budget tracking for cost control
- Weighted
Test - Weighted test definition
Enums§
- Criticality
- Test criticality levels for weighted tests
- Error
Type - Error type for determining retry limits per PSP-4
- Model
Tier - Model tier for different agent roles
- Node
State - Node execution state (from PSP state machine)
- Task
Type - Task type classification for planning