Skip to main content

A lean Python harness for running persistent AI agents

Project description

Clawsome

Clawsome

A lean python harness for running persistent AI agents.

Clawsome is under early, active development. Expect rough edges, breaking changes, and missing features. Feedback and contributions are welcome.


Setup

Clawsome talks to a few external services (Ollama, SearXNG, a Matrix homeserver) — get those running first, then pip install -e . and point claw at a populated claw.yaml.

→ See docs/setup.md for prerequisites, install notes (including the macOS libolm wrinkle), and a first-boot checklist.

Architecture

A single clawsome process manages multiple agents, each with a workspace (state on disk) and one or more channels (inbound surfaces — Matrix is the shipped one). Per-turn, the agent loads its transcript, assembles a system prompt from injected identity files + retrieved memory, runs an Ollama tool loop, and replies. Background tasks (compaction, memory_flush, reindex, cron, session rotate) run off the user-reply path.

→ See docs/architecture.md for the full mental model, request lifecycle, and workspace file contract.

Configuration

claw.yaml is parsed once at startup; editing requires a restart. The shipped claw.example.yaml is a runnable template with inline comments.

→ See docs/configuration.md for the full key-by-key reference.

Operations

Background tuning, daily session rotate, memory retrieval cadence, Matrix bot first-deploy (token + cross-signing UIA + ghost-DM avoidance), and log-based troubleshooting.

→ See docs/operations.md.

Extending

Three extension points: skills (workspace-local; markdown protocol + optional tool.py), built-in tools (in-tree; universal capability), channels (in-tree; new inbound surface). Skills cover 99% of cases.

→ See docs/extending.md.

Deployment

pip install exposes a claw console script that takes --config <path/to/claw.yaml> and runs in the foreground. Wire it into launchd / systemd / your process manager of choice as a long-lived service running under a dedicated user. This repo intentionally does not ship example service files — paths, log destinations, and label/unit names all depend on the host layout.


Contributing

Issues and pull requests are welcome on GitHub.

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

clawsome-2026.5.4.tar.gz (63.4 kB view details)

Uploaded Source

Built Distribution

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

clawsome-2026.5.4-py3-none-any.whl (72.3 kB view details)

Uploaded Python 3

File details

Details for the file clawsome-2026.5.4.tar.gz.

File metadata

  • Download URL: clawsome-2026.5.4.tar.gz
  • Upload date:
  • Size: 63.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for clawsome-2026.5.4.tar.gz
Algorithm Hash digest
SHA256 c4cc7c0957b313d12aa88be04a2f777204ee5d53f6f2ea12caa2dd6962bcf4ee
MD5 149480b493a14e637371ff73e0aa1669
BLAKE2b-256 c101b4355b30b5576625471350ab4dc1915e0dd863e2df7066086fef5bd68a0e

See more details on using hashes here.

File details

Details for the file clawsome-2026.5.4-py3-none-any.whl.

File metadata

  • Download URL: clawsome-2026.5.4-py3-none-any.whl
  • Upload date:
  • Size: 72.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for clawsome-2026.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 daa1399b9e48081356d8326c9e0dda1737458e8a95f1e309bc45a3df437193c1
MD5 c8e217400095476e94404bfea3a48b13
BLAKE2b-256 048fe1eeb0d96a188d95e6fe18f91f6597adfee89a4c0af8765ed5e715048798

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