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.1.tar.gz (633.6 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.1-py3-none-any.whl (602.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: induscode-0.1.1.tar.gz
  • Upload date:
  • Size: 633.6 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.1.tar.gz
Algorithm Hash digest
SHA256 209b44bc3c2ae94905e16690534bfbad479a411bd0fbfb850d0567d4266334ff
MD5 ee7c2d4d940002a2eb1368b1d33a5097
BLAKE2b-256 0e477bc75862849100ef376d2b9741a6090aecd0f15be4794108f0f32a7e9908

See more details on using hashes here.

File details

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

File metadata

  • Download URL: induscode-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 602.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1520ab4fad6caa8dee913e0686f087ac664d4eb1e24ed1a8de765a9e519fae26
MD5 0608c04a9dba89bc5d429bc8abdb5955
BLAKE2b-256 0cdf428bde645775672da4f01c25ca8b0d2712f5fcc576eea8dfe3ad1b9ed21d

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