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, database analysis, and penetration testing agents with native Wide security tooling.

  • Autonomous Agent Loop: Full ReAct (Reasoning and Action) loop with dynamic context compaction, execution limits, and sub-70ms lazy import times.
  • Native SAST Engine: Programmatic access to Wide's 729 curated vulnerability inspection rules, offline OSV advisory bundles, and SHA256SUMS-verified rule synchronization.
  • Database 2.0 Client: Programmatic inspection, querying, query history tracking, multi-format export (CSV, JSON, SQL INSERT), and Mermaid ERD generation for SQLite, PostgreSQL, MySQL, and Redis.
  • Real CDP Browser Controller: Headless and headed Chromium browser automation supporting element ref interaction, HAR 1.2 traffic capture with sensitive header redaction, stealth evasion mode, and context manager lifecycle (with BrowserController()).
  • DecisionCore Multi-Agent Primitives: Algorithmic multi-agent consensus, dwell gates, lease claim tables, and candidate patch scoring (BarrierBudget, WeightedScorer, ClaimTable, PluralityConsensus, CommitmentGate).
  • 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 with connection pooling and automated retries.
  • 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.5161126.21

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.5161126.21
File Size Uploaded Provenance Actions
wide_sdk-0.5161126.21.tar.gz 330.4 kB With provenance Details for wide_sdk-0.5161126.21.tar.gz

Built distribution (wheel)

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

Total release size: 664.6 kB

Release files / wide_sdk-0.5161126.21.tar.gz

Download URL wide_sdk-0.5161126.21.tar.gz
Size 330.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e30f64450e5b39d00cc01646b52bc6cc246c06a9baf3088f1a1d01c331c69f92
BLAKE2b-256 checksum
How to use checksums
cf65502a469b7ce62943ef70ec2d105206d116006884d2f56422cf0b012ae2a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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

Download URL wide_sdk-0.5161126.21-py3-none-any.whl
Size 334.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec59939c40a5da523eaef18f9747bd2c1102419bcfdea11dee530d2c37318f26
BLAKE2b-256 checksum
How to use checksums
06537b8b6f0a83e93cf6962455a9a9240554898a5a13f6c4f51c66e54260397d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for wide-sdk 0.5161126.21

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for wide_sdk-0.5161126.21.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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.

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