🌙 Cocapn Oneiros
Dream-state agent orchestration — sleep cycles, background processing, dream journal
Agents dream while idle. Oneiros manages sleep/wake cycles, runs background tasks during downtime, and keeps a dream journal of what happened.
Install
pip install cocapn-oneiros
Quick Start
Dream Cycle
from cocapn_oneiros import DreamCycle
dream = DreamCycle(agent_id="oracle1")
dream.register_dream_task("consolidate_memory", lambda: "consolidated 42 tiles")
dream.mark_idle()
result = dream.dream()
print(f"Success: {result.success}, Result: {result.result}")
print(f"Journal: {dream.journal.stats()}")
Sleep Scheduler
from cocapn_oneiros import SleepScheduler
scheduler = SleepScheduler()
scheduler.register("oracle1", timezone_offset=-8)
print(f"Current phase: {scheduler.current_phase('oracle1')}")
Part of Cocapn · Agent Infrastructure
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cocapn_oneiros-0.3.1.tar.gz
(5.2 kB
view details)
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 cocapn_oneiros-0.3.1.tar.gz.
File metadata
- Download URL: cocapn_oneiros-0.3.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
993ab850546f99f5296d5688ff8ce9ead00a9385e7a0ba4e236110429dc6f8a3
|
|
| MD5 |
f705924b2905b294a4161d544b527c0a
|
|
| BLAKE2b-256 |
399444b9c956c70e41f13a02d02d16df3a7435de50d9abb9aaf853bf1f7dc154
|
File details
Details for the file cocapn_oneiros-0.3.1-py3-none-any.whl.
File metadata
- Download URL: cocapn_oneiros-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ab1d526d686e8029dfe70cd2deae160897b001838aa11b11985952dd8626cf0
|
|
| MD5 |
57b707b8a2d8c3a32d5e110839c1d0a8
|
|
| BLAKE2b-256 |
dba9d54da73f7a94fd4f58b6214c0304e8d94ec617514acfcb7a40cc2fdee528
|