Skip to main content

AI-Supervised Cybersecurity Tool Orchestration Platform — Python core. Supported by TypeScript, C, and Assembly adapters/accelerators, with Java used alongside for high-throughput, cross-platform performance-critical paths. Installable via pip or bun (workspace tooling).

Project description

Vexqr Core (Python)

AI-Supervised Cybersecurity Tool Orchestration Platform — Python core.

A pipeline that connects any AI client (Claude, Gemini, Copilot, GitLab Duo, Cursor, Codex, custom OpenAI-compatible) to security tools — via MCP servers when available, or via terminal automation as a fallback — and supervises the worker AI in real time so it does not loop, waste tokens, or wander.

The core is Python. It is supported by:

  • TypeScript adapters for MCP / IDE clients (see the repository root).
  • C and hand-tuned Assembly accelerators for hot paths (token estimation, fuzzy-signature hashing) — see src/vexqr/accel.
  • A Java performance layer (JDK 21+) for high-throughput, cross-platform fan-out (parallel tool dispatch, concurrent sub-agent monitoring) — see src/vexqr/perf.

Everything degrades gracefully: with no native components installed the platform runs in pure Python with identical behavior, just slower on the hot paths.

The security layer (scope enforcement, risk gating, audit logging) is owned and implemented separately by the security team. It is intentionally not part of this package.

Install

pip install .                 # pure-Python core (zero native build steps)
pip install '.[accel]'        # + C/Assembly fast paths and the Java bridge
pip install '.[mcp]'          # + official Model Context Protocol SDK
pip install '.[dev]'          # + test dependencies

Optional: build the native accelerator

cd src/vexqr/accel && make            # C + hand-tuned x86-64 Assembly
# or, portable C only (any architecture):
cd src/vexqr/accel && make portable

Optional: build the Java performance layer (JDK 21+)

cd src/vexqr/perf
javac -d out java/com/vexqr/perf/DispatchCoordinator.java
jar --create --file vexqr-perf.jar -C out .

Usage

# Run a supervised assessment (simulated, safe, no tools installed/executed)
vexqr run "check if my web app is secure" --target scanme.nmap.org --dry-run

# Emit machine-readable JSON
vexqr run "full security assessment" --target example.test --dry-run --json

# Inspect run history and export the audit trail
vexqr history
vexqr export <task_id>

# Registry + native acceleration status
vexqr registry
vexqr accel

Programmatic:

import asyncio
from vexqr import Vexqr
from vexqr.platform import VexqrOptions
from vexqr.core.store import SessionStore

async def main():
    store = SessionStore()                       # persists to .vexqr/sessions.db
    app = Vexqr(VexqrOptions(client="custom", dry_run=True, store=store))
    result = await app.run("check if my web app is secure", "scanme.nmap.org")
    print(result.summary)

asyncio.run(main())

Architecture

Five vertical layers plus a cross-cutting supervisor:

Layer Module Responsibility
L1 adapters/ Normalize any AI client into a TaskObject; format results back.
L2 router/ Classify + route each tool call (MCP first, terminal fallback).
L3 mcp/ MCP registry, server lifecycle, trust-tier policy, transports.
L4 terminal/ Auto-install cascade + PTY automation + output parser.
L5 supervisor/ Loop detection, progress scoring, token budgets, feedback, escalation.

Cross-cutting: core/ (types, config, events, reporter, SQLite session/audit store), util/ (IDs, ANSI, logging, native acceleration bridge).

Test

pip install '.[dev]'
pytest                # src/ is on the path via pyproject [tool.pytest.ini_options]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vexqr-2.0.0.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vexqr-2.0.0-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

Details for the file vexqr-2.0.0.tar.gz.

File metadata

  • Download URL: vexqr-2.0.0.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for vexqr-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d3342461d91769ff312bbcadafe3207d148be6659a28aa4b487c806772ccecc1
MD5 3c1c1155ebc29c4cec9668f3234d0648
BLAKE2b-256 91ca25848cb58f3244f05d25f7e33153e3cefaa60df1d334fb4e38e5922cb949

See more details on using hashes here.

File details

Details for the file vexqr-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: vexqr-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 57.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for vexqr-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 627e175a7b362ba5322163e6d39ba2a8013c9889a75f59b2e54ecb38e4f5ffa5
MD5 46b72ab9080fc1a6c41ca59fce86c214
BLAKE2b-256 73fd3d4a97fb985fb7cd34c8bffec13fe44c345f0889fdd2a72e9c1860ddd49f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page