Back to all posts

Introducing Pug-Claw

A multi-driver AI agent bot framework — and the start of a development blog series.

projectsai-assisted

I spent a couple of days last week using OpenClaw and started getting excited about the possibilities. However, I increasingly wanted the kind of understanding and customization that only comes from building something yourself — a small footprint tailored exactly to my needs. So I've started pug-claw, a multi-driver AI agent bot framework in TypeScript and Bun. You define agents (system prompt + skills), pick a driver (Claude via Agent SDK, or Pi backed by Codex/OpenRouter), and connect them to a frontend (Discord bot or terminal). It runs self-hosted on a Dell XPS 13 in my homelab, connected to my tailscale.

This is the first in a series of posts about building pug-claw. The roadmap covers sessions and persistence, a memory system, and an ecosystem of specialized agents that can delegate to each other. Follow along on GitHub or here.


This post was drafted in collaboration with Claude Opus 4.6. Attributing when AI is part of the brainstorming or writing process and tagging those posts w/ ai-assisted.