Skip to main content
klaw

What is klaw?

klaw is enterprise AI agent orchestration — like kubectl, but for AI agents.
$ klaw get agents

NAME              NAMESPACE    STATUS    MODEL              LAST RUN
lead-scorer       sales        running   claude-sonnet-4    2m ago
competitor-watch  research     idle      gpt-4o             1h ago
ticket-handler    support      running   claude-sonnet-4    30s ago
Or control everything from Slack:
@klaw status
@klaw run lead-scorer
@klaw logs competitor-watch

Quick Start

Install and run your first agent in 5 minutes

Core Concepts

Understand agents, namespaces, and tools

Slack Integration

Control agents from Slack

CLI Reference

kubectl-style command reference

The Problem

You’re running AI agents in production:
  • Lead Scorer — analyzes CRM leads every hour
  • Competitor Watch — monitors competitor websites daily
  • Ticket Handler — auto-responds to support tickets
  • Report Generator — creates weekly analytics reports
But managing them is chaos:
ChallengeCurrent StateWith klaw
Visibility”Is the agent running?”klaw get agents, klaw logs
IsolationSales accessing support secretsNamespaces with scoped permissions
SchedulingMessy cron jobs, Lambdaklaw cron create — built-in
ScalingManual server provisioningklaw node join — auto-dispatch
Debugginggrep through CloudWatchklaw logs agent --follow
DeploymentComplex setupSingle binary, one command
OpenClaw works, but deployment is painful and scaling is worse. klaw brings Kubernetes-style operations to AI agents. One binary. Deploys in seconds.

The Kubernetes Parallel

If you know kubectl, you already know klaw:
You Want To…kubectlklaw
List workloadskubectl get podsklaw get agents
Inspectkubectl describe podklaw describe agent
View logskubectl logsklaw logs
Deploykubectl apply -fklaw apply -f
IsolateNamespacesNamespaces
ScheduleCronJobklaw cron
Scale outAdd nodesklaw node join

Key Features

Familiar commands: klaw get, klaw describe, klaw logs, klaw apply. If you know Kubernetes, you know klaw.
Manage agents from Slack. @klaw status, @klaw run agent, @klaw logs. Your AI command center.
Isolate agents by team. Sales can’t access support’s secrets. Each namespace has its own tools and permissions.
klaw cron create — no external scheduler needed. Run agents hourly, daily, weekly.
Scale from laptop to cluster. Controller dispatches tasks to worker nodes automatically.
Claude, GPT-4, Gemini, Llama, and 300+ more through a single API. Swap models without code changes.
One ~20MB binary with zero dependencies. No Python, no Node.js. Just klaw.

Architecture Overview

┌────────────────────────────────────────────────────────────────────────┐
│                           KLAW CONTROL PLANE                            │
│                                                                          │
│  ┌────────────────────────────────────────────────────────────────┐    │
│  │                      NAMESPACES (Isolation)                     │    │
│  │                                                                  │    │
│  │  ┌───────────────┐  ┌───────────────┐  ┌───────────────┐       │    │
│  │  │    SALES      │  │   RESEARCH    │  │    SUPPORT    │       │    │
│  │  │               │  │               │  │               │       │    │
│  │  │ lead-scorer   │  │ competitor-   │  │ ticket-       │       │    │
│  │  │               │  │ watch         │  │ handler       │       │    │
│  │  │ tools:        │  │ tools:        │  │ tools:        │       │    │
│  │  │ • hubspot     │  │ • web_fetch   │  │ • zendesk     │       │    │
│  │  │ • clearbit    │  │ • slack       │  │ • slack       │       │    │
│  │  │               │  │               │  │               │       │    │
│  │  │ secrets:      │  │ secrets:      │  │ secrets:      │       │    │
│  │  │ HUBSPOT_KEY   │  │ SLACK_TOKEN   │  │ ZENDESK_KEY   │       │    │
│  │  └───────────────┘  └───────────────┘  └───────────────┘       │    │
│  └────────────────────────────────────────────────────────────────┘    │
│                                                                          │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐    │
│  │  SCHEDULER  │  │  CHANNELS   │  │   ROUTER    │  │    NODES    │    │
│  │  (cron)     │  │(Slack, CLI) │  │ (300+ LLMs) │  │  (workers)  │    │
│  └─────────────┘  └─────────────┘  └─────────────┘  └─────────────┘    │
└────────────────────────────────────────────────────────────────────────┘

Quick Example

# Install
curl -fsSL https://klaw.sh/install.sh | sh

# Configure
export ANTHROPIC_API_KEY=sk-ant-...

# Interactive chat
klaw chat

# Or start full platform with Slack
export SLACK_BOT_TOKEN=xoxb-...
export SLACK_APP_TOKEN=xapp-...
klaw start
Create a scheduled agent:
# Create agent
klaw create agent lead-scorer \
  --namespace sales \
  --model claude-sonnet-4-20250514 \
  --skills crm,web-search

# Schedule hourly runs
klaw cron create score-leads \
  --schedule "0 * * * *" \
  --agent lead-scorer \
  --task "Analyze new HubSpot leads, score 1-100, update Lead Score field"

# Monitor
klaw get agents
klaw logs lead-scorer --follow

What’s Next?

Quick Start

Install klaw and run your first agent

Agents

Learn how agents work

Namespaces

Isolate agents by team

Slack Integration

Control agents from Slack