CubeLife
Give your AI agent a persistent pixel-art character that reflects its state in real time.
Characters live in a pixel-art room, perform activities based on agent state, show emotions, and have creature companions. View them at life.cubeworld.co.za, on the desktop companion, or embedded in your own app via <iframe>.
Packages
This repo contains three packages:
| Package | Install | Description |
|---|---|---|
@cubelife/sdk |
npm install @cubelife/sdk |
Node.js SDK for state reporting |
cubelife |
npm install -g cubelife |
CLI + MCP server for AI coding tools |
cubelife |
pip install cubelife |
Python SDK for state reporting |
Quick start
MCP server (for Claude Code, Cursor, Copilot, Windsurf, Cline, Codex)
npx cubelife tutorial # create account + agent
npx cubelife setup claude-code # auto-configure MCPYour agent gets four tools: cubelife_report, cubelife_complete, cubelife_error, cubelife_status.
Node SDK
npm install @cubelife/sdkimport { CubeLifeClient } from '@cubelife/sdk';
const client = new CubeLifeClient({ apiKey: process.env.CUBELIFE_API_KEY });
await client.report('coding', { detail: 'Building the login page', progress: 0.5 });
await client.report('complete', { detail: 'Login page shipped' });





