Skip to main content

ratchet-core

The kernel of the Ratchet framework — the accountability layer for AI agents.

ratchet-core provides:

  • Agent — the runtime that manages module lifecycle, heartbeat loops, and sessions
  • RatchetModule — the base class every module implements
  • EventBus — async pub/sub for inter-module communication without tight coupling
  • Config — context.json loading and validation
  • Channels — abstract interface for communication (Telegram, Discord, CLI)
  • Stores — abstract interface for state persistence (flat files, SQLite)

Install

pip install ratchet-core

Quick start

from ratchet.core import Agent

agent = Agent(name="my-agent", config_path="config/context.json")
await agent.start()

License

MIT

Metadata

Release files for ratchet-core 0.1.0

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

Source distribution (sdist)

Source distribution for ratchet-core 0.1.0
File Size Uploaded
ratchet_core-0.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ratchet-core 0.1.0
File Interpreter ABI Platform
ratchet_core-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / ratchet_core-0.1.0.tar.gz

Download URL ratchet_core-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9d30a8af7a7032d3cab6c81fef58dcdb9bcdb9f06ef4eeebe110ad69f65fc1c7
BLAKE2b-256 checksum
How to use checksums
e9ac90d275707389256614de1667c1fc30dafe56bc594fa0d7073ca052275a5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / ratchet_core-0.1.0-py3-none-any.whl

Download URL ratchet_core-0.1.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83838d5bcda10dfa734953919e125df2ca1ff7fdd9e0788a9a06116181ced7f6
BLAKE2b-256 checksum
How to use checksums
aebb21add818afe0808342af6648ae16b95c3c676a4412d46256fe9f80211df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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