Skip to main content

🌙 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

Metadata

Release files for cocapn-oneiros 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cocapn-oneiros 0.3.1
File Size Uploaded Provenance Actions
cocapn_oneiros-0.3.1.tar.gz 5.2 kB Without provenance Details for cocapn_oneiros-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cocapn-oneiros 0.3.1
File Interpreter ABI Platform Actions
cocapn_oneiros-0.3.1-py3-none-any.whl Python 3 none any Details for cocapn_oneiros-0.3.1-py3-none-any.whl

Total release size: 9.9 kB

Release files / cocapn_oneiros-0.3.1.tar.gz

Download URL cocapn_oneiros-0.3.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
993ab850546f99f5296d5688ff8ce9ead00a9385e7a0ba4e236110429dc6f8a3
BLAKE2b-256 checksum
How to use checksums
399444b9c956c70e41f13a02d02d16df3a7435de50d9abb9aaf853bf1f7dc154
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / cocapn_oneiros-0.3.1-py3-none-any.whl

Download URL cocapn_oneiros-0.3.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ab1d526d686e8029dfe70cd2deae160897b001838aa11b11985952dd8626cf0
BLAKE2b-256 checksum
How to use checksums
dba9d54da73f7a94fd4f58b6214c0304e8d94ec617514acfcb7a40cc2fdee528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for cocapn-oneiros 0.3.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page