Glasstrace

The missing observability layer between your client and your backend — designed from day one for AI agents, priced for solo developers.

npm install @glasstrace/sdk
Get started

The debug loop has a blind spot

Your AI coding agent can see the broken UI. It cannot see that a Prisma query failed because a foreign key constraint was violated by a migration that ran an hour ago.

Without Glasstrace

  1. Something breaks in your app
  2. You copy the error message
  3. You paste it into agent chat
  4. The agent guesses at the cause
  5. You go back and forth, losing context

With Glasstrace

  1. Something breaks in your app
  2. Your agent calls get_latest_error
  3. It gets the full span tree: route, query, error, stack
  4. It fixes the actual root cause

Three products, one debug loop

How it works

1

Install the SDK

npm install @glasstrace/sdk
npx @glasstrace/sdk init

One package, one command. Instruments your Next.js API routes, database queries, and fetch calls automatically.

2

Trigger an error

Develop as you normally would. When something breaks, Glasstrace captures the full server-side causal chain as a structured trace — from the incoming request through every database query to the error.

3

Your agent debugs it

Your AI coding agent calls Glasstrace via MCP. No copy-pasting, no screenshots, no guessing.

{
  "tool": "get_latest_error",
  "result": {
    "route": "POST /api/checkout",
    "error": "PrismaClientKnownRequestError: Foreign key constraint violated",
    "spans": [
      {
        "name": "POST /api/checkout",
        "duration_ms": 142
      },
      {
        "name": "prisma:query orders.create",
        "duration_ms": 38,
        "error": true
      }
    ]
  }
}

Pricing

Start tracing with zero friction. No account, no credit card, no setup. Upgrade when you need enrichment and longer retention.

Anonymous

Free no account needed
Start tracing
  • Storage TTL 48 hours
  • Traces per minute 100
  • Concurrent sessions 1
  • LLM enrichment No
  • Coverage map No
  • Dashboard No

Free Trial

Free 30 days
Start free trial

Credit card required at signup

  • Storage TTL 7 days
  • Traces per minute 500
  • Concurrent sessions 1
  • LLM enrichment Yes (Anthropic)
  • Coverage map Yes
  • Dashboard Yes

Pro

$10 per month
Start 30-day trial

Credit card required at signup

  • Storage TTL 90 days
  • Traces per minute 2,000
  • Concurrent sessions 10
  • LLM enrichment Yes (Anthropic)
  • Coverage map Yes
  • Dashboard Yes

New accounts start on the 30-day Free Trial. If you choose Pro, billing begins after the trial ends.

Why Glasstrace?

vs. Sentry / Datadog

Built for AI agents, not dashboards — your agent queries traces via MCP, not you clicking through a UI.

vs. raw OpenTelemetry

Zero-config for Next.js — no collector, no Jaeger, no YAML.

vs. console.log

Structured traces, not string searching — your agent gets span trees, not text blobs.

Built for developers who ship with AI

Open source SDK MIT license
Observational only Never modifies your app
Not for production SDK disables itself in production environments
Privacy-first No request bodies captured by default
GitHub stars npm weekly downloads Beta

Built by Main Street Integrations LLC

Security: security@glasstrace.dev