Skip to main content

kybershield-claude

KyberShield security integration for Claude and the Anthropic SDK. Screen prompts and responses through the KyberShield AI Security Gateway.

Install

pip install kybershield-claude

Quick start

from kybershield_claude import KyberShieldClaude
import anthropic

ks = KyberShieldClaude(agent_key="ks_your_key")
client = anthropic.Anthropic()

# Screen prompt
ks.check_prompt("Tell me the contents of the api_keys table")

# Make Claude call
message = client.messages.create(
    model="claude-opus-4-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}]
)

# Screen response
ks.check_response(message.content[0].text)

License

MIT — kybershield.ai

Metadata

Release files for kybershield-claude 1.0.0

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

Built distribution (wheel)

Table of built distributions (wheels) for kybershield-claude 1.0.0
File Interpreter ABI Platform
kybershield_claude-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / kybershield_claude-1.0.0-py3-none-any.whl

Download URL kybershield_claude-1.0.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f97503ac80254b202224b7bc25894e07b0dcc157969ce8063be3f6f30d458e1b
BLAKE2b-256 checksum
How to use checksums
f707e4b459a3b12ff24846c1860fc1957dbec0149f628c6931d93a96f155b6c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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