gateway:checking…·npm:v0.1.9 (10rel) · snapshot·trading:stale · last evidence 2026-05-07·agent:last evidence 2026-11-22
$ cd ..

gman — telemetry platform for AI-native systems

transparent proxy · multi-tenant ingest · published npm SDK

Telemetry routing and observability infrastructure for AI-native systems. A transparent local proxy sits in front of the model endpoint: any client that respects OPENAI_BASE_URL is captured byte-for-byte, so traffic to other providers passes through and is recorded on the wire. Token and cost interpretation is OpenAI-oriented today; provider-aware parsing beyond that is designed, not shipped. Telemetry lands in RLS-isolated multi-tenant ingest. The same operational problems appear anywhere high-volume events must be collected, transformed, isolated, and queried reliably. The hardest part of the product is operational — making LLM traces legible to the engineer at 2am without leaking one tenant's prompts into another's dashboard.

── boundaries ─ what is published, built, designed
[published] v0.1.9 · 10 releases[snapshot 2026-09-02]

The proxy SDK on npm, the multi-tenant gateway behind it, and the public evidence console. Anyone can install the SDK, point an agent at it, and read what the gateway recorded. Measured cost of sitting in the path: +0.216 ms p50 proxy overhead (direct 0.118 ms vs proxied 0.334 ms) (snapshot 2026-05-16).

[built · private]

Claude Code hook capture and a native OpenTelemetry recorder that normalize both sources into the same evidence shape. Implemented and verified in private packages: the capture path, the normalization, and the shared schema exist and are exercised in test. They are not part of the published SDK, the recorder is not distributed, and I am not claiming a deployment behind them — this is implementation evidence, not something you can install or watch running.

[designed · not shipped]

Provider-aware token and cost parsing beyond OpenAI, plus the policy, evidence, payout and sidecar surfaces below. Specs and schemas exist; none of it is running for anyone.

── architecture ─ sdk → gateway → cockpit

An agent's LLM calls pass through a local proxy; the gateway isolates tenants; the cockpit and public demo read from the same store.

── lane a ── authenticated developersvc-agent[USER CODE]agent processOpenAI SDKOPENAI_BASE_URL=…HTTPsvc-sdk[PROXY :9000]@gman-ai/dev proxybyte-for-byte fwdfire-and-forget tlmBearer gman_dev_sk_…POST /v1/dev/ingestsvc-gateway[GATEWAY]Express · Railway100 req/min/IPtenant_id ← API key hashservice_rolesvc-supabase[WRITE]dev.dev_eventsRLS onrow owner = tenant_idtenant-scoped readClerk userId → tenant_idsvc-cockpit[COCKPIT]/cockpit/devper-tenant viewsClerk auth── lane b ── public /demo (sanitized · single tenant)svc-visitor[UNTRUSTED]public visitorno authno cookies setsvc-demo[STATIC]/demoNext.js page30s poll on clientsanitizeEvent()svc-demo-api[ROUTE]/api/demo/sessions10s fresh / 60s stalewhitelist projectiontenant_id=$DEMOsvc-supabase[READ]dev.dev_eventssingle tenantno userIds in outputtrust boundarytenant_id is server-derived from API-key hash on every write — never trusted from client.both lanes share dev.dev_events — lane B reads only DEMO_TENANT_ID with sanitized projection.

┊trust boundary. Structure only — the bracketed labels name each node's role, not its health, and no node here is probed. Gateway reachability is the ticker at the top of the page; volume, latency and cost figures live on the evidence console below, where they carry their own observation time.

social-agent traces are visible here →

── evidence console ─ dated read of the public page
getmyagentnow.com/demo[snapshot 2026-09-03]open live →
633
sessions
1,167
model calls
$38.36
total cost
2026-04-09
evidence since
establish_mission→gather_sources→label_evidence→find_convergence→assess_candidates→synthesize_claims→compose_briefing→validate_briefing
rich·included 3 / rejected 3 / could not establish 5·pub: held
Featured investigation — the reviewed controlled run, frozen as a sanitized record
8 phases11 model calls·8 validation checks·$0.2766 derived spend
proxy·skipped · low score·pub: none
A skip is recorded with the topic that was considered — silence is a decision, and it is auditable
last 30 days151 sessions·488 model calls·$16.38

Read from getmyagentnow.com/demo on 2026-09-03; the live page moves, this card does not. The tenant is real and the totals span the agent across several iterations, so not every historical session ran the eight-phase workflow above — that is the shape of the current research runs, and the featured record below is one of them. Every model call is captured through the proxy. Displayed fields are allowlisted server-side — prompts, responses, file paths and tenant identifiers are refused by default, and the newest run is held at the publication boundary rather than posted.

── sdk ─ install + one import
@gman-ai/dev v0.1.9 · 10 releases[snapshot 2026-09-02]view on npm →
install
$ npm install @gman-ai/dev
set env
$ export GMAN_API_KEY="sk_live_..."
wrap your agent
import { spawn } from "child_process";

// Start the GMAN proxy once — it listens on localhost:9000
// and forwards to the upstream LLM provider, emitting telemetry
// to the GMAN gateway on every request.
const proxy = spawn("npx", ["@gman-ai/dev", "start"]);
process.env.OPENAI_BASE_URL = "http://localhost:9000/v1";

// Now any LLM SDK that respects OPENAI_BASE_URL is traced.
// Every call appears in cockpit under your tenant in seconds.

The SDK is a local HTTP proxy, not a wrapper library. It works with any LLM client that respects OPENAI_BASE_URL, across languages, without modifying the agent code path. Capture is byte-for-byte, so a non-OpenAI provider still gets recorded; what is OpenAI-oriented is the token and cost interpretation applied afterwards.

── scope & roadmap
~/gman/status-matrix6 shipped·2 built · private·2 designed
featurestatusnotes
@gman-ai/dev SDK[SHIPPED]local proxy · published on npm · v0.1.9 · 10 releases[snapshot 2026-09-02]
Multi-tenant gateway[SHIPPED]tenant_id derived server-side from API key hash
Session viewer / cockpit[SHIPPED]Clerk auth · per-tenant isolation
API key management[SHIPPED]create, rotate, revoke · hashed storage
Stripe Connect billing[SHIPPED]webhook-driven · multi-account payout ready
Public evidence console (/demo)[SHIPPED]sanitized reads · allowlisted projection at the output layer
Claude Code hook capture[BUILT · PRIVATE]gman-hooks · implemented and verified in a private package, not distributed
Native OpenTelemetry recorder[BUILT · PRIVATE]gman-activity-core · normalizes hooks + OTel into one schema; recorder not published
Provider-aware token / cost parsing[DESIGNED · NOT SHIPPED]byte capture already covers the transport; interpretation is OpenAI-oriented today
Policy · Evidence · Payout · Sidecar[DESIGNED · FROZEN]specs and schemas exist · frozen pending R2
planned · not in R1.5
  • Public trace viewer beyond /demo (per-agent, per-session links)
  • Cost calculator with per-model pricing
  • SDK docs site (autogenerated from source)

Three states, kept apart on purpose. Shipped means you can install or open it today. Built · private means it is implemented and verified in a package I have not distributed — no deployment is claimed. Designed means specs, schemas and migration paths exist and nothing is running. R1.5 is scoped to the observability core.

── eof ─