https://github.com/openchatai/OpenCopilot Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} openchatai / OpenCopilot Public * Notifications * Fork 2 * Star 54 AI Copilot for your own SaaS product. Open source AI sidekick for everyone. opencopilot.so License View license 54 stars 2 forks Activity Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights openchatai/OpenCopilot This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/o] Use Git or checkout with SVN using the web URL. [gh repo clone opench] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @gharbat gharbat Copilots for everyone! ... 7498f20 Aug 20, 2023 Copilots for everyone! 7498f20 Git stats * 13 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time dashboard Copilots for everyone! August 20, 2023 19:06 llm-server Delete llm-server/.idea directory August 20, 2023 19:03 .gitignore Copilots for everyone! August 20, 2023 15:11 CODE_OF_CONDUCT.md Copilots for everyone! August 20, 2023 14:20 LICENSE CAdd LICENSE August 20, 2023 14:40 Makefile Copilots for everyone! August 20, 2023 14:20 README.md Update README.md August 20, 2023 17:21 SECURITY.md Copilots for everyone! August 20, 2023 14:20 docker-compose.yml Copilots for everyone! August 20, 2023 14:20 package-lock.json Copilots for everyone! August 20, 2023 14:20 View code OpenCopilot [early beta] How does it work? Try it out: AI Copilot: growing trend What OpenCopilot can and can't do now? [?] Roadmap: Getting Started README.md GitHub Contributors GitHub Last Commit [6874747073] GitHub Issues GitHub Pull Requests Github License Discord OpenCopilot --------------------------------------------------------------------- OpenCopilot [early beta] --------------------------------------------------------------------- OpenCopilot allows you to have your own product's AI copilot. It integrates with your underlying APIs and is able to execute API calls whenever needed. It uses LLMs to determine if the user's request requires calling an API endpoint. Then, it decides which endpoint to call and passes the appropriate payload based on the given API definition. How does it work? * Provide your API/backend definition, including your public endpoints and how to call them. Currently, OpenCopilot supports Swagger OpenAPI 3.0. We're also working on a UI to allow you to dynamically add endpoints. * OpenCopilot validates your schema to achieve the best results. * We feed the API definition to an LLM. * Finally, you can integrate our user-friendly chat bubble into your SaaS app. Try it out: You can try it out on opencopilot.so final.1.mp4 AI Copilot: growing trend * Shopify is developing "Shopify Sidekick." * Microsoft is working on "Windows Copilot." * GitHub is in the process of creating "GitHub Copilot." * Microsoft is also developing "Bing Copilot." And our goal is to empower every SaaS product with the ability to have their own AI copilots tailored for their unique products. What OpenCopilot can and can't do now? * It is capable of calling your underlying APIs. * It can transform the response into meaningful text. * It can automatically populate certain request payload fields based on the context. + For instance, you can request actions like: "Initiate a new case about X problem," and the title field will be automatically filled with the appropriate name. * Currently, it does not support calling multiple endpoints simultaneously (feature coming soon). * It is not suitable for handling large APIs. * It is not equipped to handle complex APIs. * It can not remember the chat history (every message is agnostic from previous messages.) [?] Roadmap: * [*] Create unlimited copilots. * [*] Embed the copilot on your SaaS product using standard JS calls. * [*] TypeScript chat bubble. * [*] Provide Swagger definitions for your APIs. * [*] Swagger definition validator + recommender. * [ ] UI endpoints editor. * [ ] Chat memory. * [ ] Vector DB support for large Swagger files. * [ ] Plugins system to support different types of authentications. * [ ] Offline LLMs. * [ ] Ability to ingest text data, PDF files, websites, and extra data sources. We love hearing from you! Got any cool ideas or requests? We're all ears! So, if you have something in mind, give us a shout! Getting Started * Make sure you have docker installed. * To begin, clone this Git repository: git clone git@github.com:openchatai/OpenCopilot.git * Update llm-server/Dockerfile with your OPENAI_API_KEY key: ENV OPENAI_API_KEY YOUR_TOKEN_HERE * Navigate to the repository folder and run the following command (for MacOS or Linux): make install Once the installation is complete, you can access the OpenCopilot console at: http://localhost:8000 Documentation available here This project follows the all-contributors specification. Contributions of any kind welcome! About AI Copilot for your own SaaS product. Open source AI sidekick for everyone. opencopilot.so Resources Readme License View license Code of conduct Code of conduct Security policy Security policy Activity Stars 54 stars Watchers 2 watching Forks 2 forks Report repository Releases No releases published Packages 0 No packages published Languages * Blade 27.9% * PHP 27.3% * CSS 24.5% * JavaScript 18.5% * Python 0.9% * Makefile 0.6% * Dockerfile 0.3% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.