nomi

See what your agent did, and why.

nomi records each run of your AI agent: its model calls, tool calls, retries and decisions. Your coding agent reads that record beside your code and tells you why a run went the way it did.

support_turn · reply

Succeeded 1 failed step Result refund_approved declared Conversation conv-426f64-21 Commit b938222 Took 1.46 s Tokens 1,862 in / 112 out Cost ≈ $0.0048

POST /orders/A-2021/refunds: 2 attempts. Attempt 1: effect unknown; attempt 2: completed, committed backoffice:rf_c9b1e7295e27. declared

  • support_turn OK 1.45 s
  • support_agent OK 1.45 s
  • Decision refund_approved: order A-2021, $112.00 Note, not a step
  • backoffice × 3 tool calls 1 Failed · 2 OK 3 calls
  • check_reply OK 1.27 ms

Tool call · in issue_refund

backoffice

Failed after 1.00 s

Request
POST /orders/A-2021/refunds observed
Error
httpx.ReadTimeout: timed out observed
Effect
Effect unknown. Attempt 1 of 2 of this action. Attempt 2: completed, committed. declared
Code
support_desk/backoffice.py:28 in _request() at b938222 observed

One recorded run from a support-desk test app built on LangChain, which runs against local stand-ins for the model and the back office. The timeline shows where the run’s time went: a full second of its 1.46 s was a refund call that timed out. It was retried, and the back office’s total shows it was paid twice.

Why nomi

When an agent gets something wrong, the hard part is finding out what it actually did.

An exact record
Each model call, tool call, retry and side effect, tied to the commit that ran. What it couldn’t see is marked unknown, never guessed or shown as zero.
On your machines
One self-hosted program, quick to set up. Your runs stay in a folder on a machine you run: your computer, or a server of yours that your agents send to. nomi never changes how your agent runs.
Built for your coding agent
Your coding agent reads the same record next to your code, tells you why a run went the way it did, and compares your agent’s behaviour from one commit to the next.

Ask your coding agent why

It reads the runs and opens your code at the commit that ran. It answers against real code, keeps what was observed apart from what your code declared and what wasn’t recorded, and says so when nothing is wrong.

Three answers from Claude Code, about a support-desk test app built on LangChain with a defect planted in it; the third came after fixing what the first found. Shortened; every sentence is the answer’s own.

YouHow's the support agent doing?

Not well: it paid 3 refunds twice.

I checked all 60 stored runs, which cover 30 conversations, all on commit b938222. Your checkout is at the same commit, with no uncommitted changes, so the code I read is the code that ran.

Defect: a timed-out refund gets retried and paid again

This happened on 3 of the 16 approved refunds.

RunOrderRefund asked forrefunded_total afterwards
07c9f2b8…A-2021$112.00$224.00
aa743060…A-2013$38.50$77.00
835c766a…A-2005$64.00$128.00
  • The first POST /orders/…/refunds hit the 1.0s timeout (httpx.ReadTimeout). The client marked the effect unknown.
  • The client retried and got a 201 with a new refund ID.
  • The backoffice’s own figure after the refund, refunded_total, is twice the order total. So the first POST went through on the server side too; only the response was lost.

Why, in backoffice.py:41-45: _request retries every method after a timeout, writes included. refund() (backoffice.py:58) sends nothing the backoffice could use to spot a repeat.

41            except httpx.TimeoutException:42                if attempt == self.attempts:43                    raise BackofficeError(f"{method} {path} timed out after {attempt} attempts")44                time.sleep(self.backoff * attempt)45                continue    …58    def refund(self, order_id, amount, reason):59        return self._request("POST", f"/orders/{order_id}/refunds", json={"amount": amount, "reason": reason})

Not problems

  • The other 4 runs with errors: lookup GETs that timed out once and then worked on the retry. Retrying a read is safe, so this is expected.
  • 2 runs flagged draft_claimed_unissued_refund: the reply checker caught a draft that claimed a refund before it was issued. It counts as an issue the agent recovered from, not a failure.

The fix is one change: stop retrying a refund POST after a timeout, or send an idempotency key that the backoffice honours.

Question

  • Observed as it happened
  • Declared by the app’s code
  • Not recorded
App
support desk, LangChain
Runs read
60
Commit
b938222
Asked
Claude Code

Attach it, run, ask, compare

Your coding agent does the setup. If nomi is off, down or hanging, your agent runs as usual, with the same output.

  1. Ask your coding agent to attach it

    Start nomi (download), then ask. The attach skill finds where your agent calls models and tools, adds the hooks, and asks you what only you know: what one unit of work is, and which outcomes are problems your agent caught. Your agent doesn’t have to be on the same machine as nomi: see where nomi runs.

    Use the attach-nomi skill and add nomi to this agent.
  2. Run your agent

    As you normally would. Each run is recorded with its model calls, tool calls, retries, decisions and errors, the code behind each, and the commit that ran. nomi browser opens the viewer.

  3. Ask your coding agent

    It reads the runs through read-only tools and the debug skill, opens the code at that commit, and answers. It works with Claude Code, Codex, Cursor or any coding agent that supports MCP.

    How's the support agent doing?
  4. Change it, run again, compare

    Use it to help improve your agent’s quality. Your coding agent compares your agent’s behaviour before and after each change, commit against commit: failed runs, issues your agent caught, tokens, cost and time per run, and any two runs side by side.

    Did the refund fix work?

