Skip to main content

KyberShield security integration for Claude and Anthropic SDK

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

kybershield_claude-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file kybershield_claude-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kybershield_claude-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f97503ac80254b202224b7bc25894e07b0dcc157969ce8063be3f6f30d458e1b
MD5 91a4086518f95e945d24986baec063d9
BLAKE2b-256 f707e4b459a3b12ff24846c1860fc1957dbec0149f628c6931d93a96f155b6c3

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