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

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.11
File Size Uploaded
sourceindex-0.1.11.tar.gz 213.6 kB Details

Built distribution (wheel)

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

Total release size: 464.8 kB

Release files / sourceindex-0.1.11.tar.gz

Download URL sourceindex-0.1.11.tar.gz
Size 213.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ab4ad83b60367d2aa707603ed93a435540dcb9eec2a301cb0cf62fdc2f47a0da
BLAKE2b-256 checksum
How to use checksums
118fa0c6cf7fa0c3a8e64896de34c58aff648f64f6b06a4526598d3a92d6d74b
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.11-py3-none-any.whl

Download URL sourceindex-0.1.11-py3-none-any.whl
Size 251.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fec8e4d727f9cb3ddf28a81ca9ce194d03e4ab7afd01ba7597d84a30a51a083
BLAKE2b-256 checksum
How to use checksums
b0fd0a299725f5700aebd30a1998d727dff8e7b9b11f07b1f878eaaa5e1cc858
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