Skip to content
inorbithrPublic

About

Give your coding agent the whole Git history. Answers in milliseconds. Local-first.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

760 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ahto

Your coding agent stops running git log and grep itself.

ahto keeps every commit, file, author and symbol of your repositories as tables on your disk. Your agent asks, and gets the answer fast. One binary and a local lake: no account, no cloud, nothing uploaded.

Live demo · Quick start · All commands

The history of the Linux kernel as a 3D city in the ahto web app

One call, not ten

To learn what cleanListing is, who calls it, who owns it and how it got here, an agent used to chain grep, git log and git blame. With ahto it is one MCP call:

{
  "name": "function_call",
  "arguments": {
    "name": "explain_symbol",
    "repository": "<id>",
    "args": {
      "name": "cleanListing"
    }
  }
}

One answer, 22 rows in 7 sections (shortened here), measured at 55 to 88 ms on a first call:

definition  internal/cmd/weave/weave.go:243  function (text string) string (33 lines)
caller      internal/cmd/weave/weave.go:186  main
callee      internal/cmd/weave/weave.go:252  leadingTabs
history     7f05d217867b                     2025-09-15  internal/cmd/weave: print two levels of headings in TOC
owner       Rob Findley                      3 changes, last 2025-09-15
co_change   gotypes/weave.go                 1 of 7 commits that changed it

Tests come as test rows; this symbol has none. Measured on golang/example (76 commits), loopback, an Apple M4 Pro, with ahto v0.1.4-31-gc1e364c (how).

Status: open source and in active development. Commands, tables and settings can still change between releases.

Quick start

curl -fsSL https://ahto.dev/install.sh | sh          # Linux and macOS, amd64 and arm64; no sudo
ahto setup                                           # connect your coding agents
ahto crawl https://github.com/golang/example         # copy the history to your disk and parse it
ahto function call explain_symbol name=cleanListing  # what a symbol is, who calls it, who owns it
ahto security posture                                # grade the repository's safety at its head
ahto history gotypes/weave.go                        # the commits that changed a path
ahto serve                                           # the web app at http://127.0.0.1:8080, API below /api

These are the commands most people need. Every other command, with its flags, is in commands.

Start with ahto setup: without it your coding agents do not see ahto. It registers the MCP server with Claude Code, Codex, Gemini CLI, Cursor and VS Code and installs the ahto-mcp skill (--dry-run changes nothing). Agents reach it while ahto serve runs. SQL stays one command away: ahto query sql "select count(*) from commits" (querying).

The install checks the release archive against its SHA256SUMS and puts the binary in ~/.local/bin. Getting started has the rest: prerequisites, building from source, upgrading and the write token. Development covers building and testing.

What you get

You get Docs
The whole history as Parquet tables, read by the DuckDB engine inside the binary querying, the lake
Symbols, imports, calls and syntax trees parsing
Risk at any commit: OSV, CISA KEV and EPSS advisories against your pinned packages, and a scan for secrets and dangerous calls security
A web app: code browser, 3D city, canvas, SQL workbench and these docs the web app
One port: MCP for agents; REST, gRPC, JSON-RPC, GraphQL, WebSocket and MQTT for programs the gateway
Agents that run from the gateway (off by default) agents
ahto check, ahto task and traces mapped to commits checks, how to, debugger
Networks of your own machines: keys, a signed membership log and sign-in (lake data does not move between peers yet) networking, identity
The SQL workbench on golang/go The canvas on golang/go, with its recent commits and people The security page of golang/go
SQL workbench Canvas Security

The API

ahto serve listens on 127.0.0.1:8080 (loopback only by default). One port, every surface:

Surface Where For
MCP /mcp (/sse is the older transport; ahto serve --stdio for a client that starts ahto) coding agents, set up by ahto setup
REST, JSON-RPC, GraphQL /v1/..., /rpc, /graphql programs
WebSocket, MQTT over WebSocket /ws, /mqtt programs
gRPC, Arrow streams the same port programs
/openapi.json, /llms.txt the same port descriptions of all of the above

The gateway covers each surface, and the API explorer runs on the live demo.

Languages

Symbols, imports, calls, comments and syntax trees. Go uses Go's own go/parser; every other language uses a tree-sitter grammar compiled into the binary.

Language Extensions
Go .go
Rust .rs
C, C++ .c .h, .cc .cpp .cxx .hh .hpp and more
JavaScript, TypeScript, TSX .js .mjs .cjs .jsx, .ts .mts .cts, .tsx
Python, Java, PHP .py .pyi, .java, .php
Solidity, Cairo, FunC, Circom, Tact, Move, Sway .sol, .cairo, .fc .func, .circom, .tact, .move, .sw
Noir .nr, only in a build with -tags noir

A build without cgo parses Go only. Parsing lists the parsing tables and says when files are parsed again.

More

Group Pages
Start Getting started, Quick start, What you get, How to
Use ahto Querying, Parsing, Languages, The lake, Commands
Agents and tools Agents, Checks and the build cache, Debugger
API The API, The gateway
Security and access Security, Sign-in and recovery, Private repositories
Run and operate Configuration, Networking and peers, Organizations, Storage adapters
Project Development, Formal specs, Licence, atlas/: the design documents, what was asked, found, decided and built

Licence

ahto is licensed under the Apache License 2.0. CONTRIBUTING.md says how a change gets merged, and SECURITY.md how to report a vulnerability privately. Vendored third-party grammars keep their own licences (NOTICE); the GPL-3.0 Noir grammar is compiled only with -tags noir (parsing, ADR 0006).

About

Give your coding agent the whole Git history. Answers in milliseconds. Local-first.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages