sage  by Storia-AI

Open-source GitHub Copilot alternative for codebase understanding

created 11 months ago
1,252 stars

Top 32.2% on sourcepulse

GitHubView on GitHub
Project Summary

Sage is an open-source tool designed to help developers understand and integrate with any codebase quickly, functioning as an alternative to GitHub Copilot. It targets developers who need to learn new codebases efficiently, offering a significant time-saving benefit by reducing manual code exploration.

How It Works

Sage employs a retrieval-augmented generation (RAG) approach, allowing users to chat with their codebase. It supports flexible retrieval mechanisms, ranging from lightweight strategies requiring only an LLM API key to more traditional RAG setups that involve indexing the codebase. This modular design allows for pluggable embedding models, LLM providers (local via Ollama or cloud APIs like OpenAI/Anthropic), and vector stores (like Marqo).

Quick Start & Requirements

  • Install: Follow the quickstart guide.
  • Prerequisites: Python, Ollama (for local LLMs), Marqo (for local vector store), or API keys for third-party LLM providers.
  • Resources: Local setup with Ollama and Marqo requires sufficient disk space for indexed codebases and LLM models.
  • Links: Hosted app, Documentation

Highlighted Details

  • Chat with any codebase in under two minutes.
  • Fully local or cloud-based operation for privacy and quality optimization.
  • Modular architecture for easy integration of custom LLMs, embedding models, and vector stores.
  • Well-documented experiments profiling various retrieval strategies.

Maintenance & Community

The project is actively seeking contributions and feature requests via email or pull requests. They offer to host OSS repositories for free on their platform.

Licensing & Compatibility

The repository's license is not explicitly stated in the provided README.

Limitations & Caveats

The README does not detail specific limitations, known bugs, or deprecation status. The "fully local" setup requires managing local LLM and vector store deployments.

Health Check
Last commit

8 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
37 stars in the last 90 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Alex Cheema Alex Cheema(Cofounder of EXO Labs), and
3 more.

Perplexica by ItzCrazyKns

0.3%
23k
AI-powered search engine alternative
created 1 year ago
updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Tim J. Baek Tim J. Baek(Founder of Open WebUI), and
2 more.

llmware by llmware-ai

0.2%
14k
Framework for enterprise RAG pipelines using small, specialized models
created 1 year ago
updated 1 week ago
Feedback? Help us improve.