Frequently Asked Questions
General
What is TraceAgent?
TraceAgent is an observability and tracing platform for AI agents. It captures tool calls, file operations, shell commands, and decision paths — giving you complete visibility into what your agents are doing.
Is TraceAgent open source?
Yes. TraceAgent is released under the MIT License. You can find the source code on GitHub.
What Python versions are supported?
TraceAgent requires Python 3.11+.
Installation
Can I install only the SDK without the server?
Yes. Each package is independent:
pip install trace-agent-sdk
The SDK sends events to any running TraceAgent server — you don't need to install the server on the same machine.
Does it work with virtual environments?
Yes. We recommend using venv, conda, or uv to manage your Python environment.
Server
What databases are supported?
- SQLite (default) — Zero configuration, great for development
- PostgreSQL — Recommended for production deployments
How do I change the database?
Set the TRACE_AGENT_DATABASE_URL environment variable:
# PostgreSQL
TRACE_AGENT_DATABASE_URL=postgresql://user:password@localhost:5432/traceagent
# SQLite (default)
TRACE_AGENT_DATABASE_URL=sqlite:///./data/trace_agent.db
Troubleshooting


The UI is not connecting to the server
- Verify the server is running:
curl http://localhost:8000/health - Check that
TRACE_AGENT_SERVER_URLpoints to the correct host - If using Docker, ensure the services are on the same network
I see "connection refused" errors
The server is not running or is on a different port. Check:
- Is the server process running?
- Is port 8000 available?
- Are you behind a firewall or proxy?
Events are not appearing in the UI
- Verify the SDK is pointing to the correct server URL
- Check that
run.finish()was called - Refresh the UI — some views require a page reload
Getting Help
Can't find what you're looking for? Open an issue on GitHub.