Skip to content

v0.21.0 — Git repositories as living sources

Choose a tag to compare

@thrashr888 thrashr888 released this 20 Jul 17:41

Highlights

  • Git repositories are first-class sources. Paste a GitHub, GitHub Enterprise, or any git URL — or point Alchemy at a local checkout — and it becomes a living source that re-syncs automatically. A repo-home URL captures just the README by default; a /tree or clone URL brings the whole thing.
  • Choose what to import, before you import. Git-shaped URLs show a README · Docs · Everything ladder right in the add dialog, so you pull only the written knowledge when that's all you want.
  • Built for big repos. Large repositories embed their docs and READMEs while code stays searchable-not-embedded, so a monorepo costs almost nothing at rest. Code is still fully findable — a ripgrep pass joins chat retrieval whenever your question looks like code, and per-file symbol outlines make definitions searchable by name.
  • A real repo reader. Opening a repo gives you a file tree, syntax-highlighted code (themed to match every color scheme), Finder-style breadcrumbs, a line-number toggle, and select-code-to-chat. Promote or demote any file between embedded and search-only from the same view.
  • Uses your own git credentials, stores no tokens. Private and Enterprise repos work because your SSH keys, credential helpers, and gh auth already do — Alchemy never holds a secret. Remote repos re-fetch on a cadence you set (Settings → Sources), or never, if you prefer.
  • Agents can search your repos. The MCP server gains grep_sources (exact/regex) and ast_search (structural code patterns like $X.unwrap()), so connected agents explore repositories through Alchemy without cloning anything.
  • Settings, reorganized. General now splits into General, Sources, and Studio tabs.

Notes

  • Code files ingest verbatim (indentation preserved) and chunk on structure, not prose windows. Symbol outlines cover ~15 languages via bundled tree-sitter grammars.
  • See docs/RFC-git-sources.md for the full design.

Full Changelog: v0.20.0...v0.21.0