@ekaone/repo-intel
v0.1.7
Published
Scan your repository and generate AI agent context files — powered by a Rust core
Maintainers
Readme
repo-intel
Understand any codebase instantly. Scan your repository and generate AI agent context files — powered by a blazing-fast Rust core.
Installation
npm install @ekaone/repo-intel
# or
pnpm add @ekaone/repo-intelProgrammatic API
import { analyze, scan, generate } from "@ekaone/repo-intel";
// Full pipeline: scan + AI generate
const result = await analyze({ root: process.cwd() });
// Just scan (returns context.json as object)
const context = await scan({ root: process.cwd() });
// Generate agent docs from an existing context
await generate({ context, outputDir: "agents" });CLI
# Generate agent docs
npx @ekaone/repo-intel generate
# Just scan and print context.json
npx @ekaone/repo-intel scan
# Use a specific AI provider
npx @ekaone/repo-intel generate --provider anthropicConfiguration
Create .repo-intel.toml in your project root:
[ai]
provider = "anthropic"
model = "claude-sonnet-4-20250514"
[output]
dir = "agents"See docs/providers.md for provider setup.
