ahto

Git analytics that runs on your machine

Ask your whole Git history anything. In 54 ms. From your agent. Even what your agent did. Before you ship it. Only your team gets in. As a city.

ahto keeps every commit, file and author of a repository as tables on your own disk. Ask in SQL, in the browser, or through your coding agent. Nothing is uploaded, and there is no account. Run ahto serve and every agent and service asks the same lake on one port: MCP for your coding agent, and REST, gRPC, GraphQL and five more for everything else. One install line adds it to Claude Code. ahto runs your agent on Claude Code, Codex, Grok, Mistral, DeepSeek or your own model through Ollama, or on any API that speaks the Anthropic or OpenAI protocol. It can send a Claude Code run to a Linux peer, inside a Firecracker microVM, and the files it changed, the commands it ran and the hosts it reached come back as rows you ask with SQL. OSV advisories, CISA's known-exploited list and EPSS scores, plus leaked secrets, dangerous calls and sensitive files, at any commit. It runs on your own machine, and nothing is uploaded. Join devices to your org by key on a private libp2p network. Every admit and revoke goes into a signed membership log, and people sign in with a passkey, a device key or a one-time code. The Linux kernel drawn as a city you can walk through, with a time-lapse of every commit since April 2005, and the history and blame of any file. It opens in your browser, with no sign-in.

54 ms to count golang/go's 68,999 commits, authors and merges, start-up included · Mac · measured 2026-12-05 One port · MCP · REST · gRPC · JSON-RPC · GraphQL · WebSocket · MQTT · SSE · Arrow IPC New in v0.1.4DeepSeek, custom agents and Claude Code in a Firecracker microVM on a Linux peer, with SQL over each run golang/go · 14,607 files scanned · 190 findings · 42 dependencies The network carries membership and sign-in · code and history stay on each machine torvalds/linux · in your browser · no sign-in, nothing to install

Open the live demo
Install

curl -fsSL https://ahto.dev/install.sh | sh

Install on macOS and Linux · click to copy

See the speeds
  • Live demo
  • CLI · v0.1.4, open source
    how we know

    This page calls releases, a function built into ahto. It reads the version tags of ahto's own repository from its Git history, newest first. This is the call:

    POST https://demo.ahto.dev/api/v1/functions/releases/call
    {"repository":"github.com/inorbithr/ahto","args":{"limit":"1"}}

    The same from a terminal: ahto function call --repo github.com/inorbithr/ahto releases limit=1

    Answer: v0.1.4, when this page was built.

    Read the function · Ask your own question on the live demo

  • Desktop apps and IDE support · planned
  • Agent microVMs · v0.1.4
The ahto demo's Query view: SQL over every repository in the lake, with its results. The ahto demo's Functions view: the built-in functions an agent calls, such as hot_files and exported_api, with one selected.

Agent run · Firecracker microVM

What the agent did, one row per event

v0.1.4
SeqKindWhatState
1statequeued
2promptfix the flaky test
3stateon linux-1assigned
4stateFirecracker microVMrunning
5tool_callBash · go test ./...
6tool_resultPASS
7answerFixed the flaky test.
8patchfiles: main_test.go · commands: go test ./... · hosts: api.anthropic.com
9statefinished

A sketch of one run in the run_events view. The run_changes view keeps its files, commands and hosts in one row.

The ahto demo's Security view of golang/go: findings by severity and kind. The ahto demo's City view of torvalds/linux: the source tree drawn as a city.

Run it yourself

Claude Code alone, against Claude Code with ahto. Live.

Pick a question about a real repository. When this goes live, both runs start at the same moment, each in its own Firecracker microVM sandbox on a Linux peer of the ahto network, and stream every tool call, the clock and the bill to this page. Until then, press Run to replay two measured runs.

Coming soon
Question golang/go @ c58fec1
Played at 4× speed · Two microVMs, one per run
Claude Code · files and gitmicroVM 1
Waiting0.0 s
Time
–
Cost
–
Right in the benchmark
–
Claude Code · with ahtomicroVM 2
Waiting0.0 s
Time
–
Cost
–
Right in the benchmark
–

Your browser asks ahto.dev, which hands the run to a Linux peer of the ahto network. The peer boots two Firecracker microVMs. Model calls leave through the egress gate with a per-run token. Events come back from the run table. Your browserahto.dev ahto networkpicks a peer Linux peer microVM 1files and gitvsock only microVM 2with ahtovsock only ModelAPIvia egressgate question run events
  • Its own machine. Each run gets a fresh Firecracker microVM that boots in about 0.2 s and talks to its host over vsock only.
  • The same code, twice. The repository goes in as one commit; both runs start from the same files and the same question.
  • The key stays on the host. Model calls leave through the egress gate; the microVM gets a per-run token from a credential proxy, never the model key.
  • Every step recorded. The run table keeps each event, the tokens, the turns and the cost the model reports. Today it streams them to the admin who started the run; this page is next.

Coming soon. Today an admin of an ahto network starts the same run from the terminal: ahto agent run claude --on <peer> --provider firecracker . "<task>". The time, cost and right answers above are from the history benchmark against plain git, measured 2026-12-01 with Sonnet, 5 runs per question (“with ahto” is the arm with ahto’s tools only); the streamed lines show the kind of calls each run makes.

Speed

Measured on golang/go, not promised.

A Mac and a small cloud server run the same benchmark script and each write what they measured. This section reads those files on every request, so nobody copies a number by hand.

Measured 2026-12-05
Go calls by package
80 ms Mac
measured 2026-12-05
138 ms Server
measured 2026-12-05
62,519,882 call rows
Commits, authors, merges
54 ms Mac
measured 2026-12-05
102 ms Server
measured 2026-12-05
over 68,999 commits
Crawl again, nothing new
290 ms Mac
measured 2026-12-05
1.23 s Server
measured 2026-12-05
the mirror is already there
First crawl, Go parsed
3 min 21 s Mac
measured 2026-12-05
4 min 47 s Server
measured 2026-12-05
6.1 and 6.1 GB of Parquet

ahto next to plain git

Same mirror, same commit. Median of 5 runs, shorter is faster.

  • ahto
  • ahto, first run
  • git
History of one file777 commits

Macahto 7.1× faster

ahto128 ms git905 ms

Servergit 1.7× faster

ahto306 ms git183 ms
Commits by one author7,580 commits

Macahto 5.1× faster

ahto90 ms git457 ms

Serverahto 4.3× faster

ahto149 ms git641 ms
Every file at a commit16,513 files

Macgit 2.0× faster

ahto40 ms 1st122 ms git20 ms

Servergit 3.6× faster

ahto57 ms 1st194 ms git16 ms
Authors in two repositories20 authors

Macahto 4.5× faster

ahto106 ms git477 ms

Serverahto 3.0× faster

ahto277 ms git840 ms

What the first crawl used

CPU, memory and disk on each machine while it parsed golang/go.

  • Mac
  • Server
CPU% of all cores
0 1 min 2 min 3 min 4 min
MemoryGB in use
0 1 min 2 min 3 min 4 min peak 2.40 GB peak 1.70 GB
DiskGB on disk, with mirror
0 1 min 2 min 3 min 4 min 6.59 GB 6.54 GB
Mac
Apple M4 Pro, 48 GB · macOS 27.0.1 · git 2.56.1
Server
Cloud server, 8 vCPU, 16 GB · Ubuntu 26.04.1 LTS · git 2.53.0
Method
Each number is a fresh process, start-up included. ahto and git read the same bare mirror of golang/go, 68,999 commits, with no global git config. The speed script on each machine writes these numbers; nobody types them in.

Proof

An agent answering history questions, with git, with ahto, or both.

We gave a coding agent sixty questions about the history of public repositories. It answered each one five times in each of three setups: with files and git, with files, git and ahto, and with ahto alone. git itself checks every answer, so the grading can't favor ahto.

No results yet. They show here, and on the proof page, after the first run.

how we know

Each question has one right answer, on a public repository at a fixed commit. A script runs git log, blame or bisect and grades every answer, so ahto never grades itself.

Each question is tried five times each way, on the same model (claude-sonnet-5-5). Cost is the model's bill for the run; time is from the question to the answer.

