Skip to main content

TraceAgent FastAPI backend server.

Project description

TraceAgent Server

GitHub Release GitHub Stars GitHub License Tests Docker Build

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


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.3.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trace_agent_server-0.0.3-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

Details for the file trace_agent_server-0.0.3.tar.gz.

File metadata

  • Download URL: trace_agent_server-0.0.3.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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

Hashes for trace_agent_server-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bde82447e8917e0012d355b2b6f894cd3b6a02ec2ef4a979cc2f0dd143c2f1db
MD5 58c5e38c4e815010564867c9f69ecb7a
BLAKE2b-256 3b217aa0d1f0c9b35ba3873b97a8478bc6e929fd15600f6025edf8a0497db6b1

See more details on using hashes here.

File details

Details for the file trace_agent_server-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: trace_agent_server-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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

Hashes for trace_agent_server-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8295eb44ad5bdd270990ce59f0b020a3cd67cb6975284ce9416b82ca0eef549b
MD5 53abae67d99380749e605e5cf6c5873f
BLAKE2b-256 e5cd6bdf9d91c399bea8db8522fd4b6cc604c597cdc3a5003517fbcc76dbe6e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page