Skip to main content

Indusagi coding agent — terminal-first AI coding agent on the indusagi framework (Python rebuild)

Project description

induscode

A terminal-first AI coding agent for your shell. A full coding assistant — read/write/edit files, run commands, search the codebase, mount MCP servers, branch and resume sessions — in a streaming Textual terminal UI. Built on the indusagi framework.

pip install induscode

That's it — induscode pulls in the indusagi framework (with the mcp and tui extras) automatically. Requires Python 3.11+.

Quick start

Set your provider API key, then run it:

export ANTHROPIC_API_KEY=sk-ant-...        # or OPENAI_API_KEY, GOOGLE_API_KEY, …
pindus                                     # launch the interactive console

The package installs two console scripts — pindus (primary) and induscode (alias). They're identical; use whichever you like.

pindus                                  # interactive Textual console
pindus -p "explain this repo"           # one-shot: print the answer and exit
pindus -p --json "explain this repo"    # headless NDJSON line protocol (for hosts)
pindus -m claude-haiku-4-5 -p "hi"      # pick a model
pindus --list-models                    # browse the provider/model catalog
pindus signin                           # store credentials (OAuth or API key)
pindus signin --list                    # show stored accounts
pindus --help                           # full flag table (@file attachments, --, …)

In the console

  • Streaming markdown answers, structured diffs, and collapsible tool cards (Ctrl-O to expand)
  • Slash commands/model, /settings, /theme, /resume, /branch, /timeline, /export, /keys, /help, and ~20 more
  • !command to run a shell command inline
  • Esc aborts a running turn; Ctrl-C exits
  • A footer with live token / cost / context-window % for the active model
  • Twelve dialogs: model picker, scoped models, settings, theme (live preview), session browser, branch tree, login, and more
  • Branchable session history — resume a prior session, fork from any turn

Configuration

  • API keys come from the standard provider env vars (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, …), or run pindus signin for OAuth.
  • State (sessions, settings, credentials) lives under ~/.pindusagi/. Override with INDUSAGI_CODING_AGENT_DIR or INDUSAGI_HOME.
  • Per-project settings: <cwd>/.pindusagi/settings.json.
  • MCP servers: mount external tool servers with repeatable --mcp <server>.
  • Project context: AGENTS.md / CLAUDE.md in the working directory are picked up automatically.

What it can do

A complete coding-agent tool suite: read / write / edit files, run shell commands and background processes, grep and find across the tree, fetch web pages and search, a todo planner, MCP-mounted remote tools, and Composio SaaS connectors. Works with 849 models across 24 providers via the indusagi catalog.

Development

# install the framework editable first, then the agent
pip install -e ../indusagi-python-rebuild
pip install -e ".[dev]"
pytest            # 703 tests; network-free (mock connector, Textual Pilot)

License

MIT. See NOTICE and CREDITS.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

induscode-0.1.4.tar.gz (689.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

induscode-0.1.4-py3-none-any.whl (644.4 kB view details)

Uploaded Python 3

File details

Details for the file induscode-0.1.4.tar.gz.

File metadata

  • Download URL: induscode-0.1.4.tar.gz
  • Upload date:
  • Size: 689.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for induscode-0.1.4.tar.gz
Algorithm Hash digest
SHA256 51fca26c130c0d7f44b6c9842c35bccd0e779e3c0dc19a4ac2e771bfadb08774
MD5 3d08532da0baf6dbd50d0de14cfdcfa2
BLAKE2b-256 147eec415b61d0742da031b021d54813bbfed19012418e043a58cee113295cfb

See more details on using hashes here.

File details

Details for the file induscode-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: induscode-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 644.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for induscode-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1535db220a294a1fb143b6da716a349189091937b845f8226e20f49d302c15b0
MD5 ba7b6f034e762b3a416bf9639a4c760a
BLAKE2b-256 49f3d3f42bd1c03d3c08fa55120f64b6d856a3847c001ce3f74a723c43963c44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page