This section reads the newest run's file each time the page is served; nobody types the numbers in.

The questions and checkers · How we check, step by step

Some questions need two repositories at once. How ahto and git do on those

Read the proof

Compare

What makes ahto different.

Four things ahto does differently, then how four tools people know compare. Every mark comes from the full comparison, with its source.

Checked 2026-12-04
  • History becomes SQL tables

    Every commit, file and change is written once to Parquet, for as many repositories as you add. One DuckDB query asks across all of them, without reading git again.

  • One call answers a question

    Built-in functions answer whole questions, such as a symbol's definition, callers, tests and history in one call. Add your own as WebAssembly, sandboxed.

  • Agents spend less

    One local port serves MCP, REST, gRPC and GraphQL. On our history bench, an agent asking ahto alone used fewer calls, less money and less time than with files and git.

  • No account, no cloud

    A local folder on your machine, no vendor service, no model needed to answer. Machines can join a closed peer-to-peer network of their own (experimental); sharing lakes over it is being built.

The main differences, ahto beside tools you may know
QuestionahtoGitfledglingSourcegraphGitLab Orbit (local graph)
Runs on your own machine
Supported
Supported
Supported
Unsupported
Supported
Keeps every commit as data
Supported
Supported
Unsupported
Partial
Partial
Your own SQL across many repos
Supported
Unsupported
Partial
Unsupported
Partial
Links names to their definitions
Partial
Unsupported
Partial
Supported
Supported
Runs your own WebAssembly functions
Supported
Unsupported
Unsupported
Unsupported
Unsupported
AI agents can use it (MCP)
Supported
Unsupported
Supported
Supported
Unsupported
  • Supported
  • Partial
  • Unsupported
  • Not applicable
See the full comparison

The full page sets ahto beside 30 projects, kept apart by kind: 13 direct competitors, 8 complementary tools, 9 architectural alternatives. There is no overall score.

Live demo

Linux, Go, Rust, PHP and Node, crawled into one lake.

As the demo showed 2026-11-26

The cards count the main line, as the demo's Overview does.

How deep the lake goes

2.19 billion rows in 34 Parquet tables.

The eight biggest, to scale. Every one is a table you can query in SQL.

  1. syntax_nodes every node of every parsed syntax tree 1,049,690,966
  2. tree_entries every file and folder in every tree 885,478,719
  3. symbol_refs where each name is used 62,940,834
  4. calls who calls whom 59,876,655
  5. comments every comment, attached to its code 39,912,914
  6. changes every file change in every commit 32,978,374
  7. symbols functions, types, methods 14,858,029
  8. advisory_versions affected package versions 10,458,600

And 26 more, from commits (2,128,524 rows) to imports (1,096,823).

Go, down to the last node

1.04 billion

syntax nodes from 173,857 Go files, every version of every file, parsed with Go's own go/parser (Go 1.27.4).

Symbols
14,858,029
Calls
59,876,655
References
62,940,834
Imports
1,096,823

Left out: 13,835 generated files, 4,560 with syntax errors and 108 too big to parse.

Counted with SQL on demo.ahto.dev, 2026-11-26.

What the lake stores for each language
Stored per languageGoRustC, C++PHPJS, TS
History, blame and changesYesYesYesYesYes
Language and lines per fileYesYesYesYesYes
Text and searchYesYesYesYesYes
Symbols, imports and commentsYesYesYesYesYes
Full syntax treeYesYesYesYesYes
Calls, resolved within the fileYesYesYesYesYes
Calls, resolved across filesNot yetNot yetNot yetNot yetNot yet
Canvas graphYesYesYesYesYes

Every parsed language gets the same tables. A call is resolved to its target within its file; across files, the Canvas links it by name: in Go to a function in the same folder or in an imported package of the module, in the other languages to the one definition of that name in the commit.

