Skip to main content

Claude Agent SDK backend for the CatLLM ecosystem — classify text through a Claude subscription instead of per-token API billing.

Project description

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.

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

cat_claws-0.1.0.tar.gz (27.9 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.1.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cat_claws-0.1.0.tar.gz
  • Upload date:
  • Size: 27.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 e48f568a76f6f81b91774d33cf4deade756a13d85c994fb8f289e1b982fcd816
MD5 fa69e0f78dc7741f43cadc980f788cee
BLAKE2b-256 863c76735676e7802828ce5278f05bd4ed215f7a6ae4b1c7a5e555302415a22d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cat_claws-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1689ddb908d54478f4507df4cfce90465aaad250bb660c83e5e03fee2d46b4dc
MD5 0643b7d04c19dfee34dc7bc13cb95df6
BLAKE2b-256 bf15d7465492a216c38eb0e7a5deabe962dd7f55a2c34125591094fe79e559e6

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