Django Cheshire Cat AI Integration
A powerful Django implementation of the Cheshire Cat AI framework, enabling natural language interactions with your documents through AI-powered conversations.
Important
- Agent Provider: CheshireCat AI The core framework that powers the system.
- Plugin: MultiCat Enhances CheshireCat AI by enabling multiple capabilities.
- 🐱 Full Cheshire Cat AI framework integration
- 🦹 Pre-installed MultiCat plugin
- 🤖 Multi-Agent system (currently prompt-based)
- 💬 Persistent multi-chat history
- 📂 Library organization
- 🔍 Vector similarity search (RAG)
- 📁 File upload and automatic processing
- 🗂️ Metadata tagging system
- 🐳 Dockerized environment (development use only)
- 🔄 Version control integration
- Natural document interaction - Chat with your files using AI
- Structured content management - Organize documents into collections
- Customizable conversations - Different agents for different use cases
- Docker & Docker Compose
- Python 3.11+
- UV package manager (
pip install uv) - Make (optional but recommended)
# Clone repository
git clone https://github.com/yourusername/djangocat.git
cd djangocat
# Copy environment template
cp env-sample/.env env/.envEdit env/.env with your configuration:
# Minimum required settings
SECRET_KEY='your-django-secret-key'
DEBUG=1
SQL_DATABASE=mydatabase
SQL_USER=myuser
SQL_PASSWORD="mypassword"# Create and activate virtual environment
uv venv
source .venv/bin/activate # Linux/macOS
# Install dependencies
make requirements# Start Docker containers
make up-local
# Verify containers
docker ps| Command | Description |
|---|---|
make up-local |
Start containers with local config |
make upd |
Start containers in background |
make down |
Stop and remove containers |
make shell-bash |
Access Django container shell |
make shell-django |
Open Django management shell |
make django-log |
View Django container logs |
Configure in env/.env:
CCAT_CORE_HOST=cheshire-cat-core
CCAT_CORE_PORT=1865
CCAT_QDRANT_HOST=cheshire-cat-vector-memory
CCAT_QDRANT_PORT=6333After starting containers, access:
- Django: http://localhost:8000
- Cheshire Cat Admin: http://localhost:1865/admin
make git-sync-branches- Synchronize local branches with remote
Common Issues:
-
Docker not starting:
- Ensure Docker Desktop is running
- Check
docker psworks in terminal
-
Migration conflicts:
make remove-all
docker exec django_cat-app-1 python manage.py migrate- Missing dependencies:
make requirements
make build-local-cat
⚠️ Warning: The following commands are potentially destructive and irreversible!
-
make remove-migrations- Remove all migration filesDeletes all Django migrations. Development use only.
-
make destroy-database- Delete local databaseCompletely removes the Docker database volume. All data will be lost.
-
make remove-all- Remove migrations and database⚠️ DANGER: Executes both operations above. Use only for complete environment resets.
| Command | Description |
|---|---|
make bump-patch |
Increment patch version (0.0.X) |
make bump-minor |
Increment minor version (0.X.0) |
make bump-major |
Increment major version (X.0.0) |
make release |
Create new production release |