Sherlock for developers

From vague bugto proven cause.

Sherlock is an investigation agent that runs on your Hand. It pins the revision, builds a fresh code graph, records the failing scenario, rules out the alternatives and returns one report: cause, source locations, evidence.

7 days free · No credit card required

  • Fresh code graph + runtime evidence
  • Alternatives checked
  • Read-only by default

Works in ChatGPT, Claude, Cursor and your Hand’s terminal

Ask from your editor or your chat.

@Hands use Sherlock to investigate: after a gateway timeout the same order is created twice. Repo shop-api @ main, env staging.

Hands › Sherlock

  1. Pinned shop-api @ main (4f2c9e1), env staging
  2. Indexed a fresh code graph of the checkout path
  3. Recorded the timeout scenario
  4. Compared it with a successful checkout
FindingEvidence-backed
Cause
retry() re-sends createOrder after a timeout without the idempotency key.
Where
src/checkout/order-flow.ts:15 → lib/retry.ts:42
Evidence
Timeout run: 2 INSERTs into orders for 1 request; control run: 1. Client double-submit ruled out.
Next step
Pass the idempotency key through retry() and add a regression test for the timeout path.

Illustrative example · not a live investigationCode + runtime evidence

Evidence, not hunches

Every finding comes with receipts.

Sherlock gathers fresh evidence for each investigation and tells you exactly what it does and doesn’t prove.

Fresh code graph

what calls what, at this commit

Sherlock report

Runtime recording

what actually ran in the scenario

Sherlock report

Time profile

where the time actually goes

Sherlock report

Flow diagrams

the path, drawn from evidence

Sherlock report

Five Whys

each why linked to proof

Sherlock report

Alternatives

checked and ruled out

Sherlock report

Source locations

file, line and revision

Sherlock report

Open questions

plus the measurement that settles them

Sherlock report

What a Sherlock report contains. Not customer metrics.

Three questions it answers

Point it at the question you’re stuck on.

You don’t need a hypothesis yet. Give Sherlock the symptom and the context; it picks the questions that tell the explanations apart.

Why does this fail?

An error, a duplicate action or a wrong result. Sherlock finds the explanation behind the visible symptom.

Where does the time go?

A slow page or a stuck job. Sherlock records the run and shows where it computes, repeats or waits.

What does this change touch?

A new branch or a refactor. Sherlock maps the affected code and the user-facing impact before you merge.

From problem to fixed code

One case, start to verified fix.

How an investigation runs. Sherlock stays read-only: its report ends with the next action, you or your coding agent write the fix, and Sherlock verify checks it on the same journey.

Sherlock · one case, six stations

  1. 01 / 06 · REPORT

    Start with the symptom.

    Symptom, repository, revision and environment. Sherlock asks for what’s missing before it starts.

    “After a gateway timeout, the same order is created twice.”

    repo shop-apirev 4f2c9e1env staging

  2. 02 / 06 · INVESTIGATE

    Questions before queries.

    Sherlock turns the issue into a falsifiable investigation, choosing from 62 questions in 9 bundles the ones that tell the explanations apart.

    • Is the row inserted twice, or only acknowledged twice?
    • Which path runs between the timeout and the retry?
    • Does a successful checkout take the same path?
  3. 03 / 06 · EVIDENCE

    Fresh evidence, every time.

    A new code graph of the pinned revision and a recording of the scenario. Old indexes are never reused for current findings.

    INSERT INTO orders · per request

    timeout run2
    control run1

    Same request id. Only the gateway timeout differs.

  4. 04 / 06 · ANSWER

    One report, conflicts resolved.

    Cause, source locations and evidence in one deduplicated report, with what it ruled out and what’s still open.

    Cause
    retry() re-sends createOrder without the idempotency key.
    Where
    order-flow.ts:15 → retry.ts:42
    Ruled out
    Client double-submit: one POST in the trace.
  5. 05 / 06 · FIX

    A fix direction, not a surprise commit.

    The report ends with the next action: the smallest change that removes the cause. You or your coding agent write the patch.

    src/checkout/order-flow.tsthe fix

      } catch (err) {    if (!isTimeout(err)) throw err;-   return retry(() => createOrder(cart));+   return retry(() => createOrder(cart, { idempotencyKey }));  }

    Patch by you or your coding agent · Sherlock stays read-only

  6. 06 / 06 · VERIFY

    Verified against the same journey.

    Sherlock verify runs the journey on the candidate build, compares it with the reference and checks the effect with an independent witness.

    • Candidate build, same timeout: 1 INSERT, 1 order
    • Reference journey: unchanged
    • Verdict: observed, with reproduction steps
Illustrative case · Sherlock never changes code on its own

Works where you code

From your editor, your chat or your Hand.

Connect your Hand once and ask for Sherlock wherever you already work.

Via ChatGPT

Add your Hand as a custom MCP server under Plug-ins, switch it on in the chat and ask.

Via Claude

Add your Hand as a custom connector, approve its tools and enable it in the conversation.

Via Cursor

Add your Hand’s connector URL as an MCP server and ask right next to your code.

On your Hand’s computer

Your Hand has its own computer with a terminal, where tools like Claude Code and Codex run with your own sign-in. Ask your Hand, and it runs Sherlock there.

  1. Start your Hand

    Create your Hand in a few minutes. Free for 7 days, no credit card. Start with Hands

  2. Link your project

    Connect your repository or put the project in your Hand’s workspace. Note the branch and environment you want investigated.

  3. Add your Hand to your AI

    Copy the Connector URL in My Hand › Hand profile and add it to ChatGPT, Claude or Cursor. Connection guide

Your first Sherlock prompt

@Hands use Sherlock to investigate [symptom] in [repo] @ [branch or commit], environment [env]. Report the cause, source locations and evidence; list what you ruled out and what’s still open. Don’t change code.

Good to know

Questions, answered.

Something else on your mind? Contact Hands.

What does Sherlock use as evidence?

A freshly built code graph of the pinned revision, recordings of the scenario where possible, flow diagrams and time profiles derived from them, and the source itself. Old graphs or traces are never used to support a current finding.

Does it change my code?

No. Sherlock is read-only: a finding never authorises a fix on its own. The report ends with the next action; you or your coding agent write the patch, and Sherlock verify can then check it on the same journey.

Which languages and stacks does it support?

Sherlock works from your source and from recordings of the running scenario. Before it investigates, your Hand checks which tools are available for your stack and tells you exactly what’s missing.

Where does the investigation run?

On your Hand’s own computer, in its workspace, with the repositories you link. Your Hands access key belongs only on the Hands authorisation page, never in a chat.

Can I use Sherlock today?

Yes. Start your Hand, link your repository and add your Hand to your AI. Then give Sherlock its first case. The first 7 days are free. Questions first? Talk to us.

Which bug is on your mind?

Start your Hand and give Sherlock its first case.

7 days free · No credit card required