MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / AgentResult

Class AgentResult

atomic-repository/src/ai/tools.rs:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121/// Final result of an agentic tool-use session.
122#[derive(Debug, Clone, Serialize, Deserialize)]
123pub struct AgentResult {
124 pub answer: String,
125 pub model: String,
126 pub total_usage: TokenUsage,
127 pub turns: u8,
128 pub tool_trace: Vec<ToolTraceEntry>,
129}
130
131/// Record of a single tool invocation for observability.
132#[derive(Debug, Clone, Serialize, Deserialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected