/core

Open source and customizable AI architecture

Primary LanguagePythonGNU General Public License v3.0GPL-3.0


Cheshire-Cat (Stregatto)

Logo

Customizable AI architecture

What is this?

The Cheshire Cat is a framework to build custom AIs on top of any language model. If you ever used systems like WordPress or Django to build web apps, imagine the Cat as a similar tool, but specific for AI.

Why use the Cat:

  • ๐ŸŒ Language model agnostic (works with OpenAI, Cohere, HuggingFace models, custom)
  • ๐Ÿ˜ Long term memory
  • ๐Ÿš€ Extendible via plugins
  • ๐Ÿ”ง Can use external tools (APIs, custom python code, other models)
  • ๐Ÿ“„ Can ingest documents (.pdf, .txt, .md)
  • ๐Ÿ‹ 100% dockerized
  • ๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Active Discord community

If you want to know more about our vision and values, read the Code of Ethics. We are committed to openness, privacy and creativity, we want to bring AI to the long tail.

This project is growing fast, refactorings and code changes happens very often, join the Issues to help!

Docs and Resources

Quickstart

Install

You just need docker and docker-compose installed on your system. Clone the repo:

git clone https://github.com/cheshire-cat-ai/core.git cheshire-cat

Enter the created folder:

cd cheshire-cat

After that you can run:

docker-compose up

NOTE: if you have a later version of docker-compose, use the command docker compose up (without the dash). REF.

The first time (only) it will take several minutes, as the images occupy a few GBs.

As a first thing, the Cat will ask you to configure your favourite language model. It can be done directly via the interface in the Settings page (top right in the admin).

Enjoy the Cat!

When you're done, remember to CTRL+c in the terminal and

docker-compose down

Update

From time to time it is a good idea to update the Cat:

docker-compose down
git pull origin main
docker-compose build --no-cache
docker-compose up

(back to top)

Roadmap

Detailed roadmap is here. Whilst for the current progress of development, take a look at the projects marked as open.

Contributing

Here is a full guide to contributing.

You can start by:

  • Trying out the Cat
  • Sharing on social media
  • Join our community on Discord
  • Give the project a star โญ!

Thanks again!๐Ÿ™

Credits

Logo image generated with MidJourney, prompted by Edgars Romanovskis

Which way to go?

(back to top)

Wikipedia picture of the Cheshire Cat

"Would you tell me, please, which way I ought to go from here?"
"That depends a good deal on where you want to get to," said the Cat.
"I don't much care where--" said Alice.
"Then it doesn't matter which way you go," said the Cat.

(Alice's Adventures in Wonderland - Lewis Carroll)