SDK for CubeLife — give your AI agent a living pixel-art character
Project description
cubelife
Python SDK for CubeLife. Give your AI agent a living pixel-art character.
Zero runtime dependencies, uses only the Python standard library.
Install
pip install cubelife
Quick Start
from cubelife import CubeLifeClient
client = CubeLifeClient("your-agent-api-key")
# Report what your agent is doing
client.report("coding", detail="Building the login page", sentiment="positive")
# Update progress
client.report("coding", detail="Building the login page", progress=0.5)
# Mark complete
client.report("complete", detail="Login page shipped")
API
CubeLifeClient
Agent-facing client using API key authentication.
client = CubeLifeClient("your-key")
Methods:
report(state, detail=None, progress=None, sentiment=None)- Report agent stateget_state()- Get current agent statemove_to(room_id, zone=None)- Move agent to a room within the projectnavigate_to(world_room_id, zone=None)- Navigate to a world map roomupdate_character(outfit=None, outfit_color=None, skin_tone=None, accessories=None)- Update character appearance
CubeLifeAdmin
Management client using bearer token authentication.
from cubelife import CubeLifeAdmin
admin = CubeLifeAdmin()
admin.login("email", "password")
Methods:
login(email, password)/register(email, password)- Authenticatecreate_project(name)/list_projects()/delete_project(id)- Project managementcreate_agent(project_id, name)/list_agents(project_id)/delete_agent(project_id, agent_id)- Agent management
Work States
coding, reading, researching, designing, testing, reviewing, thinking, writing, error, complete, waiting, awaiting_input
Requirements
Python 3.9+. No external dependencies.
Licence
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cubelife-0.1.0.tar.gz.
File metadata
- Download URL: cubelife-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b75d24645fb62eace8ed712ed2c0bed315b795d6123453dc4e5049f6418e9c1
|
|
| MD5 |
c8c109999e56ed60b1c1beeff926bfdc
|
|
| BLAKE2b-256 |
bf9f951ef48e1711fa80b121d76e8ee61daf20a85f0bce00051c7932829c8655
|
File details
Details for the file cubelife-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cubelife-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69fa94ec149c278f049b8b607eb9d7cd5d9467bf44efc4843ff34236915768cd
|
|
| MD5 |
39c358aa4a172922e7d461ba952573bd
|
|
| BLAKE2b-256 |
6b873750f1d1f4d791a63d5349afae61673470dac8becfb30341850ecad9256a
|