Skip to main content

ForgeSight

Instrument any AI agent in a few lines — then ship traces, cost, metrics, evals, budgets, and a tamper-evident audit trail to any backend by changing one line of config. OpenTelemetry-first. Vendor-neutral. Never an agent-code change.

License Python

▶️ See the 30-second demo — instrument an agent and watch the trace, cost, and a verified tamper-evident audit trail appear.

forgesight is the batteries-included facade — the package most people install.

pip install "forgesight[otel]"
import forgesight
from forgesight import telemetry

forgesight.configure(exporters=["otel"])          # pick a backend by name — that's it

with telemetry.agent_run("pr-reviewer", version="2.1.0", metadata={"team": "platform"}) as run:
    with run.llm_call("anthropic", "claude-sonnet-4-5") as call:
        resp = await client.messages.create(...)
        call.record_usage(input=resp.usage.input_tokens, output=resp.usage.output_tokens)
    with run.tool_call("github_get_diff"):
        diff = gh.get_diff(pr)

Cost, token usage, trace nesting, metrics, and multi-backend fan-out come for free. Swap otellangfuse, datadog, clickhouse, prometheus — the agent code never moves.

What you get

  • 🔌 Vendor-neutral. The core depends on no backend or model-provider SDK. Backends are packages you install and select by config.
  • 📐 OpenTelemetry-first. GenAI semantic conventions, so any OTLP backend works with no dedicated package.
  • 💰 Cost built in. Token usage → USD via a pluggable pricing table — the same number everywhere — plus live attribution by team and pre-call budget projection.
  • 🚦 Non-blocking & fault-isolated. Export runs on a background worker; a backend outage never breaks a run.
  • 🔒 Secure by default. Content capture is opt-in; redaction runs before export.
  • 🧾 Accountability. A tamper-evident, hash-chained audit trail with a compliance query/export surface.

Install backends & integrations as extras

pip install "forgesight[otel]"                      # one backend (OTLP → any OTel platform)
pip install "forgesight[otel,langfuse,datadog]"     # several
pip install "forgesight[all]"                       # everything except the heavy CrewAI tree

Extras: otel · prometheus · langfuse · clickhouse · datadog · mcp · fastapi · github · governance · eval · registry · audit · adapters-langgraph · adapters-crewai. Installing a package enables a backend; config selects it.

Docs

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forgesight-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

forgesight-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file forgesight-0.1.1.tar.gz.

File metadata

  • Download URL: forgesight-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for forgesight-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c7d8a0cf6547760a913e4e403397644cc4875129a35aba7835d5dc55ae6ada2
MD5 b6afb27bc63de2361000a6142be53576
BLAKE2b-256 a5a2758b17a354524c75cae5a9dfdab92bfc576296fba511fb7615b77cc293b0

See more details on using hashes here.

File details

Details for the file forgesight-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: forgesight-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for forgesight-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a45efc1b2188e6bba6f09df3da47227a3ab01799dd0b3ea85b915ba7c652bb5b
MD5 84eee1dd5d66c8477cac7dc470c8e0b3
BLAKE2b-256 7fdd1aecfb5fffc5b92376a2ca190690107b66314067ec33f6e3af163b662682

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 Sentry Error logging StatusPage Status page