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.5

Published

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

Downloads

690

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) |

Zoho CRM (native MCP)

Native Zoho CRM tools are wired through the local framework package indusagi/zoho (connectZohoMcp). This agent only hosts UX and attaches tools — OAuth + Streamable HTTP live in the framework.

Setup

  1. Create an MCP server at zoho.com/mcp and copy the Connect URL.

  2. Point this package at the local framework (already set in package.json):

    "indusagi": "file:../indus-rebuild"
  3. Build the framework, then this agent:

    cd ../indus-rebuild && npm run build
    cd ../indusagi-coding-agent && npm install && npm run build
  4. Configure the URL (any one of):

    export ZOHO_MCP_URL="https://…"          # preferred
    # or
    indus --zoho-url "https://…" …
    # or project file .indusagi/zoho.json / profile ~/.indusagi/agent/zoho.json
  5. Authenticate with a model key (MINIMAX_API_KEY, ANTHROPIC_API_KEY, …) and run:

    node dist/entry.js -m MiniMax-M2.7 -p "list my Zoho leads"
    # interactive
    node dist/entry.js
    > /zoho status
    > /zoho connect
    > /zoho tools
    > list recent leads from Zoho

First connect may open a browser for Zoho OAuth. Tokens persist under ~/.config/indusagi/credentials/mcp/zoho.json.

| Flag / command | Meaning | |----------------|---------| | --zoho-url <url> | Zoho MCP URL for this run | | --zoho | Force-enable when a URL is resolvable | | --no-zoho / ZOHO_DISABLED=1 | Skip Zoho attach | | /zoho-connect /zoho-disconnect /zoho-status /zoho-tools /zoho-help | Separate slash commands | | /zoho (+ subcommands) | Menu / legacy subcommands |

See ZOHO_NATIVE_PLAN.md for architecture and precedence.

Sarvam AI (native MCP)

Indian-language STT / TTS / translate / vision tools via local indusagi/sarvam-mcp (connectSarvamMcpuvx sarvam-mcp).

Setup

  1. Install uv (provides uvx).
  2. Get a key from dashboard.sarvam.ai/key-management.
  3. Framework already linked: "indusagi": "file:../indus-rebuild".
export SARVAM_API_KEY=…
export MINIMAX_API_KEY=…   # host LLM

node dist/entry.js
> /sarvam-connect
> /sarvam-tools
> Translate "good morning" to Hindi

First connect may take 30–60s while uvx downloads sarvam-mcp.

| Flag / command | Meaning | |----------------|---------| | --sarvam | Force-enable when key is resolvable | | --no-sarvam / SARVAM_DISABLED=1 | Skip Sarvam attach | | --sarvam-key <key> | One-shot key (prefer env) | | --sarvam-base-path <dir> | TTS/docs output dir (default ~/Desktop) | | /sarvam-connect /sarvam-disconnect /sarvam-status /sarvam-tools /sarvam-help | Separate slash commands | | /sarvam | Menu of all Sarvam commands |

See SARVAM_NATIVE_PLAN.md.

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

AGPL-3.0 — see LICENSE, NOTICE, and CREDITS.md.

Private and internal company use is permitted. If you distribute a modified version over a network (including as a hosted/SAAS service), the AGPL requires you to release the complete corresponding source code of that modified version under AGPL-3.0 as well.