Voyager Repo

io.github.dir-aiPublished by GitHub account dir-aiv0.7.0Updated Oct 24, 2026

An AI agent's safe read-only scout to orient in an unknown repository before touching it.

VerifiedSTDIODesktop onlyDeveloper ToolsSecurity & Monitoring

Overview

AI-generated overview

Read-only scout that orients an AI assistant in an unfamiliar repository, returning a structured brief on purpose, structure, build, health, dependencies and…

What you can do
  • Scout a repository and produce an orientation brief: inferred purpose, languages, key directories and entrypoints.
  • Detect install, build, test and run commands without executing them.
  • Report git health signals such as commit count, bus factor, recency and churn hotspots.
  • Flag risks including install hooks, committed secrets, missing lockfiles and large opaque binaries.
  • Optionally vet a limited number of dependencies through Voyager with OSV-gated verdicts.
  • End with an ordered approach plan and respect any Repotector zones or leases found in the repo.
When to use it
Useful when an assistant is about to work in a codebase it has never seen and should first understand layout, build steps, ownership patterns and hazards. It suits cautious onboarding and pre-edit triage rather than active development or code execution.
Requirements
Runs as a local process, started via npx from the npm package @dir-ai/voyager-repo (Node.js required) or through the mcp subcommand. Desktop only; no authentication, environment variables or headers are declared. Dependency vetting composes with Voyager.
Before you install
Read-only by default; installing dependencies, executing code or cloning remotes is withheld unless explicitly allowed, and execution should happen in a sandbox. Owner-controlled text such as READMEs and commit messages is treated as untrusted and injection-stripped. The project is at 0.x, so behavior may change.

Installation

In SourceWeft

  1. Open Voyager Repo in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

voyager-repo

Voyager's repo-penetration organ — the eyes an AI agent sends ahead before it touches an unknown repository.

Voyager penetrates the web (@dir-ai/voyager), the repo (this), and — next — networks. Repotector is the repo's guardian that receives and controls; Voyager Repo is the agent's counterpart that reaches outward and reports back, safely.

bash
npx @dir-ai/voyager-repo scout .          # orient in the repo you're standing innpx @dir-ai/voyager-repo scout . --check-deps 10   # + vet 10 deps via Voyager

What it does

Like how Claude or Codex orient themselves in a new codebase — but as a safe, repeatable tool. scout produces an orientation brief:

  • purpose — inferred from the manifest/README, framed as untrusted (owner text is injection-stripped before it reaches your model)
  • structure — languages, key dirs (with role guesses), entrypoints
  • build — the install/build/test/run commands (detected, never run)
  • health — git signals: commit count, bus factor (top-author share), recency, churn hotspots
  • dependencies — composes with Voyager to give each dependency a real OSV-gated verdict (--check-deps N)
  • risks — install hooks (RCE on npm install), committed secrets, missing lockfile, large opaque binaries
  • approach plan — see below

The approach protocol (the point)

A careful newcomer, not a bulldozer:

  1. Handshake with Repotector if the repo carries one (.repotector/) — read its active zones/leases and respect them before editing.
  2. Fail-closed permissions. Everything is read-only by default. Installing dependencies, executing code, or cloning a remote is withheld until you consent (--allow-install / --allow-exec / --allow-clone) — and execution, when allowed, belongs in a sandbox.
  3. An orderly tour — the brief ends with the ordered next steps a well-behaved agent should take, so it explores on purpose instead of poking at random.

Guarantees

  • Nothing in the target is executed on the host. scout reads files and git; it never runs the repo's code. (Execution, when consented, runs in Voyager's hardened container.)
  • Every owner-controlled byte is untrusted — README, description, commit messages, the Repotector ledger — injection-stripped and framed before your model sees it.
  • Exit codes: 0 oriented · 1 oriented + HIGH-risk finding(s) · 2 tool error.

MCP

bash
voyager-repo mcp

Tool: scout_repo — same orientation, safe-by-default (invasive flags off).

Library

ts
import { scout } from '@dir-ai/voyager-repo'const brief = await scout('/path/to/repo', { checkDeps: 10 })if (brief.risks.some((r) => r.level === 'high')) { /* caution */ }

Status

0.x — Phase 1 (repo orientation) of the Voyager "senses" line. Roadmap: capability analysis of a package's tarball, PyPI/cargo/go dependency vetting, and the net organ (cloud/infra introspection).

License

MIT

Source: README.md at commit b760ece

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.7.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts