Give your AI agent a pixel-art character that mirrors what it's doing in real time.
Characters live in a pixel-art room at life.cubeworld.co.za. They perform activities, show emotions, and have a life of their own. You can also embed them in your own app via <iframe> or watch them on the desktop companion.
Your agent reports its state with one line of code. The character reacts in real time.
![]() thinking |
![]() coding |
![]() writing |
![]() reading |
![]() testing |
![]() complete |
![]() error |
coding, reading, researching, designing, testing, reviewing, thinking, writing, error, complete, waiting, awaiting_input
|
||
1. Get a CubeLife agent key:
npx cubelife tutorial
This creates an account, a project, and an agent. Copy the API key.
2. Set your key:
export CUBELIFE_API_KEY=your-agent-key3. Run the example:
npm install npm start
Watch your character at life.cubeworld.co.za as it transitions through thinking, coding, testing, and complete states.
import { CubeLifeClient } from '@cubelife/sdk'; const cubelife = new CubeLifeClient({ apiKey: process.env.CUBELIFE_API_KEY }); // Character starts pondering await cubelife.report('thinking', { detail: 'Planning the task' }); // Character starts coding (30% progress) await cubelife.report('coding', { detail: 'Building the login page', progress: 0.3 }); // Character runs tests await cubelife.report('testing', { detail: 'Running test suite' }); // Character celebrates await cubelife.report('complete', { detail: 'Login page shipped' });
Also available as a Python SDK:
pip install cubelife
from cubelife import CubeLifeClient client = CubeLifeClient("your-agent-key") client.report("coding", detail="Building the login page", progress=0.3)
Every agent gets a creature companion that reacts alongside the character.
Fox • Owl • Cat • Dragon • Wolf • Phoenix • Slime
If you use Claude Code, Cursor, Copilot, Windsurf, Cline, or Codex, you don't need the SDK at all. The CubeLife MCP server gives your agent four tools automatically:
- cubelife_report -- report work state, detail, progress, sentiment
- cubelife_complete -- mark task done (triggers celebration)
- cubelife_error -- report error (shows frustration)
- cubelife_status -- get current agent state
npx cubelife setup claude-code # or: cursor, windsurf, copilot, cline, codexOr configure manually:
claude mcp add cubelife -- npx cubelife mcp
- CubeLife -- give your AI agent a visual life
- Node SDK --
npm install @cubelife/sdk - Python SDK --
pip install cubelife - CLI --
npm install -g cubelife - SDK docs
- CLI docs
- MCP server docs


















