← Open Source

Zero-code LLM security & observability proxy. Real-time prompt injection detection, PII scanning, and cost control for OpenAI-compatible APIs. Built in Rust.

InfrastructureObservabilityGatewayPython
Momentum
+0stars in 24 hours0.0%
54
Stars
2
Forks
+0
This week
4
Contributors
Created 2026-01-31 · Updated 2026-11-02 · #26778 today
Top developers
epappasgeopolitis
README

LLMTrace

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.

Where the code lives

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 traits
  • crates/llmtrace-python — the optional llmtracing Python tracing helper
  • docs/ — the documentation site
  • deployments/, 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.

Quickstart (self-host)

cp config.example.yaml config.yaml   # set upstream_url + your provider key
docker compose up -d

Then 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).

Optional Python tracing helper

pip install llmtracing
import llmtrace

llmtrace.configure(endpoint="http://localhost:8080")

See examples/ for Python, Node.js, and curl integrations.

Managed service

llmtrace.io offers LLMTrace as a managed service: per-tenant instances, provisioning, key management, and SLO dashboards.

Documentation

Full docs at docs.llmtrace.io — getting started, configuration catalogue, integration guides, deployment, and operations.

License

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.

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store