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.14

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.14
File Size Uploaded Provenance Actions
wide_sdk-0.5161126.14.tar.gz 99.2 kB With provenance Details for wide_sdk-0.5161126.14.tar.gz

Built distribution (wheel)

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

Total release size: 201.4 kB

Release files / wide_sdk-0.5161126.14.tar.gz

Download URL wide_sdk-0.5161126.14.tar.gz
Size 99.2 kB
Tags Source
SHA-256 checksum
How to use checksums
17e9fd01b7bd38f81a7b1eb1a1518bd9b46fe1ee39dc93dedc38e27c632b9070
BLAKE2b-256 checksum
How to use checksums
c83bc1ff07c06c6d2df90b5740aa28c7eee07414ce6af2099642399480fd9029
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.14-py3-none-any.whl

Download URL wide_sdk-0.5161126.14-py3-none-any.whl
Size 102.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
968008dccde89e7278183a2f99069b73821ebea9108591898e8c88952991da4b
BLAKE2b-256 checksum
How to use checksums
d6a8923bc88d6388387418e77587578e7b43b3b4dfcfa21d5abc359776745906
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.14

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.14.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