npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

indusagi-coding-agent

v0.2.2

Published

Indusagi coding agent — a terminal-first AI coding agent, built from scratch on the indusagi framework.

Downloads

1,380

Readme

indusagi coding agent

A terminal-first AI coding agent. Talk to it in your terminal, point it at a repo, and it reads, writes, runs, and reasons about your code. It runs entirely on the indusagi framework — one dependency for the LLM API, agent loop, terminal UI, MCP client, and tracing.

It is built from scratch: every module was written from a behavioral spec and the framework's public API, never by copying third-party application source. See CREDITS.md and NOTICE.

indus                      # start an interactive session in the current repo
indus "fix the failing test in src/auth"
indus -p "summarise what changed on this branch"   # headless, prints result, exits
indus --json               # line protocol for a driving parent process

(The bin is installed as both indus and indusagi.)

Install & build

npm install
npm run build          # esbuild bundle -> dist/entry.js  +  tsc d.ts -> dist/types
npm test               # vitest
npm run typecheck      # tsc --noEmit
npm run lineage-scan   # fails if any external-source marker appears in non-test source

Requires Node >= 20. Authenticate with an API key — set ANTHROPIC_API_KEY (or another supported provider key) in the environment, or run indus signin. API-key auth only; there is no OAuth path.

Run modes

| Invocation | Mode | What it does | |------------|------|--------------| | indus | interactive | Ink/React REPL — streaming replies, a live tool deck, slash-commands | | indus -p "…" / --print | print | One request, prints the final result, exits | | indus --json / --rpc | line protocol | Newline-delimited JSON for a parent process to drive | | indus signin / signout | credentials | Store / clear the API key in the local auth vault |

indus --help prints the full flag grammar (generated from one flag table); indus --version prints the version.

Architecture

The binary is src/entry.ts. Boot resolves the invocation, prepares the workspace, and selects a runner. Each subsystem is a self-contained module and is also exported as a namespace from src/index.ts for embedding and testing.

| Module | Responsibility | |--------|----------------| | boot | argv → invocation, workspace prep, runner selection, upgrades | | workspace | per-project + global dirs, settings, session paths | | launch | flag grammar (readInvocation / renderUsage), @file attachments, credentials, model catalog & pickers | | conductor | the conversation loop — turns, tool invocation, fault/retry, branch/resume, compaction | | window-budget | token accounting + context-window compaction policy | | capability-deck | the tool registry (read/write/bash/glob/grep/fetch/search …) | | runtime-bridge | framework wiring — models, MCP, providers | | addons | loadable extensions: skills & subagents | | console | the interactive Ink/React surface | | channels | print + line-protocol headless surfaces | | briefing | system prompt / context assembly | | transcript-export | session persistence + HTML/markdown export | | insight | tracing (Trail / Probe / Signal), sinks, replay, secret redaction | | kit | leaf helpers (image sniff, managed-binary fetch, shell quoting) |

Clean-room posture

npm run lineage-scan runs scripts/lineage-scan.mjs, which walks src/ and exits non-zero if any non-test file carries an external-source marker. Test files are excluded by design — several of them assert the absence of those markers. The scan is part of every release check.

License

See NOTICE and CREDITS.md.