hodor: An Agentic Code Reviewer That Reads Across Files
A young TypeScript repo that runs multi-step, tool-using reviews on GitHub PRs and GitLab MRs — and the reason cross-file bugs are the real target.
What you will learn
- What mr-karan/hodor actually does when it reviews a pull request or merge request.
- Why “cross-file” is the phrase that matters, and where single-file linters and diff-only reviewers fall down.
- How the agent loop works — tool orchestration, multi-step reasoning, reading beyond the diff.
- What you need before you wire it into a repo (and the honest limits of a young project).
- Where it fits next to other agent tooling on SynapsFlow, and what to watch before trusting it on a team.
What is hodor, and why does “cross-file” matter?
hodor is a code review agent for GitHub pull requests and GitLab merge requests. The pitch, as written in the repo’s own description, is multi-step reasoning with autonomous tool orchestration — catches bugs requiring analysis across files. That last clause is the whole product thesis, so let’s be precise about it.
Most automated review you’ve met is diff-shaped. It looks at the changed lines, maybe the changed file, and comments on what it can see in that window. That catches style problems, obvious null dereferences, and “you forgot to update the test.” It does not catch the bug where your PR renames a field in user.ts, and three directories away a serializer still reads the old key, and a downstream job now quietly writes nulls. No single hunk contains that bug. It only exists in the relationship between files.
hodor’s answer is to give the model tools and let it decide what to read next: open another file, follow a call site, inspect a related module, then reason again with what it found. That’s an agent loop, not a classifier. And it’s the right shape for the problem — because the evidence you need is usually not in the diff.

How does the agent loop actually work?
According to the repository description, hodor combines two things: multi-step reasoning and autonomous tool orchestration. In practice, that means the reviewer isn’t a single prompt over a patch. It plans, acts, observes, and repeats — the classic agent cycle — with code-search and file-reading tools in its hands rather than a fixed context window stuffed with whatever the platform decided to send.
The repo’s summary states plainly that it targets bugs requiring analysis across files. That framing tells you how to evaluate it. Don’t test it on a formatting nit; test it on a change whose correctness depends on something two hops away. If the agent can find the second file on its own, the orchestration is doing real work. If it comments only on the lines it was handed, you’ve learned something too.
The project is written in TypeScript, which matters more than it sounds: it means the thing is meant to live in the same ecosystem as your CI scripts and webhooks, not as a Python research artifact you have to wrap. And it is young. GitHub Trending surfaced it as a small, freshly noticed repository — treat it as an early project, not a mature product with years of edge cases sanded off. You are an early adopter here, with everything that implies about docs, breaking changes, and rough edges.
How do you set it up and try it?
Here’s the honest part: because hodor is a young repository, the exact install commands and configuration keys are the thing most likely to change. Rather than invent flags that may not exist, read the README on mr-karan/hodor first and follow it as the source of truth. What I can tell you is the shape of the setup you should expect, and the decisions you’ll need to make.
- Clone and build. It’s a TypeScript project, so the usual flow applies: clone the repo, install dependencies with your package manager of choice, and build or run it per the README. Expect a
package.jsonwith scripts rather than a global binary. - Pick a model provider. An agentic reviewer makes many model calls per PR — that’s the cost of multi-step reasoning. Budget for it, and choose a model strong enough to plan tool use reliably. Weak models in agent loops tend to wander.
- Connect the forge. You’ll need credentials for GitHub or GitLab — a token with permission to read pull/merge requests and post review comments. Scope it to the repos you actually want reviewed; don’t hand it org-wide write access on day one.
- Wire the trigger. Reviews fire on PR/MR events. Whether hodor ships a webhook server, a CLI you call from CI, or both, the pattern is the same: an event arrives, the agent runs, comments land on the diff.
- Run it on a real, messy PR. Not a toy. Pick a change that touched several files and see whether the agent follows the thread.
A small example of the kind of change worth testing on: a PR that changes a function’s return shape in one module while a consumer in another module still destructures the old fields. The diff looks clean. The bug is one file over. That is precisely the class of defect hodor claims to hunt.
Where does it fall short, and who should use it?
Let’s be clear-eyed. First, this is an early-stage repo. Documentation, configuration surface, and stability are all moving targets; if you need something you can drop into a regulated CI pipeline tomorrow with a support contract, you are early. Second, agentic review is not free — multi-step tool use multiplies token spend per PR, and you should watch that number before rolling it out broadly. Third, there is a real risk of confident-but-wrong comments: an agent that reads five files can also misread five files. Expect to tune what it’s allowed to say, and expect reviewers to ignore some of it at first.
Who is it for? Teams already running AI review who’ve hit the ceiling of diff-only tools and want something that reasons about the codebase, not just the patch. Platform engineers who like wiring webhooks and tokens. People who’d rather evaluate a young agent honestly than wait for a vendor. If you’re in that group, hodor is worth an afternoon.
It also fits a pattern you’re seeing across the tooling on SynapsFlow: agents are moving from “answer my question” to “do the multi-step job.” That’s the same shift behind claude-mem, which gives every AI agent a memory, and behind Squadra, which makes Claude, Codex and Cursor share one brain. Review is a natural next stop, because it’s a task with tools, steps, and a clear pass/fail signal. If you want the broader context on where this is heading, read why China’s AI industry is done chasing models and wants agents. And if you’re already running agents in your editor, Poracode’s single-window approach to coding agents is a useful counterpoint on where the human stays in the loop.
The short version: hodor is a small, young, TypeScript agent with a sharp thesis — review the codebase, not the diff. Try it on the PR that scared you, not the one that didn’t.
Discussion
Add a comment