This task can be performed using AgentLens
See your AI agent's future before it fails.
Best product for this task

AgentLens
dev-tools
AgentLens is an open-source debugging toolkit for AI agents that enables offline recording, replay, failure analysis, and cost tracking. Built for developers who need efficient, local-first debugging without consuming API credits.

What to expect from an ideal product
- Record all agent interactions and API calls locally so you can analyze costs without burning through credits during debugging sessions
- Track token usage and expenses across different models and providers in real-time while your agents run offline
- Replay failed agent runs to identify where costs spike or performance drops without making new API requests
- Set up cost monitoring dashboards that work entirely on your machine to catch expensive operations before they drain your budget
- Compare performance metrics between different agent configurations using historical data stored locally on your system