Expand description
Agent Facade API
High-level, ergonomic API for using A3S Code as an embedded library.
§Example
use a3s_code_core::Agent;
let agent = Agent::new("agent.hcl").await?;
let session = agent.session("/my-project", None)?;
let result = session.send("Explain the auth module", None).await?;
println!("{}", result.text);Structs§
- Agent
- High-level agent facade.
- Agent
Session - Workspace-bound session. All LLM and tool operations happen here.
- Session
Options - Optional per-session overrides.
- Tool
Call Result - Result of a direct tool execution (no LLM).