A3S Code Core Library
Harness-driven runtime for coding agents.
Agent and AgentSession are the primary 2.0 API. Lower-level session
runtime state is internal; persistence data flows through store::SessionData.
Quick Start
use ;
# async
Architecture
Agent (config-driven facade)
+-- AgentSession (workspace-bound execution API)
+-- internal turn runner
+-- ContextAssembler / ContextProvider
+-- ToolSelector
+-- ToolExecutor
+-- ProgramExecutor (PTC)
+-- SkillRegistry
+-- Permission / confirmation
+-- Trace / artifacts / verification evidence
Advanced infrastructure:
+-- optional lane queues for explicit external/hybrid dispatch
+-- Orchestrator for direct SubAgent lifecycle control