Skip to main content

AI monitoring for Claude Code agents

Project description

Quibbler

quibbler is a background agent that monitors your claude code actions and interrupts customizable
Independent AI monitoring for Claude Code agents. Critic watches your agent's work through hook events and provides quality feedback to prevent common mistakes.

Installation

pip install critic

Usage

1. Start the monitoring server

critic-server [port]

Default port is 8081.

2. Configure Claude Code hooks

Add to your Claude Code project configuration:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "critic-hook {session_id} {source_path}"
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "critic-display"
          }
        ]
      }
    ]
  }
}

3. Work normally

Critic monitors in the background and writes feedback to .critic-messages.txt when it has observations. The feedback is displayed at the next user prompt.

How it works

  1. critic-hook forwards Claude Code hook events to the monitoring server
  2. The server runs a monitoring agent that watches for quality issues
  3. When issues are detected, the monitor writes feedback to .critic-messages.txt
  4. critic-display shows the feedback to the agent on the next interaction

Environment Variables

  • ANTHROPIC_API_KEY: Required for the monitoring agent (same as Claude Code)
  • CRITIC_MONITOR_BASE: Override server URL (default: http://127.0.0.1:8081)
  • CLAUDE_MONITOR_SKIP_FORWARD: Set to 1 to disable hook forwarding

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

quibbler-0.1.4.tar.gz (37.7 kB view details)

Uploaded Source

Built Distribution

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

quibbler-0.1.4-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file quibbler-0.1.4.tar.gz.

File metadata

  • Download URL: quibbler-0.1.4.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.24

File hashes

Hashes for quibbler-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b5d1fd85a84be00080f79fa51d791c19312d547ebc3fe932bdb496a0c645f42c
MD5 fcee111179fb670e6bf4709d636f6cae
BLAKE2b-256 078377004401b3e68d19ffc1cbb89a8d7cee20c97cfec00431611e0d154dd9fa

See more details on using hashes here.

File details

Details for the file quibbler-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: quibbler-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.24

File hashes

Hashes for quibbler-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dad5ade05e4961d0ab44b6874f692c23fd88dad05a19a9d2eb92d6aa7a7d452e
MD5 2ee0cb118f41e5393710f1c51c1f37d4
BLAKE2b-256 5efac5b4bd6f93eb8121331e4941c28bd58edb78a871f6269fa9c10eccebf16f

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