The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(tinyagents): extract run context into its own module
Steven Enamakel7262657a915e
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rsindex f886300d47..7c53b64800 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs@@ -89,6 +89,12 @@ pub struct LastTurnUsage {pub cached_input_tokens: u64,pub cost_usd: f64,pub context_window: u64,+ /// Tokens the root agent's context held after the turn's final model call+ /// (that call's input plus its reply): the numerator of the context-window+ /// gauge. The token fields above are the turn's spend, summed over every+ /// call, and may exceed the window many times over on a long tool loop.+ /// Sub-agents are excluded, as each runs in its own window.+ pub context_tokens: u64,pub subagents: Vec<SubagentUsageEntry>,/// Reasoning/thinking tokens the turn's own model calls spent. Reported/// only for a turn run with a response-shape scope (library agent turns,