LLMTrace is a drop-in security and observability gateway for AI agents and LLM applications. Point your OpenAI-compatible client at the proxy and get prompt-injection detection, PII protection, tracing, and cost control in front of OpenAI, Anthropic, or any provider — with no SDK changes.
From v0.4.0 the LLMTrace engine (proxy, security analyzers, dashboard) is developed privately and distributed as public container images under the Elastic License 2.0: free to run, self-host, and use commercially; not to be offered as a competing managed service.
This repository hosts everything a user needs, under MIT:
crates/llmtrace-core— core types and traitscrates/llmtrace-python— the optionalllmtracingPython tracing helperdocs/— the documentation sitedeployments/,examples/,config.example.yaml— install paths and configuration references
Versions up to and including v0.3.0 remain MIT as shipped (crates.io
llmtrace 0.3.0 is the last MIT release of the engine). Issues and
questions are welcome here.
cp config.example.yaml config.yaml # set upstream_url + your provider key
docker compose up -dThen point your client at the proxy — no code changes beyond the base URL:
from openai import OpenAI
client = OpenAI(
api_key="sk-...", # your provider key
base_url="http://localhost:8080/v1", # the LLMTrace proxy
)The dashboard runs at http://localhost:3000. For the full production
stack (ClickHouse, Postgres, Redis, monitoring) see
deployments/docker-compose/ and the deployment docs.
Images: ghcr.io/techlab-innov/llmtrace-proxy and
ghcr.io/techlab-innov/llmtrace-dashboard (tags: latest, main, and
version tags from 0.3.0).
pip install llmtracingimport llmtrace
llmtrace.configure(endpoint="http://localhost:8080")See examples/ for Python, Node.js, and curl integrations.
llmtrace.io offers LLMTrace as a managed service: per-tenant instances, provisioning, key management, and SLO dashboards.
Full docs at docs.llmtrace.io — getting started, configuration catalogue, integration guides, deployment, and operations.
This repository: MIT. The LLMTrace engine from v0.4.0: Elastic License 2.0, distributed as container images. Engine versions up to and including v0.3.0: MIT as shipped.