TraceAgent FastAPI backend server.
Project description
TraceAgent Server
FastAPI backend for TraceAgent. Stores runs, generates timelines, execution graphs, and explanations.
Install
pip install trace-agent-server[providers]
Run
# With the included CLI
trace-agent-server --host 0.0.0.0 --port 8000
# Or directly with uvicorn
uvicorn trace_agent_server.main:app --reload
Environment variables
| Variable | Default | Description |
|---|---|---|
TRACE_AGENT_DATABASE_URL |
sqlite:///./trace_agent.db |
Database URL (SQLite or PostgreSQL) |
TRACE_AGENT_OPENAI_API_KEY |
- | OpenAI API key |
TRACE_AGENT_OPENAI_BASE_URL |
- | OpenAI-compatible base URL (e.g. LM Studio) |
TRACE_AGENT_AUDIT_ENABLE_GUARDRAILS |
false |
Enable prompt injection and PII checks |
TRACE_AGENT_AUDIT_METRICS_ENABLED |
true |
Expose Prometheus /metrics endpoint |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trace_agent_server-0.0.2.tar.gz
(51.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trace_agent_server-0.0.2.tar.gz.
File metadata
- Download URL: trace_agent_server-0.0.2.tar.gz
- Upload date:
- Size: 51.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6350f5f43f118ba38eb71fd50d63cfc522e408613ca91186d6d5bb8aa27fc8a6
|
|
| MD5 |
94308c34a2b1b5ebcdda3fce2fb01dd5
|
|
| BLAKE2b-256 |
9f156f1be7ab51cc8cab8f1d85530ecee1bc21d27798c481b85f5e23f3e89709
|
File details
Details for the file trace_agent_server-0.0.2-py3-none-any.whl.
File metadata
- Download URL: trace_agent_server-0.0.2-py3-none-any.whl
- Upload date:
- Size: 45.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48511c7df20793c60a1a95352df848a10020bf44ccd2d9f3d05b0f709c208b37
|
|
| MD5 |
5d000b9c68eb9f910529c09d502e6f7e
|
|
| BLAKE2b-256 |
280acf0ef319ef9379dea28acf3bb395118d0ee27cc61268ba1c3d9ed2c8ab67
|