Skip to main content

The accountability layer for AI agents — core framework

Project description

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

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

ratchet_core-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ratchet_core-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file ratchet_core-0.1.0.tar.gz.

File metadata

  • Download URL: ratchet_core-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for ratchet_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9d30a8af7a7032d3cab6c81fef58dcdb9bcdb9f06ef4eeebe110ad69f65fc1c7
MD5 42a7bd1c12265252ff401213dee7b80f
BLAKE2b-256 e9ac90d275707389256614de1667c1fc30dafe56bc594fa0d7073ca052275a5f

See more details on using hashes here.

File details

Details for the file ratchet_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ratchet_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for ratchet_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83838d5bcda10dfa734953919e125df2ca1ff7fdd9e0788a9a06116181ced7f6
MD5 2412c2a5f1e68b7c97f45e4059d0a6c0
BLAKE2b-256 aebb21add818afe0808342af6648ae16b95c3c676a4412d46256fe9f80211df6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page