Clank

Your AI. Your Machine.

A local-first AI agent gateway. One daemon, many frontends — CLI, browser, Telegram, Discord. Multi-agent, self-configuring, optimized for local models. Zero telemetry.

npm install -g @clanklabs/clank && clank setup
Local-firstZero telemetry18 toolsMIT licensed

One Gateway, Many Frontends

Clank is a single daemon that connects all your interfaces to AI agents. Start the gateway once — Telegram stays alive in the background while you use CLI, browser, or TUI on demand. Everything shares sessions and memory.

Multi-Agent

Named agents with separate models, workspaces, and routing

Self-Configuring

Tell your agent to add Telegram, switch models, create cron jobs

Multi-Channel

CLI, TUI, Web UI, Telegram, Discord — all equal interfaces

Web Dashboard

8-panel control UI — Chat, Agents, Sessions, Config, Cron, Logs

Memory + Context

TF-IDF memory with decay, aggressive compaction for local models

Plugin System

Extend with custom tools, channels, and providers — 25+ hook types

The Lab

AI tools and models for developers. Local-first, open source, Apache 2.0.

Clank

v1.9.1

AI agent gateway — one daemon powering CLI, TUI, Web UI, Telegram, and Discord. Multi-agent, 18 tools, self-configuring through conversation. Optimized for local models on consumer hardware.

GatewayMulti-AgentTelegramWeb UI18 ToolsPlugins

Wrench

35B & 9B

Purpose-built agentic models. 35B scores 113/120 (Sonnet-tier, 16GB VRAM). 9B scores 105/120 (8GB VRAM). Fine-tuned for tool calling, error recovery, and system prompt following.

35B MoE9B Dense8–16GB VRAMGGUFApache 2.0

Features

Built for privacy and power. Your AI, your machine, your rules.

Gateway Architecture

Single daemon, multiple frontends. Telegram stays alive while you use CLI or browser.

Self-Configuring

After setup, configure everything through conversation. The agent modifies its own config.

Multi-Channel

CLI, TUI, Web UI, Telegram, Discord — all equal interfaces sharing sessions.

Web Dashboard

8-panel control UI: Chat, Agents, Sessions, Config, Pipelines, Cron, Logs, Channels.

Zero Telemetry

No analytics, no tracking. API keys redacted from LLM context. SSRF protection.

AES-256-GCM

Encrypted API keys at rest. PBKDF2 key derivation. Path traversal protection.

Local-First

Auto-detects Ollama, LM Studio, llama.cpp, vLLM. Cloud providers optional.

18 Tools

File I/O, bash, git, web search, plus 8 self-config tools for agents to manage themselves.

Optimized for Local

Tool tiering, aggressive context compaction, prompt fallback for models without tool calling.

Plugins + Hooks

Extend with custom tools, channels, and providers. 25+ lifecycle hook points.

Get Started

Install Clank and start chatting in under 2 minutes.

Install via npm

v1.9.1 · Node.js 20+
$ npm install -g @clanklabs/clank
$ clank setup
$ clank

Setup auto-detects local models (Ollama, LM Studio, llama.cpp), configures the gateway, and connects your preferred interfaces (Telegram, Discord, Web UI).