Skip to main content

Safe Mode — Your AI can't delete your files, leak your secrets, or blow your budget. Python SDK for AI agent safety.

Project description

Safe Mode for AI Agents

Your AI can't delete your files, leak your secrets, or blow your budget.

Safe Mode is a local safety layer for AI agents. It intercepts tool calls, detects dangerous actions, and blocks catastrophic mistakes — before they happen.

Installation

pip install safemode-ai

Coming Soon

The Safe Mode Python SDK is under active development. It will provide:

  • Action gating — Allow, approve, or block AI actions by category
  • Detection engines — Secret scanning, PII detection, prompt injection, path traversal, loop killing, budget caps
  • Preset configurations — Safe-ish (YOLO with seatbelt), Coding (standard guardrails), Personal (AI assistant mode), Strict (read-only)
  • Framework integration — Works with LangChain, CrewAI, AutoGen, and custom Python AI agents
  • Local-first — Runs on your machine. No account required. No data leaves your device.

Also Available

  • npm package (MCP proxy): npm install -g safemode
  • TrustScope (cloud governance): trustscope.ai

Links

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

safemode_ai-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

safemode_ai-0.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file safemode_ai-0.0.1.tar.gz.

File metadata

  • Download URL: safemode_ai-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for safemode_ai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e25723ffb73f5cafbb457b9138213ee4f985558ae559621c3c293d5351978836
MD5 93176d7ae3cade1e9fb6223c42eb6a57
BLAKE2b-256 736c4c93256464c19a5e800230def431bb2f080c7f569cd9b12f35d412ec4cc9

See more details on using hashes here.

File details

Details for the file safemode_ai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: safemode_ai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for safemode_ai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 065ed3929d36bc9f2f76e0ea470cd248c61038978e3978f0515c1cfdab15f762
MD5 23b39c13fabed5884249349fc7052fa6
BLAKE2b-256 9b3df66a5fbd070720e2c05054222599e6b58ff39d4c0fdfac2c7cef50f75a7f

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