Skip to main content
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. An optional control plane lets allowlisted operators run in-band admin commands (%stop, %compact, %clear, …) that are intercepted before the model and never enter the transcript.

→ 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), the admin-command runbook (%stop/%compact/%clear/%subagents/ %verbose/%thinking), 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.

Tests

pip install -e ".[dev]"   # pytest + pytest-asyncio
pytest -q

Pure-logic unit tests plus one Agent smoke test — no live Ollama, Matrix, or network needed (fakes + tmp_path throughout); runs in under a second. Tests use neutral placeholders only (no real hostnames or MXIDs) — please keep new ones that way.

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.7.24.tar.gz (149.7 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.7.24-py3-none-any.whl (139.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for clawsome-2026.7.24.tar.gz
Algorithm Hash digest
SHA256 7284638f63b2a8ec5edf424578bf5931758e78b103ba77c82437a407324d8a1b
MD5 2ebdff028952b8b62074833ac1ba492c
BLAKE2b-256 cba694674077d99c0ff7ce51e2d1e1b44158cca27e74db0d0ba5e9c96dc9e608

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clawsome-2026.7.24-py3-none-any.whl
Algorithm Hash digest
SHA256 e64734a394b089293cc643ed1882092153aec59c3949ef6fb12e7037f4a5aacd
MD5 f266f02670d889f3ff5d6c43b9039196
BLAKE2b-256 fa692c2ba5063868683fe180bbee783d02f5d379fb8ae8eedfb23038cac169a1

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.8.25

2 files

2026.8.10

2 files

This release

2026.7.24 This release

2 files

2026.7.8

2 files

2026.7.3

2 files

2026.5.20

2 files

2026.5.17

2 files

2026.5.15

2 files

2026.5.11

2 files

2026.5.10

2 files

2026.5.9

2 files

2026.5.5

2 files

2026.5.4

2 files

Supported by

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