Git Product home page Git Product logo

opencopilot's Introduction

OpenCopilot

OpenCopilot is a Python framework for building custom and private copilots.

Unit tests Package version Package version Package version

Documentation: docs.opencopilot.dev

Overview

OpenCopilot is a Python framework for building custom and private copilots. It's designed to be fast to get started, extensible, and easy to use. Using OpenCopilot, you can see your copilot come live in 5 minutes, and making a fully functional copilot should take you less than a day.

Example Copilots built with OpenCopilot

  • Ready Player Me Copilot which helps developers integrate RPM avatar SDK into their games.
  • Unity Copilot which helps Unity developers debug, write code and speed up their development flow.

Quickstart

1. Install the Python package

pip install opencopilot-ai

2. Create a minimal Copilot

Into a Python file (for example, copilot.py), add:

from opencopilot import OpenCopilot

copilot = OpenCopilot()
copilot()

3. Run the Copilot

python copilot.py

That's it! The copilot is now running as an API service! 🎉 You can now chat with it: TODO how? (CLI, frontend, etc)

OpenCopilot by default helps you setup a Python API service for your copilot. That is intentional: we expect most people to integrate the functionality into their own application. However, if you want to setup a front-end for your copilot, we provide a working NextJS application out of the box. Follow the steps below to do so.

Front-end

As a pre-requisite, you need to have pnpm installed.

First, clone the repo you're in: opencopilotdev/opencopilot:

git clone [email protected]:opencopilotdev/opencopilot.git

Then, setup the environment variables:

cd opencopilot/frontend
cp .env.example .env

Install the dependencies:

pnpm install

Run the front-end application:

pnpm run dev

You can now access the front-end at http://localhost:3001.

What next?

  • Make the copilot yours: customize your copilot by prompting, adding context, etc.
  • Read more about the core features and stack choices of OpenCopilot in Overview.

Getting help

If you have any questions about OpenCopilot, feel free to do any of the following:

  • Join our Discord and ask in the #support channel.
  • Report bugs or feature requests in GitHub issues.
  • Directly email Taivo, Co-founder & CTO of OpenCopilot: taivo [at] opencopilot.dev.

opencopilot's People

Contributors

kasparpeterson avatar kristjanpeterson1 avatar kgrofelnik avatar taivop avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.