Core Concepts
Observability & Logging
Monitor and debug your AI agents with built-in observability features
SpinAI provides built-in observability features to help you monitor and debug your AI agents. By enabling logging, you can track agent interactions, performance metrics, and costs in real-time through the SpinAI dashboard.
Getting Started
To enable observability for your agents:
- Sign in to app.spinai.dev
- Create an organization
- Generate a SpinAI API key
Then, configure your agent with the API key and a unique agent ID:
What’s Being Tracked
When observability is enabled, SpinAI automatically tracks:
- Agent interactions and their outcomes
- Model usage and token consumption
- Cost metrics per interaction
- Response times and latency
- Evaluation steps and reasoning
- Action executions and their results
- Errors and failure cases
Viewing Logs
Visit app.spinai.dev to view your agent logs and metrics. The dashboard provides:
- Real-time monitoring of agent activities
- Detailed interaction histories
- Cost and performance analytics
- Error tracking and debugging tools
All interactions are grouped by agent ID, making it easy to monitor specific agents or use cases within your application.