Skip to main content

cat-claws

Agent-CLI backend for the CatLLM ecosystem: classify text through a Claude subscription (via the Claude Agent SDK) instead of per-token API billing. An OpenAI Codex adapter is planned.

(Distribution name cat-claws; imports as catclaws. Source repo: cat-agent.)

Status: alpha, under active development. See MASTERPLAN.md for the design and step tracker.

Install

pip install cat-claws

Design in one paragraph

One row = one sealed, fresh-context agent call (no tools, single turn, no settings/CLAUDE.md loading), using cat-stack's validated classification prompt byte-for-byte. The model answers in JSON; parsing and the wide 0/1 output matrix reuse cat-stack's existing machinery. Throughput comes from concurrent one-shot calls, never from shared conversations or corpus-in-one-prompt (which would contaminate rows and break research validity).

Quick start (Phase 1)

import catclaws

df = catclaws.classify(
    input_data=["I moved for a new job", "Rent got too expensive"],
    categories=["Employment", "Cost of living", "Other"],
    user_model="claude-sonnet-5",   # any model your Claude login can use
    description="Why did you move?",
)

Requires Claude Code installed and logged in (claude on PATH). No API key needed.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cat_claws-0.2.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

cat_claws-0.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file cat_claws-0.2.0.tar.gz.

File metadata

  • Download URL: cat_claws-0.2.0.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.14

File hashes

Hashes for cat_claws-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fd7efc5326ded5306c904a89a318301981db082cbda809955eccefab47f42b13
MD5 292c533bc4d87369ad8c7c526ce81bdb
BLAKE2b-256 994736a4dbfa2e261965d4d3a2c98f085f1e7fdd2fa48ef885d412b4ed03f276

See more details on using hashes here.

File details

Details for the file cat_claws-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cat_claws-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.14

File hashes

Hashes for cat_claws-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b139719ad8c8dbf60850d288ba80364653d65406447b2c2bac6685275f692e86
MD5 0fce786b185911f56bccb9c3639d9515
BLAKE2b-256 b130ad69e7a3b97aefddf062bd5fda9ddbd0c311b54f1ce6bd3ad4787fca7a3f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

2 files

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.0

2 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