Chalie

What is Chalie?

Chalie is a human-in-the-loop cognitive assistant that helps you think, remember, and act across your digital life. It combines memory consolidation, semantic reasoning, and proactive assistance into a unified system designed to augment human cognition rather than replace it.

Features

Architecture

User Input
  ├─ Immediate Commit (working memory, Redis)
  ├─ Retrieval (context assembly from all memory layers)
  ├─ Classification & Routing (topic + mode selection)
  ├─ LLM Generation (mode-specific prompt, context injection)
  ├─ Post-Response Commit (working memory, PostgreSQL logging)
  └─ Async Background (memory chunking, episodic consolidation, semantic extraction)

Memory Layers:

Prerequisites

Quick Start

1. Clone & Start

git clone https://github.com/chalie-ai/chalie.git
cd chalie
docker-compose build && docker-compose up -d

Check status:

docker-compose logs -f backend
docker-compose ps

2. Onboard

Open http://localhost:8081/on-boarding/ in your browser.

3. Chat

Start chatting! Chalie will:

LLM Provider Options

For Local Runtime

Ollama — Run models locally on your machine (no API costs, privacy-first)

  1. Install from ollama.ai
  2. Pull any available model: ollama pull <model-name>
  3. Ensure Ollama is running (ollama serve)
  4. In onboarding, select Ollama and set endpoint to http://localhost:11434

For Cloud Runtime

Choose based on your preference:

OpenAI

Anthropic

Google Gemini

Voice (Built-in)

Voice is built into Chalie as a local Docker service — no configuration needed. When the voice container is running, the mic button and speaker buttons appear automatically in the chat interface. When it’s not running, they stay hidden. Zero setup, zero settings.

Security

Architecture Deep Dive

See the source code for implementation details:

Deployment

Docker Compose (Single Machine)

The included docker-compose.yml runs everything:

docker-compose up -d

Services:

Production

Before exposing to a network:

  1. Change POSTGRES_PASSWORD in .env
  2. Set HTTPS in nginx or reverse proxy
  3. Restrict CORS origins in frontend/interface/api.js
  4. Use strong API keys
  5. Enable firewall rules

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit changes (git commit -am 'Add your feature')
  4. Push to branch (git push origin feature/your-feature)
  5. Open a Pull Request

License

Apache 2.0 — see LICENSE


Support & Questions