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.
Release files for wiqai 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wiqai-0.0.1.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wiqai-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / wiqai-0.0.1.tar.gz
| Download URL | wiqai-0.0.1.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b62ee015d5e84ac63c466b3919cd0967864689b8211ffcbf10cc64eeaf7b7d24
|
|
BLAKE2b-256 checksum How to use checksums |
7fb006e21513a0a748f33fdb33a9138a9eb57ab85f70f0fa50bfc2974c08aaf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / wiqai-0.0.1-py3-none-any.whl
| Download URL | wiqai-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44cbba2651848c88b6b60fc760fd312c6e88ef92828e343c9d36365cfa965684
|
|
BLAKE2b-256 checksum How to use checksums |
b0e779fc5da3ffe184ffdd2bf52045130e520175b611a7ac9d10e8b1ed73a543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|