Skip to main content

intutic-clawde

Python SDK for Intutic Agentic AI Governance proxy wrappers.

The proxy's address is INTUTIC_BASE_URL, else http://localhost:4000. What talks to an Intutic control plane (ControlPlaneClient, check_budget(), session registration, the gate's control-plane tiers) needs its address: pass it to the client or set INTUTIC_CONTROL_PLANE_URL. There is no default; without one, ControlPlaneClient raises ValueError and ClawdeClient.chat() still works through the proxy.

ClawdeClient.chat() sends a request through the Intutic proxy and returns the completion with verdict set to "allow". A governance refusal (policy block, reask, loop run held for review, spend cap, DLP block) raises ClawdeBlockedError with the proxy's verdict, code, rule_id (when the proxy names the rule) and reason, fires the matching kill / reask / hold event, and is never retried; transport failures and 5xx answers are retried, except a 5xx the proxy already retried upstream. See Verdicts and Errors for every refusal code.

When the proxy withholds a tool call from the model's answer (a tool an SOP denies, the SSO group policy, destructive SQL, sensitive output), the answer arrives as a 200 that names the refusal in the x-intutic-refusal and x-intutic-refusal-rule headers; chat() raises ClawdeBlockedError for it too. For a stream you read yourself, pass each line to stream_refusal().

With an Intutic virtual key, in a git repository, the first chat() registers a session with the control plane carrying the repository (the origin remote as host/path, credentials removed), the branch and the HEAD commit, so the calls count in cost per branch, commit and pull request. This is on by default; pass auto_context=False to send none of it. See Git context and cost attribution.

ControlPlaneClient covers the operator APIs the CLI exposes: org and workspace setup, gateways, settings and provider credentials, the MCP registry, notification rules, SIEM destinations, usage, the AI inventory, compliance evidence, policy guardrails, held decisions and loop runs, incidents, findings, traces, trace integrity, WASM rules and SOPs, with the TypeScript SDK's methods in snake_case. verify_evidence_archive() checks a compliance evidence archive offline and verify_integrity_root() a sealed trace root's signature; both signature checks need pip install 'intutic-clawde[compliance]'. See the SDK reference.

The intutic_clawde.gate subpackage is the pre-execution tool gate for Python agent frameworks; see the Gate SDK reference. Its GateClient fails closed by default (fail_closed=True): when the control plane's hook gate cannot be reached, or answers GOVERNANCE_UNAVAILABLE because a check it runs could not complete, the call is refused. Pass fail_closed=False to let calls through during such an outage. A request the hook gate cannot read (HTTP 400, INVALID_REQUEST) is refused whatever fail_closed says. A GateClient with no API key (what GateClient.from_env() builds when neither INTUTIC_API_KEY nor ~/.intutic/credentials.json has one) is local-only (client.local_only): it sends nothing, the hook gate's answer is an allow with code LOCAL_ONLY, and the local tiers still decide. See Fail-closed defaults.

Every public module's API, with signatures and defaults: Python SDK reference.

Metadata

Release files for intutic-clawde 2.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intutic-clawde 2.8.1
File Size Uploaded
intutic_clawde-2.8.1.tar.gz 125.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for intutic-clawde 2.8.1
File Interpreter ABI Platform
intutic_clawde-2.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 277.1 kB

Release files / intutic_clawde-2.8.1.tar.gz

Download URL intutic_clawde-2.8.1.tar.gz
Size 125.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7a5e31513a0db62edace7daf4861801f48764fa33076ec785aa338f445cbd1e8
BLAKE2b-256 checksum
How to use checksums
307ac3b31c9293936901fbaea7f50379ee36bf69422aeac00c9b419c2ac06e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / intutic_clawde-2.8.1-py3-none-any.whl

Download URL intutic_clawde-2.8.1-py3-none-any.whl
Size 151.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17b3a4f4a06adfb988d90dcaed5c51d461bcb16ab3c38918d7dca145505d4cad
BLAKE2b-256 checksum
How to use checksums
8dfe240405d6a974763d009a941cd8dd6e37b81a4e8fe08b693ec2931b42e1d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

2.9.1

2 release files

2.9.0

2 release files

This release

2.8.1 This release

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.10.1

2 release files

1.8.0

2 release 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