Open-source security middleware for AI agents. Scan, audit, and protect your AI agents and MCP tools.
Project description
Wiqai
Open-source security middleware for AI agents
وِقاية — Prevention. Protection. The shell way.
Wiqai (وِقاية — "prevention/protection" in Arabic) is an open-source security middleware that scans, audits, and protects AI agents and MCP tools in real-time.
Think of it as the OWASP ZAP for the agentic era — but designed as a lightweight SDK that integrates in 3 lines of code.
Why Wiqai?
AI agents are powerful. They can execute code, browse the web, access your files, call APIs. But who watches the watchers?
- Cisco found that 26% of MCP skills contain at least one security vulnerability
- Prompt injection attacks can silently exfiltrate data through hidden
curlcommands - No unified tool exists to scan, audit, AND evaluate agent security
Wiqai fills this gap.
Quick Start
pip install wiqai
from wiqai import Shield
shield = Shield()
# Scan MCP tools for vulnerabilities
results = shield.scan("./mcp-skills/")
print(results.summary())
# Protect an agent at runtime
@shield.protect
async def my_agent(prompt: str):
return await llm.generate(prompt)
# Audit agent behavior
audit = shield.audit(agent_logs="./logs/")
audit.report()
# CLI usage
wiqai scan --target ./skills/
wiqai audit --logs ./agent-logs/
wiqai eval --agent ./my_agent.py
Features
| Module | Description | Status |
|---|---|---|
| MCP Proxy | Intercepts and scans every MCP tool call | Planned |
| Prompt Firewall | 4-layer injection detection (regex, classifier, semantic, LLM judge) | Planned |
| Behavioral Audit | Traces agent actions, detects anomalies | Planned |
| Eval Engine | Quality + safety scoring for agent outputs | Planned |
| Compliance Reporter | OWASP, RGPD, CNDP compliance reports | Planned |
Architecture
[Your Agent] ← AutoGPT / OpenClaw / CrewAI / LangGraph / Custom
↓
[Wiqai SDK] ← pip install wiqai
├── MCP Proxy → scans every tool call
├── Prompt Firewall → blocks injections
├── Behavioral Audit → traces + anomaly detection
├── Eval Engine → quality + safety scoring
└── Compliance Report → OWASP / RGPD / CNDP
↓
[Dashboard / API / Webhooks]
Integrations
Wiqai is designed to work with any agent framework:
- MCP Protocol — Native support, intercept any MCP server
- LangChain / LangGraph — Middleware integration
- CrewAI — Agent-level protection
- AutoGPT — Plugin scanning
- OpenClaw — Skill security analysis
- Custom agents — Simple decorator API
Sponsorship
Wiqai is 100% open-source and community-funded. We rely on sponsors to keep the project alive and independent.
| Tier | Amount | Perks |
|---|---|---|
| Hatchling | $5/mo | Name in SPONSORS.md + Discord role |
| Shell | $25/mo | Logo on README + priority issues |
| Carapace | $100/mo | Logo on website + monthly call |
| Fortress | $500+/mo | Custom integration support + advisory |
Grants & Funding
We actively pursue grants to ensure long-term sustainability:
- NLnet Foundation (NGI Zero)
- Mozilla MOSS
- EU Sovereign Tech Fund
- Open Technology Fund
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
git clone https://github.com/wiqai/wiqai.git
cd wiqai
pip install -e ".[dev]"
pytest
Community
- Discord — Chat with the team
- GitHub Discussions — Ideas & questions
- Twitter/X — Updates
License
Apache 2.0 — See LICENSE for details.
Built with care by 2PiData
Securing the agentic era, one shell at a time.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wiqai-0.0.1.tar.gz.
File metadata
- Download URL: wiqai-0.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b62ee015d5e84ac63c466b3919cd0967864689b8211ffcbf10cc64eeaf7b7d24
|
|
| MD5 |
69bddca35b43aec73bea5ee562c4377b
|
|
| BLAKE2b-256 |
7fb006e21513a0a748f33fdb33a9138a9eb57ab85f70f0fa50bfc2974c08aaf5
|
File details
Details for the file wiqai-0.0.1-py3-none-any.whl.
File metadata
- Download URL: wiqai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44cbba2651848c88b6b60fc760fd312c6e88ef92828e343c9d36365cfa965684
|
|
| MD5 |
2f6942b2371e10df52f7966c752fb210
|
|
| BLAKE2b-256 |
b0e779fc5da3ffe184ffdd2bf52045130e520175b611a7ac9d10e8b1ed73a543
|