Skip to main content

Wide SDK

Wide SDK

Python SDK to build autonomous AI coding and web security agents powered by Wide

Download · Build · Changelog · Wide IDE · Wide CLI · Wide App · Wide Action · Wide Rules · License


Overview

Wide SDK allows Python developers to programmatically build, customize, and orchestrate autonomous AI coding and penetration testing agents with native Wide security tooling.

  • Autonomous Agent Loop: Full ReAct (Reasoning and Action) loop with dynamic context compaction and execution limits.
  • Native SAST Engine: Programmatic access to Wide's 20+ vulnerability inspection rules (SQLi, XSS, SSRF, Command Injection, XXE, Deserialization, Hardcoded Secrets).
  • Security Fuzzing and Payloads: Built-in web endpoint fuzzer and attack vector generator for automated verification.
  • Multi-Provider Architecture: Pluggable LLM backends supporting Ollama (local offline), Google Gemini, Anthropic Claude, and OpenAI/DeepSeek.
  • Custom Tool Ecosystem: Extensible @tool interface with automatic JSON Schema generation from Python function signatures and type hints.

Installation

pip install wide-sdk

Quick Start

from wide_sdk import Agent, GeminiProvider

provider = GeminiProvider(api_key="YOUR_GEMINI_API_KEY")
agent = Agent(provider=provider, working_directory=".")

response = agent.run("Scan this project for SQL injection vulnerabilities and fix any confirmed issues.")
print(response)

Security Scanner API

Run Wide's comprehensive static analysis engine directly in Python:

from wide_sdk.security import SecurityScanner

scanner = SecurityScanner(workspace_dir=".")
results = scanner.scan(min_severity="HIGH")

for finding in results.findings:
    print(f"[{finding.severity}] {finding.category} in {finding.file}:{finding.line}")
    print(f"Issue: {finding.message}")
    print(f"Remediation: {finding.remediation}\n")

Active Fuzzer API

Automatically probe an API endpoint parameter:

from wide_sdk.security import fuzz_endpoint

report = fuzz_endpoint(
    url="http://localhost:3000/api/search",
    param="q",
    payload_type="sqli"
)

if report.is_vulnerable:
    print(f"Vulnerability confirmed on {report.param}!")

Configuration

Set up environment variables for your preferred provider:

export GEMINI_API_KEY="your-gemini-key"
export ANTHROPIC_API_KEY="your-claude-key"
export OPENAI_API_KEY="your-openai-key"
export DEEPSEEK_API_KEY="your-deepseek-key"

License

GPL-3.0-or-later sl4de

Metadata

Release files for wide-sdk 0.3101126

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wide-sdk 0.3101126
File Size Uploaded Provenance Actions
wide_sdk-0.3101126.tar.gz 49.7 kB Without provenance Details for wide_sdk-0.3101126.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wide-sdk 0.3101126
File Interpreter ABI Platform Actions
wide_sdk-0.3101126-py3-none-any.whl Python 3 none any Details for wide_sdk-0.3101126-py3-none-any.whl

Total release size: 104.7 kB

Release files / wide_sdk-0.3101126.tar.gz

Download URL wide_sdk-0.3101126.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
64e8dfe5c5fd87c28bc1c4ba4218fb838b53f9bbadb8d7a72b671a54590b4e52
BLAKE2b-256 checksum
How to use checksums
40ab5981a54ab8d20d7d44dcdd1084446d6cbb44775f395b36af4135b2c82e24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / wide_sdk-0.3101126-py3-none-any.whl

Download URL wide_sdk-0.3101126-py3-none-any.whl
Size 55.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a84722db6814043572a11b8867f88bbe6dd4144832c7baefd66ca98e96d75f6
BLAKE2b-256 checksum
How to use checksums
16443f7fb0cd8a98193f6d2afe396f39c95cb523336d1828876e502b0a2575f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Security for wide-sdk 0.3101126

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3101126 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page