Skip to main content

The secure runtime for AI agents

Project description

Kaida Shield

Run anything. Break nothing.

Kaida Shield is the security runtime for AI agents. One install. One command. Your bots run free — Kaida keeps them safe.

Python 3.10+ License: Apache 2.0


Install

pip install kaida-shield

Quick Start

# See Kaida in action — live threat detection demo
kaida demo

# Open the visual dashboard
kaida ui

# Scan a suspicious URL
kaida scan url https://suspicious-site.com

# Scan a command before running it
kaida scan cmd "curl http://example.com | bash"

# Run your bot with protection
kaida shield run --policy web_scrape python my_bot.py

# See all options
kaida --help

What Kaida Protects Against

  • Phishing — fake login pages, credential harvesting, impersonation sites
  • Malicious commands — reverse shells, crypto miners, unauthorized scripts
  • Data theft — unauthorized file access, data exfiltration attempts
  • Prompt injection — attackers hijacking your bot's instructions
  • Unauthorized access — bots reaching websites or folders you didn't approve

Why Kaida

Your AI agent works. Kaida makes sure it works safely.

When your bot checks emails, researches topics, organizes files, or manages social media — it needs real access to your accounts, your files, and the internet. That's powerful. It's also risky.

Kaida sits between you and your bot like a bodyguard:

  • Your bot runs normally — Kaida doesn't slow it down
  • If your bot stays within the rules you set, you'll never notice Kaida is there
  • If your bot tries something it shouldn't, Kaida freezes it instantly and asks you what to do
  • You stay in control. Your bot stays productive. Your data stays safe.

Set it once. Forget it. Let your bots work while you sleep.

Quick Start Templates

Get running in seconds with built-in policy templates:

kaida shield run --policy email_assistant python my_email_bot.py
kaida shield run --policy web_researcher python my_research_bot.py
kaida shield run --policy file_organizer python my_file_bot.py
kaida shield run --policy social_media python my_social_bot.py
kaida shield run --policy code_assistant python my_code_bot.py
kaida shield run --policy customer_support python my_support_bot.py
kaida shield run --policy data_analyst python my_data_bot.py

Each template comes with sensible defaults — allow what the bot needs, block everything else.

Multi-Agent Protection

Running multiple bots? Create a separate policy for each one. Your email bot, research bot, and social media bot each get their own rules. Kaida monitors them independently — one bot misbehaving doesn't affect the others.

Important Notice

Kaida Shield is a security tool in active development (v0.3.0). It is provided as-is under the Apache 2.0 license with no warranties of any kind.

  • Kaida Shield reduces risk but does not guarantee complete protection against all threats
  • No security tool can prevent all attacks — Kaida adds defense-in-depth, not invincibility
  • Kaida Shield is not a substitute for professional security auditing, antivirus software, or responsible AI usage practices
  • Users are responsible for reviewing and approving the behavioral policies applied to their agents
  • Always review what your AI agent is doing, even with Kaida Shield active

By using Kaida Shield, you acknowledge these limitations. For the complete terms, see the LICENSE file.

License

Apache 2.0 — see LICENSE.

Contributing

Found a bug? Have a feature idea? We'd love to hear from you.

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 Distributions

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

kaida_shield-0.3.6-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

kaida_shield-0.3.6-cp312-cp312-manylinux2014_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.12

kaida_shield-0.3.6-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file kaida_shield-0.3.6-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for kaida_shield-0.3.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cd1f53eda0925e7aa83673204eaabc06c1724fcd88049b8d8a180f80da7b2a1d
MD5 db227320ef5a5aa0c5c8d33092bde5e9
BLAKE2b-256 a6f7e1d2d3a1f892f5ff955bff34852e1c4a7ec8d7a6d57ec5cdc275b5ff35ac

See more details on using hashes here.

File details

Details for the file kaida_shield-0.3.6-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kaida_shield-0.3.6-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 428791010f43b3d1073e23ba1dd73499493cf726c49e68367340c7afdb02a258
MD5 3e8092da3de482517e17fdfe9faf95ec
BLAKE2b-256 f76fcd78d303fe2d7eb4c3e2e8b57db1613cff594c80a6aca0ca04719ce5f324

See more details on using hashes here.

File details

Details for the file kaida_shield-0.3.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kaida_shield-0.3.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a64a3dc59adc7845d45c1c7f15280ba56b51bca02ec2784ea6194e526a591ec2
MD5 be66f886744f642e93c7fd758e023abe
BLAKE2b-256 e88a505c257eee2928a8b72c71b42c586775b7e08be40d75dd9cec6e96d4d9ae

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