Source Code Deployment
1. Clone the project
2. Install dependencies
Core dependencies (required):3. Install Cow CLI
Install the command-line tool for managing services and skills:cow command:
This step is recommended. After installation you can use
cow start, cow stop, cow update to manage the service, and cow skill to manage skills. Without the CLI, you can use ./run.sh or python3 app.py to run.4. Configure
Copy the config template and edit:config.json. See the model docs for details.
5. Run
Using Cow CLI (recommended):http://localhost:9899 to chat.
Background run on server (without CLI):
Docker Deployment
Docker deployment does not require cloning source code or installing dependencies. For Agent mode, source deployment is recommended for broader system access.Requires Docker and docker-compose.
docker-compose.yml with your configuration.
2. Start container
Data persistence:
docker-compose.yml mounts two host directories by default, so your data survives container restarts and docker compose pull image upgrades:./cow→/home/agent/cowin the container: the workspace, holding conversation-installed skills, memory, knowledge base,mcp.json, and conversation artifacts../cow-data→/home/agent/.cowin the container: the data directory pointed to byCOW_DATA_DIR, holding theconfig.jsonsaved from the web console, run logs, and channel credentials.
docker-compose.yml by default — don’t delete them.