Skip to main content
Glassray runs a continuous loop over your agent’s production traffic: it learns what your agents are supposed to do, scans your traces for recurring misbehavior, and writes fixes your coding agent can apply. Here’s how to get it running.
Glassray is in private alpha. Join the alpha and we’ll connect your traces, walk through your agent’s code, and get the loop running on your production data.

Connect a trace source

Point Glassray at the traces your agents already emit - no instrumentation rewrite. Connect Langfuse, LangSmith, or PostHog (Glassray pulls on a cadence), or push OpenTelemetry. See Traces for the concept.

Connect your code

Glassray reads your code to learn intended behavior. Connect GitHub and it generates a spec from your repo - or, if you’d rather not connect, bring your own spec.

Glassray learns your system

Glassray sorts your traces into flows - groups of traces that run the same agent chain - and uses the spec as the rubric for what each flow should do.
Every deployment is different. Two teams running the “same” framework with different prompts and rules are effectively running different programs, with different failure modes. Glassray learns yours.

Investigate your traces

Pick a flow and compare a few traces with its rules. For example, if the agent promises a refund, did it check the order first? If you find a problem, record an issue with the trace that shows it. You can also report an issue from Slack.

Fix it

Create and calibrate an evaluator for the issue, then run it locally or on Glassray to check other cases. You can confirm the issue once you have enough evidence. On a Confirmed issue, click Generate fix: Glassray writes a fix as a markdown instruction document for your coding agent - the change to make, what to verify, and acceptance criteria. It’s guidance, not a diff: your coding agent makes the change in your repo.The fix names the issue’s short ID (like ISS-142) and a branch to use, glassray-iss-142-…. Open your pull request from that branch and Glassray links it to the issue automatically - see GitHub.
Every shipped fix tightens the loop - your agents get better at avoiding that issue, and Glassray keeps scanning.

Next steps

Flows

How Glassray groups your traces into flows - the unit it tracks quality on.

Ask Glassray

Explore your traces in natural language.

Connect over MCP

Query your traces, flows, and issues from your coding agent.

Issues

What an issue is and its review lifecycle.