{"id":14786821,"url":"https://github.com/Storia-AI/sage","last_synced_at":"2025-09-15T07:31:27.316Z","repository":{"id":255033805,"uuid":"846768454","full_name":"Storia-AI/sage","owner":"Storia-AI","description":"Chat with any codebase in under two minutes | Fully local or via third-party APIs","archived":true,"fork":false,"pushed_at":"2024-11-11T04:49:34.000Z","size":10062,"stargazers_count":1228,"open_issues_count":30,"forks_count":110,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-12T04:20:41.739Z","etag":null,"topics":["ai","anthropic","claude","copilot","developer-tools","hacktoberfest","hacktoberfest-2024","hacktoberfest2024","langchain","llm","openai","pinecone","python","rag"],"latest_commit_sha":null,"homepage":"https://sage.storia.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Storia-AI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-23T23:14:55.000Z","updated_at":"2025-05-11T03:36:33.000Z","dependencies_parsed_at":"2024-08-27T16:59:29.941Z","dependency_job_id":"b65cca29-1941-4487-a5a8-53d1bd033736","html_url":"https://github.com/Storia-AI/sage","commit_stats":{"total_commits":129,"total_committers":19,"mean_commits":"6.7894736842105265","dds":"0.24806201550387597","last_synced_commit":"aa5cfeb9981c2d24a127f287658b6e426e7f2dd4"},"previous_names":["storia-ai/repo2vec","storia-ai/codesage"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Storia-AI/sage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Storia-AI%2Fsage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Storia-AI%2Fsage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Storia-AI%2Fsage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Storia-AI%2Fsage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Storia-AI","download_url":"https://codeload.github.com/Storia-AI/sage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Storia-AI%2Fsage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275225181,"owners_count":25427000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anthropic","claude","copilot","developer-tools","hacktoberfest","hacktoberfest-2024","hacktoberfest2024","langchain","llm","openai","pinecone","python","rag"],"created_at":"2024-09-17T08:00:38.342Z","updated_at":"2025-09-15T07:31:26.579Z","avatar_url":"https://github.com/Storia-AI.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n    \u003cimg src=\"assets/storia-logo.png\" alt=\"Logo\" width=\"50\" style=\"border-radius: 15px;\"\u003e\n    \u003ch1 align=\"center\"\u003eSage: Chat with any codebase\u003c/h1\u003e\n    \u003cdiv\u003e\n        \u003ca href=\"https://discord.gg/zbtZe7GcVU\" target==\"_blank\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/1286056351264407643?logo=discord\u0026label=discord\u0026link=https%3A%2F%2Fdiscord.gg%2FzbtZe7GcVU\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://x.com/StoriaAI\" target==\"_blank\"\u003e\u003cimg alt=\"X (formerly Twitter) Follow\" src=\"https://img.shields.io/twitter/follow/Storia-AI?logo=x\u0026link=https%3A%2F%2Fx.com%2FStoriaAI\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/Storia-AI/sage/stargazers\" target==\"_blank\"\u003e\u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/Storia-AI/sage?logo=github\u0026link=https%3A%2F%2Fgithub.com%2FStoria-AI%2Fsage%2Fstargazers\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/Storia-AI/sage/blob/main/LICENSE\" target==\"_blank\"\u003e\u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/Storia-AI/sage\" /\u003e\u003c/a\u003e\n    \u003c/div\u003e\n    \u003cdiv\u003e\n        \u003ca href=\"https://sage-docs.storia.ai\"\u003eDocumentation\u003c/a\u003e\n        \u003cspan\u003e\u0026#183;\u003c/span\u003e\n        \u003ca href=\"https://sage.storia.ai\"\u003eHosted app\u003c/a\u003e\n    \u003c/div\u003e\n    \u003cbr /\u003e\n    \u003cfigure\u003e\n        \u003c!-- The \u003ckbd\u003e and \u003csub\u003e tags are work-arounds for styling, since GitHub doesn't take into account inline styles. Note it might display awkwardly on other Markdown editors. --\u003e\n        \u003ckbd\u003e\u003cimg src=\"assets/chat_screenshot2.png\" alt=\"screenshot\" /\u003e\u003c/kbd\u003e\n        \u003csub\u003e\u003cfigcaption align=\"center\"\u003eOur chat window, showing a conversation with the Transformers library. 🚀\u003c/sub\u003e\u003c/figcaption\u003e\n    \u003c/figure\u003e\n\u003c/div\u003e\n\n***\n\n**Sage** is like an open-source GitHub Copilot that helps you learn how a codebase works and how to integrate it into your project without spending hours sifting through the code.\n\n# Main features\n- **Dead-simple setup**. Follow our [quickstart guide](https://sage-docs.storia.ai/quickstart) to get started.\n- **Runs locally or on the cloud**. When privacy is your priority, you can run the entire pipeline locally using [Ollama](https://ollama.com) for LLMs and [Marqo](https://github.com/marqo-ai/marqo) as a vector store. When optimizing for quality, you can use third-party LLM providers like OpenAI and Anthropic.\n- **Wide range of built-in retrieval mechanisms**. We support both lightweight retrieval strategies (with nothing more but an LLM API key required) and more traditional RAG (which requires indexing the codebase). There are many knobs you can tune for retrieval to work well on your codebase.\n- **Well-documented experiments**. We profile various strategies (for embeddings, retrieval etc.) on our own benchmark and thoroughly [document the results](benchmarks/retrieval/README.md).\n\n# Want your repository hosted?\n\nWe're working to make all code on the internet searchable and understandable for devs. You can check out [hosted app](https://sage.storia.ai). We pre-indexed a slew of OSS repos, and you can index your desired ones by simply pasting a GitHub URL.\n\nIf you're the maintainer of an OSS repo and would like a dedicated page on Code Sage (e.g. `sage.storia.ai/your-repo`), then send us a message at [founders@storia.ai](mailto:founders@storia.ai). We'll do it for free!\n\n![](assets/sage.gif)\n\n# Extensions \u0026 Contributions\n\nWe built the code purposefully modular so that you can plug in your desired embeddings, LLM and vector stores providers by simply implementing the relevant abstract classes.\n\nFeel free to send feature requests to [founders@storia.ai](mailto:founders@storia.ai) or make a pull request!\n\n# Contributors\n\n\u003ca href=\"https://github.com/Storia-AI/sage/graphs/contributors\"\u003e\n  \u003cimg alt=\"contributors\" src=\"https://contrib.rocks/image?repo=Storia-AI/sage\"/\u003e\n\u003c/a\u003e\n\n\u003cp align=\"right\" style=\"font-size: 14px; color: #555; margin-top: 20px;\"\u003e\n    \u003ca href=\"#readme-top\" style=\"text-decoration: none; color: #007bff; font-weight: bold;\"\u003e\n        ↑ Back to Top ↑\n    \u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":["Python","A01_文本生成_文本对话"],"sub_categories":["大语言对话模型及数据"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStoria-AI%2Fsage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStoria-AI%2Fsage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStoria-AI%2Fsage/lists"}