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
Metadata
Release files for cubelife 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cubelife-0.2.2.tar.gz | 5.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cubelife-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / cubelife-0.2.2.tar.gz
| Download URL | cubelife-0.2.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ea5c72172a1124e1dccc31f9b601e2f6f31500747c30b77bc4af3ee0e31816c
|
|
BLAKE2b-256 checksum How to use checksums |
e668f8e614917fb5929fac188da4e7dbae11fc03b6f5595a1f8334c694969a9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / cubelife-0.2.2-py3-none-any.whl
| Download URL | cubelife-0.2.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1938fd253843df422b475a737f71fdec0823560a53f320e4e46092eb75da63b3
|
|
BLAKE2b-256 checksum How to use checksums |
c43223f152bad88e8f99c5fa03b8c293e5d2006c3942e8af3be299d0daa62b5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for cubelife 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.