Languages 16 parsed today
  • Go.go · Go's own go/parser
  • Rust.rs · tree-sitter
  • C, C++.c .h .cpp and more · tree-sitter
  • JavaScript.js .mjs .cjs .jsx · tree-sitter
  • TypeScript, TSX.ts .mts .cts .tsx · tree-sitter
  • Python.py .pyi · tree-sitter
  • Java.java · tree-sitter
  • PHP.php · tree-sitter
  • Solidity.sol · tree-sitter
  • Cairo.cairo · tree-sitter
  • FunC.fc .func · tree-sitter
  • Circom.circom · tree-sitter
  • Tact.tact · tree-sitter
  • Move.move · tree-sitter
  • Sway.sw · tree-sitter

How it works

Crawl, serve, then ask your agent.

Two commands take a repository to a lake and a gateway. Then your coding agent asks it in plain words, over MCP. Each step has a guide; the docs open inside the app at /docs, with an explorer that sends real requests.

  1. Crawl

    Give it a URL or a local path. It keeps a bare mirror and writes every commit, file and change as Parquet. Run it again and only the new commits are read.

    $ ahto crawl https://github.com/golang/go # bare mirror, then Parquet tables
    • Bare Git mirror
    • Parquet lake
    • Incremental
    First crawl
  2. Serve

    One local gateway on one port. The same calls go out over every transport below, so an agent, a script and the web app read the same lake.

    $ ahto serve # 127.0.0.1:8080 by default
    • MCP
    • REST · SSE
    • gRPC
    • WebSocket
    • Arrow
    The gateway
  3. Ask

    Add the gateway to your coding agent and ask in plain words. It calls ahto's answers, such as who knows this code and what a change touches, instead of grepping. SQL is there for anything they don't cover.

    $ claude mcp add --transport http \ ahto http://127.0.0.1:8080/mcp > who should review a change to src/runtime/preempt.go?
    • explain_symbol
    • impact
    • hot_files
    • lone_maintainer
    Agents

The gateway

One port, every transport.

Try them in the API explorer

For agents

MCP
/mcpStreamable HTTP. Every call is a tool.
Docs for agents
/llms.txtThe guides as plain text, plus /llms-full.txt.

Calls

REST
/v1/…JSON in and out; described in /openapi.json.
gRPC
same portTold apart by its content type, no extra listener.
JSON-RPC 2.0
/rpcBatches, and an OpenRPC description.
GraphQL
/graphqlEvery call is a field.

Streams

Server-sent events
text/event-streamA REST call that streams sends each answer as an event.
WebSocket
/wsMany calls on one connection, each can be cancelled; binary frames when a call asks for Arrow.
MQTT 3.1.1 and 5
/mqttA broker over WebSocket: publish to rpc/<name>.

Raw data

Arrow IPC stream
/arrow/v1/<repo>/…Files, activity, stats and SQL results as application/vnd.apache.arrow.stream, every row in one stream.
Function results
/arrow/fn/v1/<name>What a WebAssembly function returns, as Arrow.
Raw bytes
/raw/v1/<repo>/blob/<id>A file's exact bytes at any commit, cached for good.

For agents

Your agent gets answers. You decide what it may call.

  • Stays on 127.0.0.1 unless you open it. No telemetry.
  • An allow list and a deny list for what agents may call.
  • Read-only SQL, with row and time limits and no files outside the lake.
  • Emails hidden in SQL answers.
  • The secret scan names the rule and the line, never the secret.

Not hidden yet: a secret committed inside a file. An agent allowed to read files, search or run SQL can see it.

  • MCP
  • REST
  • JSON-RPC
  • GraphQL
  • gRPC
  • WebSocket
  • SSE
  • MQTT
  • Arrow IPC
  • All transports
ahto.yaml · agent access

protocol:

listen: 127.0.0.1:8080

mcp:

allow:

  • - source_list_history# commits that changed a path
  • - source_get_blame# who wrote each line
  • - source_get_activity# changes per day, week, month
  • - security_list_findings# riskiest dependencies first

# none of these returns a file's text

Replay, live on the demo

Press play on the whole history. Then go back.

Play on the demo's time bar walks a repository, a folder or a file through its history, a year, month, day or hour at a time, at up to ten times speed. The tree, the file and the City redraw as they stood, streamed live into the open tab. Pause anywhere, pick a bar to stand at that moment, and Now brings you back.

  • torvalds/linux
  • golang/go
  • rust-lang/rust
  • php/php-src
  • nodejs/node