1. home
  2. work
  3. chika-group-agent

Chika 2.0 — group chat agent

A self-hosted AI assistant for Facebook groups with tool calling, memory, moderation and games.

Role
Author
Status
Active · 2026
Visibility
Private source
Area
AI & agents, Automation

Problem

Large community groups need moderation and engagement around the clock, but classic command bots feel robotic and pure LLM bots are unpredictable.

How it flows

  1. Group event
  2. Router
  3. Commands / agent loop
  4. Tools & memory
  5. Reply

What I built

  1. An agent loop that mixes free conversation with deterministic commands and event handlers, so critical actions never depend on model mood.
  2. Tool calling via OpenRouter models, long-term memory, moderation actions, games and community features.
  3. Durable MongoDB or JSON storage, a typed config, and a Vitest suite; runs with Docker Compose.
  4. Built on top of Facebook API MCP as its transport.

Stack

TypeScriptOpenRouterTool callingMongoDBVitestDocker
↑↓ navigate ↵ open Esc close