Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.2.0 instead.

Getting Started with SourceIndex

Hey — and thank you! You're the very first person outside the team to try SourceIndex, and that genuinely means a lot. I'm really glad you're giving it a go.

Anything you notice along the way — good, bad, broken, or just "huh, that's weird" — would be hugely helpful to hear. No feedback is too small.

What it is

When you ask a coding agent to fix or build something, it has to find the relevant code first. By default Claude Code, opencode, and Codex do that live, in your session. SourceIndex does it ahead of time so the agent jumps straight to the right files.

Best on an existing repo you didn't fully write yourself. Not very useful on a brand-new empty project.

Install and set up

You'll need Python 3.10+ and a SourceIndex API key (starts with sk-si-). Apply for access at https://sourceindex.dev/access.

Easiest path: open this file in Claude Code, opencode, or Codex and tell it "set sourceindex up in this repo." It can run the steps for you.

If you'd rather do it by hand:

pip install sourceindex
cd /path/to/your/repo
sourceindex init             # auto-detects your agent(s)
sourceindex init claude      # set up Claude Code only
sourceindex init opencode    # set up opencode only
sourceindex init codex       # set up Codex only

It'll prompt for the key, set up some git hooks plus a subagent (Claude Code, opencode) or an MCP server registration (Codex) for the coding agent your repo already uses (a CLAUDE.md or .claude/ means Claude Code; a .opencode/ means opencode; a .codex/ means Codex; an AGENTS.md alone means both opencode and Codex; none of those means Claude Code), and scan your repo. A few minutes, once per repo. You can also name several at once (sourceindex init claude opencode codex), and it's safe to re-run init later to add another agent. If you don't have a CLAUDE.md (Claude Code) or AGENTS.md (opencode, Codex) yet, run /init in your agent first.

To replace a rotated or expired key later:

sourceindex api-key set

That prompts for the new key and persists it as your user-level default. New repos and repos without a local override will use it automatically. For automation, use sourceindex api-key set --from-env with SOURCEINDEX_API_KEY already set, pass --api-key sk-si-..., or pass the key positionally: sourceindex api-key set sk-si-....

To set a repo-local override:

sourceindex api-key set --local

Explicit environment variables still win, and a repo-local key overrides the global default.

Day-to-day

Nothing. Open the repo in Claude Code, opencode, or Codex as usual — it'll use SourceIndex on its own.

Feedback I'd love

  • Did sourceindex init finish cleanly?
  • Does the agent feel different? Even "I can't tell" is useful.
  • Anything in this doc that didn't land.

More about the project lives at https://sourceindex.dev, and you can reach us any time at hi@sourceindex.dev.

Thanks!

Release files for SourceIndex 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SourceIndex 0.1.13
File Size Uploaded
sourceindex-0.1.13.tar.gz 259.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SourceIndex 0.1.13
File Interpreter ABI Platform
sourceindex-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 561.0 kB

Release files / sourceindex-0.1.13.tar.gz

Download URL sourceindex-0.1.13.tar.gz
Size 259.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4216b01722a9cc2033db2c7e8f12014f720926da84b8b88a73e753a7ff80b1a0
BLAKE2b-256 checksum
How to use checksums
afd80186573828a404ea7f30e4173bad8f888807cb8e10cc1b5f2106a2aac8e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sourceindex-0.1.13-py3-none-any.whl

Download URL sourceindex-0.1.13-py3-none-any.whl
Size 302.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b867280f355bd3b8a382c28ae1a4e56450eced0d00f1e8d2e99068ac6ffd43cd
BLAKE2b-256 checksum
How to use checksums
53cde890396058730e3849ab92c6a60ad4c5e2d5e97decb9e15aef7c8bd4d32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page