Agent Observability for AutoGPT
AutoGPT plugin for structured logging, cost tracking, and compliance audit trails.
Installation
pip install agent-observability-autogpt
Setup
1. Get Your Free API Key
curl -X POST https://api-production-0c55.up.railway.app/v1/register \
-H "Content-Type: application/json" \
-d '{"agent_id":"my-autogpt"}'
2. Set Environment Variable
export AGENT_OBS_API_KEY=ao_live_your_key_here
3. Enable in AutoGPT
Add to your AutoGPT plugins configuration:
agent-observability-autogpt
What Gets Logged Automatically
| Event | When | Data |
|---|---|---|
task_started |
New instruction received | instruction preview |
command_executed |
After each command | command name, arguments |
agent_response |
Agent generates response | response length, preview |
planning |
Planning phase starts | prompt length, message count |
Manual Logging
Your AutoGPT agent can also log custom events:
from agent_observability_autogpt import AgentObservabilityPlugin
plugin = AgentObservabilityPlugin()
# Log an API call with cost
plugin.log_event(
event_type="api_call",
metadata={
"provider": "openai",
"model": "gpt-4",
"cost_usd": 0.03,
"latency_ms": 1200
}
)
# Log a decision
plugin.log_event(
event_type="decision",
metadata={
"decision": "use_web_search",
"reason": "need current information"
}
)
# Get task summary
summary = plugin.get_task_summary()
print(f"Task cost so far: ${summary['total_cost_usd']}")
print(f"Commands executed: {summary['commands_executed']}")
Features
- Automatic Logging: All commands and responses logged automatically
- Cost Tracking: Track spending per task
- Task Metrics: Elapsed time, command count, cumulative costs
- Compliance Ready: SOC 2, GDPR audit trail requirements
- Zero Configuration: Just set the API key
Pricing
| Tier | Logs/Month | Price |
|---|---|---|
| Free | 100,000 | $0 |
| Starter | 1,000,000 | $29/month |
| Professional | 10,000,000 | $199/month |
Related Packages
- agent-observability — Core Python SDK
- agent-observability-langchain — LangChain integration
- agent-observability-crewai — CrewAI integration
License
MIT License — see LICENSE for details.
Links
Metadata
Release files for agent-observability-autogpt 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent_observability_autogpt-1.2.1.tar.gz | 6.2 kB | Without provenance | Details for agent_observability_autogpt-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_observability_autogpt-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for agent_observability_autogpt-1.2.1-py3-none-any.whl |
Total release size: 13.0 kB
Release files / agent_observability_autogpt-1.2.1.tar.gz
| Download URL | agent_observability_autogpt-1.2.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bdb7284951c92545f1a508e4122539dbde4cd82c165d1bf52322e6dadd0f0bd
|
|
BLAKE2b-256 checksum How to use checksums |
4568f8a6ea626723af1980bddf442ce21550ad2de7eeb1381e3a1563cc3b0aec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / agent_observability_autogpt-1.2.1-py3-none-any.whl
| Download URL | agent_observability_autogpt-1.2.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb842456b108fdb33dc34d42ad4f99ce08a83b2c5c6cb7e8f313420c3a3dc77b
|
|
BLAKE2b-256 checksum How to use checksums |
9ad6de4d7b59805c3ad58510416f04dcfdb0c99385cef85f439f0f68eaacb3f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for agent-observability-autogpt 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.