Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

forge-dashboard

Observability dashboard for LLM inference with reasoning mode support. Ingests OpenTelemetry trace and metric data from forge-observe, stores it in SQLite, and serves a React frontend for visualizing thinking budget burn, token splits, and mode switches.

What it shows

  • Budget burn over time -- how fast the thinking budget is being consumed
  • Think vs response token split -- what fraction of output is thinking vs user-facing
  • Mode switch timeline -- when the router flips between thinking and instruct mode
  • Alert rules -- threshold alerts on budget exhaustion, token ratios, error rates

Architecture

forge-observe (OTel SDK)
        |
        | OTLP/HTTP JSON (POST /v1/traces, /v1/metrics)
        v
forge-dashboard (FastAPI + SQLite)
        |
        +-- React frontend (Vite + Recharts + Tailwind)

The backend accepts OTLP JSON exports, parses forge-specific span attributes (forge.thinking_tokens, forge.budget_remaining, etc.), and stores them for dashboard queries. Authentication is via API keys scoped to projects.

There are two ways to send data:

  • Direct -- point forge-observe's OTLP exporter straight at http://<dashboard-host>:8000/v1/traces. Works for single-node setups.
  • Via forge-cloud (separate project, not yet released) -- if you run forge-cloud as a central proxy, configure it to forward traces to the dashboard. forge-cloud handles auth and routing so individual services only need the proxy address.

Running locally

# backend
pip install -e ".[dev]"
forge-dashboard
# serves on http://localhost:8000

# frontend (separate terminal)
cd frontend
npm install
npm run dev
# serves on http://localhost:5173, proxies /v1/* to backend

Setup

  1. Start the backend. It creates a SQLite database on first run.
  2. Set a setup secret and create a user and project via the API:
export FORGE_SETUP_SECRET="your-secret-here"
# then start the backend

# create user
curl -X POST http://localhost:8000/v1/users \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-secret-here" \
  -d '{"email": "you@example.com"}'

# create project (use the user id from above)
curl -X POST http://localhost:8000/v1/projects \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-secret-here" \
  -d '{"name": "my-project", "owner_id": 1}'
# response includes api_key -- save it
  1. Enter the API key in the dashboard Settings page, or use it in forge-observe's exporter config.
  2. Point forge-observe's OTLP exporter at http://localhost:8000/v1/traces.

Configuration

Environment variables:

Variable Default Description
SQLITE_PATH forge_dashboard.db Path to SQLite database file
FORGE_SETUP_SECRET (none) Required to create users/projects via API
FORGE_ALERT_INTERVAL_SECONDS 60 How often to evaluate alert rules
FORGE_RETENTION_DAYS 7 Data retention period
FORGE_CORS_ORIGINS http://localhost:5173 Comma-separated allowed CORS origins

Tests

pip install -e ".[dev]"
pytest -v

Project status

Backend is functional with OTLP ingestion, query API, alerting, and data retention. Frontend is a working prototype with budget, token split, mode timeline, and alert management views. Notification delivery (email, Slack, etc.) is not yet implemented -- alert firings are recorded in the database only.

Metadata

Release files for forge-dashboard 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for forge-dashboard 0.1.2
File Size Uploaded Provenance Actions
forge_dashboard-0.1.2.tar.gz 25.5 kB With provenance Details for forge_dashboard-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for forge-dashboard 0.1.2
File Interpreter ABI Platform Actions
forge_dashboard-0.1.2-py3-none-any.whl Python 3 none any Details for forge_dashboard-0.1.2-py3-none-any.whl

Total release size: 42.3 kB

Release files / forge_dashboard-0.1.2.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL forge_dashboard-0.1.2.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c5379f53339c4662a95ad90d928a04352e8db153828cde9cdbd5f5cf622b9cd
BLAKE2b-256 checksum
How to use checksums
566c12e66c68af4902eae5bcc02e57c16cbaf20c1924b23e574cf325cb9b1344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2026.

Transparency log

Release files / forge_dashboard-0.1.2-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL forge_dashboard-0.1.2-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a2939f029c3056c781e088b4f61ee0e3bbfa3f7dcd084648f4d2bed82c1f34b
BLAKE2b-256 checksum
How to use checksums
0b66083c84a60b914475e50dc3a3515525d07849a9f98c9221d41d1f9cf6205c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2026.

Transparency log

Security for forge-dashboard 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for forge_dashboard-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page