support-desk

Project support-desk-langchain180 runs stored over 3 commits414 model calls, ≈ $0.7366

Where time goes

The model and tool calls your agent made, by total time, and what ran inside each. A call’s percentage is of the 43.65 s its runs took; a line inside a call is a percentage of that call.

  • lookup_order Tool call 90 27.5 ms 16.91 s 39% 0
  • backoffice Tool call 102 25.7 ms 14.29 s 85% 12
  • Waiting between its calls 12 2.45 s 14%
  • Rest of its time 171.0 ms 1%
  • issue_refund Tool call 72 83.2 ms 15.08 s 35% 3
  • backoffice Tool call 126 26.8 ms 14.29 s 95% 9
  • Waiting between its calls 54 649.5 ms 4%
  • Rest of its time 137.8 ms <1%
  • ChatAnthropic Model call 414 5.23 ms 3.93 s 9% 0
  • send_email Tool call 48 37.7 ms 1.80 s 4% 0
  • open_ticket Tool call 15 37.7 ms 561.5 ms 1% 0
  • Not in any call 5.37 s 12%

Where time goes on the agent page for the same LangChain test app, over its 180 stored runs. Most of the time is back office requests made inside lookup_order and issue_refund, and lookup_order spent 2.45 s of its 16.91 s waiting between them. Your coding agent reads the same figures, day by day.

Where is the support agent spending its time?

Everything on record

Every run your agent makes, kept in order: what it asked its model, what came back, which tools it called and with what, what those tools changed, and what your code decided. The viewer shows it in your browser; your coding agent and the nomi command read the same record.

Model and tool calls
The model asked for and the one that answered, tokens, stop reason, and the prompt, reply and reasoning text. For each tool: name, arguments, result, duration and error. Each where the framework passes it on.
Time
How long each recorded step took, laid out on a timeline. Across all of an agent’s runs, which model and tool calls take the most time, and what ran inside each.
Retries, effects and decisions
Each attempt of one action, and whether its effect was committed, not applied or unknown. Outcomes your code declares, and problems your agent caught itself, kept apart from failures.
Code and versions
The file, function and line behind each step, and the commit that ran. Failure and issue rates, tokens, cost and time per commit, and any two runs side by side, so you can follow how your agent’s behaviour changes from one commit to the next.
Over time
Runs, failures, issues, tokens, cost and median run time day by day, for each agent and each model, so you can keep an eye on an agent. Runs group by ticket, pull request or conversation. A model with no price, such as a local one, shows as unpriced, never as $0.
What it couldn’t see
Listed as unknown, never as zero. Each guide says what its framework doesn’t expose.

Setup guides

Each guide says what is recorded automatically, what your code declares, and what it can’t see. Frameworks that write OpenTelemetry GenAI spans, like Pydantic AI, Google ADK and the Vercel AI SDK, need no SDK code. One guide covers local models.

There is an SDK for Python and one for TypeScript. The TypeScript SDK (runnomi-sdk 1.0.0) isn't on npm: it is installed from the release's packed file. Its guides were tested on Node 22.13.0 against local stand-ins for the model provider, not a provider's API. There are no guides for Java or .NET.

For every setup

Where nomi runs

The same machine, containers, another machine of yours, SSH tunnels, several machines, and reading from elsewhere. Everything beyond one machine is opt-in; runs stay on the machines you run, and nothing is sent anywhere else.

Open the page: Where nomi runs

What stays on your machines

Everything it records. nomi is one self-hosted program, quick to set up, that keeps your runs in a folder on a machine you run and sends them nowhere else. There is no account and no cloud service.

Prompts and replies
Recorded by default, with common credential shapes masked. That is best effort, not secret detection; the metadata profile records no content at all.
Agents somewhere else
An agent in a container, on another machine of yours or behind an SSH tunnel can send to the same nomi, only once you set that up, and the attach skill can do it with you. Where nomi runs has each case.
Your coding agent
Reads runs through read-only tools. Like anything it reads, what it reads is sent to its own model provider.
If it’s down
Your agent keeps running, with the same output. Events the SDK couldn’t deliver are counted and shown on the run once it reaches nomi again while your agent is still running; otherwise one line in your agent’s log says so.
Keeping and deleting
Runs are kept 30 days and up to 10 GiB, both adjustable; at the cap, recording pauses and nothing is deleted. nomi clear-data -confirm removes everything.