RepoRose

Loading RepoRose...

v1.0 · npm
LiveContext engineeringOpen source

StoplettingyourAIreadblind.

One small file. Total codebase context for any agent.Cut tokens by ~90%, kill repo re-reads, ship faster.

Terminal
$npm i -g reporose
Scroll · why it matters
~90% fewer tokens100% open sourceGPL v3 licensedAST-based scanningTarjan's SCC algorithmTHIS IS A LONG MONITOR DUDEOllama · Anthropic · Groq · OpenAI3D codebase visualizationBuilt for autonomous agents
~90% fewer tokens100% open sourceGPL v3 licensedAST-based scanningTarjan's SCC algorithmTHIS IS A LONG MONITOR DUDEOllama · Anthropic · Groq · OpenAI3D codebase visualizationBuilt for autonomous agents
~90% fewer tokens100% open sourceGPL v3 licensedAST-based scanningTarjan's SCC algorithmTHIS IS A LONG MONITOR DUDEOllama · Anthropic · Groq · OpenAI3D codebase visualizationBuilt for autonomous agents
~90% fewer tokens100% open sourceGPL v3 licensedAST-based scanningTarjan's SCC algorithmTHIS IS A LONG MONITOR DUDEOllama · Anthropic · Groq · OpenAI3D codebase visualizationBuilt for autonomous agents
[ chapter one — the problem ]

MostAItoolsarereadingyourrepo allwrong.

Either passing too little context (hallucinations), or shoveling the entire repo into the prompt (token bonfire). Here's what that actually looks like, three turns deep.

Turn
01
02
03
01 / 03

Your agent opens the repo blind.

It has no idea what's a route, a service, a model, or a config. Every file looks equally important.

→ Wastes 40+ tool calls just orienting itself.

It reads. And re-reads. And re-reads.

Every prompt re-discovers the same files. The same imports. The same circular dependencies it already missed last time.

→ Burns ~12k tokens per turn on context it should already have.

It still gets it wrong.

Without architectural awareness, it duplicates utilities, breaks circular boundaries, and confidently writes code that already exists.

→ You ship the bug. Or worse, you ship a regression.
[ chapter two — the answer ]

What if your AI already knew before it asked?

[ the artifact ]

Onefile.
Totalcontext.

.reporose / map.json
generating…

map.jsondescribes every file: its role, exports, dependencies, and a one-line AI-generated summary. Drop it into your agent's system context. That's it.

Tokens vs full repo
~10%
Setup time
< 60s
Languages parsed
JS · TS · JSX · TSX
Detects circular deps
Tarjan SCC
[ chapter three — the toolkit ]

Fourmoves.
Onecoherentmap.

Parser
01

AST-based scanning

Parses every JS/TS/JSX/TSX file with ts-morph. Extracts each function, import, export, and re-export with surgical precision.

$reporose analyze --src ./src
Parsing 142 files…
Extracted 1,283 exports
Resolved 4,209 imports
Found 7 entry points
Linking dependency graph…
Wrote .reporose/map.json (38 KB)
Algorithm
03

Circular dependency detection

Tarjan's strongly-connected-components catches every direct and indirect cycle automatically.

auth.ts
imports
user.ts
↓ imports back ↓
session.ts
imports
cycle: 3 nodes
LLM Layer
02

AI summaries

Plug in Ollama, Anthropic, Groq, or OpenAI. Each file gets a one-line description that actually means something.

Ollama
Anthropic
Groq
OpenAI
Local server
04

3D codebase view

Interactive force-directed graph. See your architecture, find hotspots, navigate by clicking.

[ chapter four — the workflow ]

Threecommands.
Underaminute.

01
[ install ]

Install once.

Globally on your machine. No config, no API keys required for the default local mode.

Adds the `reporose` binary to your PATH. ~12 MB.

Terminal
$npm i -g reporose
02
[ analyze ]

Run it on your repo.

Parses every JS/TS file, generates AI summaries, builds the dependency graph, writes one map.json.

Done in seconds for most repos. Use --provider to pick your LLM.

Terminal
$reporose analyze
03
[ use ]

Drop into your agent.

Paste map.json into context, or run `reporose serve` for the interactive 3D view at localhost:8689.

Spins up the 3D codebase explorer for navigation and review.

Terminal
$reporose serve
[ the manifesto ]

100%free.
Alwayswillbe.

RepoRose isn't a freemium SaaS waiting to upsell you. It's an open-source CLI built for the developers who use AI agents every day. No paywalls. No quota. No catch.

GPL v3 licensed

Use it commercially, fork it, modify it, ship it. No strings.

Local-first

Your code never leaves your machine. Default mode runs on Ollama.

No telemetry

No accounts, no tracking, no analytics phoning home.

No vendor lock-in

Open output format. The map.json is yours to do anything with.

↳ contributions welcome
[ end of story ]

GiveyourAI
themap.

One install. One file. Infinite focus.

Terminal
$npm i -g reporose
v1.0 · GPL v3 · npm
RepoRose

Context for AI agents. One small file that gives autonomous tools real codebase awareness.

ibrahim@reporose.tech
Meta
  • v1.0 · 2026
  • GPL v3 licensed
  • Built with care and lots of love
© 2026 RepoRosemade for agents that know better