pub struct AgenticActivity {
pub turns: u64,
pub input_tokens: u64,
pub output_tokens: u64,
pub effects: u64,
pub replayed: u64,
pub tool_calls: u64,
pub steps_completed: u64,
pub steps_failed: u64,
pub suspensions: u64,
pub by_node: BTreeMap<String, AgentNodeActivity>,
}Expand description
Agent-level activity for one run, aggregated from the step events
(AgentTurnStarted, EffectCompleted, ToolCalled, Suspended,
AgentStepCompleted, …). Empty by_node means the run had no agent
steps — or predates their telemetry.
Fields§
§turns: u64Agent turns across all step nodes.
input_tokens: u64Prompt tokens consumed across all step nodes.
output_tokens: u64Completion tokens produced across all step nodes.
effects: u64Effects performed or replayed across all step nodes.
replayed: u64Of effects, how many were served from the journal (a resumed
or replayed run should be nearly all replays).
tool_calls: u64Tool invocations across all step nodes.
steps_completed: u64Step nodes that completed successfully.
steps_failed: u64Step nodes that completed failed.
suspensions: u64Suspended transitions observed across the run.
by_node: BTreeMap<String, AgentNodeActivity>Per-step-node breakdown, keyed by node id.
Trait Implementations§
Source§impl Clone for AgenticActivity
impl Clone for AgenticActivity
Source§fn clone(&self) -> AgenticActivity
fn clone(&self) -> AgenticActivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgenticActivity
impl Debug for AgenticActivity
Source§impl Default for AgenticActivity
impl Default for AgenticActivity
Source§fn default() -> AgenticActivity
fn default() -> AgenticActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgenticActivity
impl<'de> Deserialize<'de> for AgenticActivity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgenticActivity
impl RefUnwindSafe for AgenticActivity
impl Send for AgenticActivity
impl Sync for AgenticActivity
impl Unpin for AgenticActivity
impl UnsafeUnpin for AgenticActivity
impl UnwindSafe for AgenticActivity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more