Skip to main content

🐱 Cheshire Cat CLI

Your friendly command-line companion for managing Cheshire Cat AI

A simple, powerful CLI tool to start, manage, and sync your local AI cat server with ease.

License: GPL v3 Python 3.10+

FeaturesInstallationQuick StartUsageCloud Sync


🎯 What is Cheshire Cat CLI?

The Cheshire Cat CLI is a command-line interface tool that simplifies the management of your Cheshire Cat AI server. No need to mess with Docker commands or compose files manually—just simple commands to get your AI cat up and running!

Whether you're a developer experimenting with AI, or someone looking to run a personal AI assistant, this CLI makes it effortless to:

  • 🚀 Start and stop your AI server with a single command
  • 🔄 Keep your server updated to the latest version
  • ☁️ Sync your cat's memory, plugins, and data across multiple machines

✨ Features

  • 🎮 Simple Commands: Intuitive commands that just work
  • 🐳 Docker Powered: Uses Docker Compose under the hood—no manual configuration needed
  • ☁️ Cloud Synchronization: Keep your AI cat's brain synced across devices
    • Supports WebDAV and Nextcloud
    • Automatic sync on start/stop
    • Manual sync on demand
  • ⚡ Detached Mode: Run your server in the background
  • 🔧 Easy Updates: Update to the latest version with one command
  • 📦 Lightweight: Minimal dependencies, maximum functionality

📋 Requirements

Before installing, make sure you have:

  • Python 3.10 or higher
  • Docker and Docker Compose installed and running
  • A cup of tea ☕ (optional, but recommended)

🚀 Installation

Install the Cheshire Cat CLI with pip:

pip install cheshire-cat-cli

That's it! You're ready to go. 🎉

🏃 Quick Start

Start your Cheshire Cat AI server in just three steps:

# 1. Start the server
ccat start

# 2. Open your browser and visit http://localhost:1865
# 3. Start chatting with your AI cat! 🐱

Stop the server when you're done:

ccat stop

📖 Usage

Basic Commands

Command Description Example
ccat start Start the Cheshire Cat server ccat start
ccat start -d Start in detached mode (background) ccat start -d
ccat stop Stop the server ccat stop
ccat update Update to the latest version ccat update

Starting the Server

Foreground mode (see logs in real-time):

ccat start

Background mode (run in detached mode):

ccat start -d

Skip cloud sync when starting:

ccat start --no-sync

Stopping the Server

ccat stop

Skip cloud sync when stopping:

ccat stop --no-sync

Updating the Server

Keep your AI cat up to date with the latest features:

ccat update

☁️ Cloud Synchronization

Sync your cat's memory, plugins, and data across multiple machines using cloud storage!

Setting Up Cloud Sync

Configure WebDAV or Nextcloud synchronization:

ccat sync configure webdav

You'll be prompted for:

  • WebDAV server URL: Your cloud storage endpoint
    • Example: https://cloud.example.com/remote.php/dav/files/username/
  • Username: Your cloud storage username
  • Password: Your cloud storage password
  • Remote path: Where to store data (default: /ccat)

Cloud Sync Commands

Command Description
ccat sync configure webdav Configure WebDAV/Nextcloud sync
ccat sync status Check sync configuration and status
ccat sync now Manually trigger synchronization
ccat sync disable Disable automatic cloud sync

Example: Setting Up Nextcloud Sync

$ ccat sync configure webdav
WebDAV server URL: https://nextcloud.example.com/remote.php/dav/files/myusername/
Username: myusername
Password: ********
Remote path [/ccat]: /cheshire-cat-backup

✓ Successfully configured webdav synchronization
Cloud sync will now run automatically when starting/stopping the server

Checking Sync Status

$ ccat sync status
Cloud synchronization: ENABLED
Provider: webdav
Configuration:
  url: https://nextcloud.example.com/remote.php/dav/files/myusername/
  username: myusername
  remote_path: /cheshire-cat-backup

Manual Sync

Manually sync your data at any time:

ccat sync now

🛠️ Troubleshooting

Docker Not Running

If you see an error about Docker not being available:

Error: Docker is not running or not installed

Solution: Make sure Docker is installed and running:

# Check if Docker is running
docker ps

# Start Docker if needed (varies by OS)
sudo systemctl start docker  # Linux
# or open Docker Desktop on macOS/Windows

Port Already in Use

If port 1865 is already in use, you can change it by setting the CORE_PORT environment variable:

export CORE_PORT=8080
ccat start

Permission Issues

If you encounter permission issues with Docker:

# Add your user to the docker group (Linux)
sudo usermod -aG docker $USER

# Log out and back in for changes to take effect

🌐 Default Server URL

Once started, your Cheshire Cat server will be available at:

  • Admin Interface: http://localhost:1865/admin
  • API Endpoint: http://localhost:1865

📂 Data Storage

Your cat's data is stored locally in:

  • Linux/macOS: ~/.local/share/ccat/
  • Windows: %LOCALAPPDATA%\ccat\

This includes:

  • 🧠 Memory and conversation history
  • 🔌 Installed plugins
  • 📊 Configuration and data files
  • 🐳 Docker Compose configuration

🤝 Contributing

Contributions are welcome! If you have ideas for improvements or find bugs:

  1. Check the issue tracker
  2. Open a new issue or submit a pull request
  3. Help make this tool better for everyone! 🚀

🙏 Acknowledgements

Huge thanks to the amazing developers of the Cheshire Cat AI project for creating such a fantastic AI framework!

📄 License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.


Made with ❤️ for the Cheshire Cat AI community

Report BugRequest Feature

Release files for cheshire-cat-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cheshire-cat-cli 0.1.0
File Size Uploaded
cheshire_cat_cli-0.1.0.tar.gz 55.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cheshire-cat-cli 0.1.0
File Interpreter ABI Platform
cheshire_cat_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.2 kB

Release files / cheshire_cat_cli-0.1.0.tar.gz

Download URL cheshire_cat_cli-0.1.0.tar.gz
Size 55.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d4c279e1a4a637e55ed8952039d35975455fc4dba28388d44ffc367f6fc0a424
BLAKE2b-256 checksum
How to use checksums
9d9b842e0dd13ecc1a19c55900c221e0cbc6c035e8fc8876de21d0ddbe1dc714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2025.

Transparency log

Release files / cheshire_cat_cli-0.1.0-py3-none-any.whl

Download URL cheshire_cat_cli-0.1.0-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc19d4e540d4d424625bd63ea72ea6fa3b46c59d614d17f9cb9a6078f380c5a7
BLAKE2b-256 checksum
How to use checksums
189aa31a2195c16dba153c504b97c4cc9a282679b0b51f6f98a59d1f7a397bc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page