agentle.agents.a2a.models.agent_usage_statisticsΒΆ

A2A Agent Usage Statistics Model

This module defines the AgentUsageStatistics class, which tracks token usage statistics for agent operations in the A2A protocol. It provides a way to monitor resource consumption during agent interactions.

Classes

AgentUsageStatistics(*, token_usage)

Tracks token usage statistics for agent operations.

BaseModel()

Alias for pydantic.BaseModel.

Usage(*[, prompt_tokens, completion_tokens])

Tracks and calculates token consumption in AI model interactions.