🌙 Dream-state agent orchestration — sleep cycles, background processing, dream journal
Project description
🌙 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
Project details
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 cocapn_oneiros-0.3.0.tar.gz.
File metadata
- Download URL: cocapn_oneiros-0.3.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6662fd11de5990f0d270f7242cb21cfd4fc0b93ccad4933c03529a260ebb8c30
|
|
| MD5 |
1c69ad24bac6aa6bdf8dae8a9757a7ef
|
|
| BLAKE2b-256 |
f1f34dc2da58f9e4ad0d864fc4874b252b5465e8cbc97efda920f117fed3ecaf
|
File details
Details for the file cocapn_oneiros-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cocapn_oneiros-0.3.0-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 |
c11c121b0816fee548fb7f4180e1631edce8bb9ae4ba16abeef97de4726a309a
|
|
| MD5 |
c8e5040a81fee03cfa49ac12b82d82b2
|
|
| BLAKE2b-256 |
4a05260b161f21dfa29a9582269f57f58b4ea006586392bc0f4e07803e8965f5
|