Documentation

API Reference

Everything you need to integrate LiteClaw into your application.

Quick Start

# Install the SDK
npm install @liteclaw/sdk

# Create your first agent
import { LiteClaw } from '@liteclaw/sdk'

const client = new LiteClaw({ apiKey: 'your-key' })
const agent = await client.agents.create({
  name: 'My Assistant',
  model: 'claude-4',
  systemPrompt: 'You are a helpful assistant.'
})

const response = await client.agents.chat(agent.id, {
  message: 'Hello!'
})
console.log(response.content)

Base URL: https://api.liteclaw.dev/v1