Skip to main content Switch to mobile version vexinter 0.6.0 Verification, memory, and secure communication infrastructure for AI agents
pip install vexinter==0.6.0 Copy PIP instructions
Verification, memory, and secure communication infrastructure for AI agents.
Developer documentation: https://vexinter.com/docs
Vexinter sits between your AI agents and the real world, providing three fundamental layers that ensure every decision is verifiable, every memory is useful, and every message is private:
Verifiable execution: tasks run under declarative conditions; every tool call is attested and appended to a hash-chained, append-only audit log.
Memory with governance: episodic/semantic/working memory tiers, retention policies, per-person GDPR erasure that preserves chain integrity.
Cryptographic identity: Ed25519 agent keys, rotation, nonces, signed envelopes; X25519 E2E encrypted messaging interoperable across SDKs.
FastAPI service: signed data plane + admin control plane, automatic PostgreSQL schema migration, rate limiting, circuit breaker, optional Redis.
Web console: React/Vite SPA served at /vexinter with HttpOnly-cookie auth, i18n and theme support.
Observability: Prometheus metrics (/metrics), OpenAPI spec (/openapi.json), health/readiness endpoints.
Multi-tenancy: tenant records with tiers, agent binding, suspension and per-tier execution quotas.
SDKs: Python (vexinter.sdk sync + vexinter.remote async) and TypeScript (@vexinter-ai/sdk on npm).
Docker Compose (recommended)
cp .env.example .env # Edit .env: POSTGRES_PASSWORD and VEXINTER_ADMIN_TOKEN are required docker compose up --build Endpoints:
API / Console: http://localhost:8000/vexinter
Prometheus Metrics: http://localhost:8000/metrics
OpenAPI Spec: http://localhost:8000/openapi.json
Health: http://localhost:8000/health (also /ready, /live, /health/full)
The compose file fails fast if required secrets are missing, does not expose the PostgreSQL port, and runs the service as a non-root user with a HEALTHCHECK and CPU/memory limits (VEXINTER_CPUS / VEXINTER_MEMORY).
TLS: the container does not terminate TLS, put a reverse proxy in front (Caddy/Nginx/Traefik). Session cookies default to Secure + SameSite=Strict; keep VEXINTER_COOKIE_SECURE=1 behind HTTPS.
Secrets: .env is fine for a single host; for orchestrated deploys prefer Docker secrets / your secret manager and drop env_file.
Scaling: multiple replicas are safe for the API (Postgres-backed sequence guard and rate limiting), but keep VEXINTER_SCHEDULER_INTERVAL_S enabled on one replica only, follow-up scheduling is not leader-elected.
from vexinter.sdk import Task from vexinter.core.runtime import LocalRuntime from vexinter.demo import CrmAdapter, BillingAdapter rt = LocalRuntime([CrmAdapter(), BillingAdapter()]) with Task( rt, agent="soporte_bot", objective="Customer signup and invoice", condition={"op": "equals", "a": {"from": "crm", "path": "status"}, "b": "active"}, input={"email": "client@example.com"} ) as t: c = t.tools.crm.create_customer({"name": "John Doe", "email": "client@example.com"}) t.tools.billing.create_invoice({"customer_id": c.id, "amount": 150}) verdict = t.verify() print(f"Status: {verdict.status}") # "met" | "not_met" | "inconclusive" Async SDK
import asyncio import os from vexinter.identity import AgentKeyMaterial from vexinter.remote import AsyncRemoteRuntime, AsyncRemoteTask ADMIN_TOKEN = os.environ["VEXINTER_ADMIN_TOKEN"] async def main() -> None: keys = AgentKeyMaterial() # One-time onboarding (admin token): enroll the agent, spawn an # instance and issue its credential. The service only stores the # public halves, the private keys stay here and sign each request. async with AsyncRemoteRuntime( "http://localhost:8000", admin_token=ADMIN_TOKEN ) as admin_rt: await admin_rt.enroll_agent("bot-async") inst = await admin_rt.spawn_instance("bot-async") creds = await admin_rt.issue_credential(inst["instance_id"], keys) async with AsyncRemoteRuntime( "http://localhost:8000", credentials=creds ) as rt: async with AsyncRemoteTask( rt, agent="bot-async", objective="Asynchronous verification", condition={"op": "equals", "a": {"from": "system", "path": "ok"}, "b": True}, ) as t: print("Status:", (await t.verify()).status) asyncio.run(main()) GDPR erasure
from vexinter.privacy import InMemoryKeyRing, PrivacyStore from vexinter.store_pg import PostgresEventStore inner = PostgresEventStore("postgresql://user:pass@localhost:5432/db") store = PrivacyStore(inner, InMemoryKeyRing()) # Sensitive data is encrypted at rest and redacted in logs. # Right to erasure (Art. 17 GDPR): destroys content, preserves integrity. store.erase(execution_id="exec_12345", reason="data subject request") assert store.verify_chain("task:exec_12345").ok Erasure limitations (read before relying on this for compliance):
FileKeyRing.destroy() overwrites the key file and deletes it, but a journaled filesystem or SSD does not guarantee physical erasure, forensic recovery of the raw key bytes cannot be ruled out. For high-assurance deployments, keep the key directory on a separate volume excluded from backups, or front it with an HSM/KMS.
Erasure renders content unreadable (crypto-shredding); the ciphertext itself remains in the append-only log. Whether encrypted-but-intact records satisfy a given erasure request is a legal question that depends on jurisdiction and retention policy, have counsel validate the approach for your deployment.
Anti-replay sequence state for agent-to-agent envelopes is rebuilt from the persistent log on startup (restore_from_log), but it is per-process: multi-node deployments must route a given agent pair through a single node or add a shared sequence store.
git clone https://github.com/Vexinter-AI/vexinter.git cd vexinter python -m venv .venv && source .venv/bin/activate pip install -e ".[dev]" Paid plans (signed wheels via the billing endpoint)
Subscribers receive a license token (secret) and customer id (lic_…) by email after purchase. Configure pip once via ~/.netrc (chmod 600):
machine billing.vexinter.com login lic_xxxxxxxxxxxxxxxx password then install the signed wheel. Your welcome email contains the exact pip install URL for the current version (the endpoint only serves wheels to active licenses):
pip install https://billing.vexinter.com/pro/vexinter_pro- -py3-none-any.whl Licensing and commercial model
Vexinter is source-available under the Community License: free for non-commercial use (personal projects, hobby, education, research, evaluation, and nonprofit/government entities).
Commercial use, including internal use inside for-profit organizations to automate business processes, requires a paid subscription (Professional / Business). See the Terms of Service and the license page.
Paid plans add: signed wheels and updates via the billing package endpoint, higher feature ceilings (agents, MCP connectors, persistent encrypted memory, GDPR erasure), priority/dedicated support, and cryptographically verified plan activation. Paid capabilities ship as a separately signed package whose license validation is pure local cryptography.
How plan verification works
Each customer gets an Ed25519-signed license document served by the vendor's billing endpoint (GET /license/{customer_id}.json). The instance fetches it at most once per day, verifies the signature against the vendor root key compiled into the Pro binaries, caches the last valid document for up to 7 days while the endpoint is unreachable, and applies the resulting plan. Signature validation is fully local. The vendor backend only issues documents, never sits in your request path, so network outages never degrade a paying deployment. When a subscription ends, the instance returns to Community limits within ~24h of the license document reflecting it, with in-flight work never interrupted and no client action required.
The vendor-side commercial backend (payment webhooks → package credentials → transactional emails → license issuing) is operated by Vexinter as a managed service; customers never need to run or configure it.
┌────────────────────────────────────────────────────────────┐ │ AGENT / CLIENT │ │ ┌──────────────────────────────────────────────────────┐ │ │ │ vexinter.sdk.Task vexinter.remote.AsyncRemoteTask │ │ │ └──────────────────────────────────────────────────────┘ │ └──────────────────────────┬─────────────────────────────────┘ │ HTTPS + Ed25519 Signed Requests ▼ ┌────────────────────────────────────────────────────────────┐ │ VEXINTER SERVICE (FastAPI) │ │ ┌──────────────────┐ ┌────────────────────────────────┐ │ │ │ Data Plane │ │ Control Plane (Admin) │ │ │ │ /v1/tasks │ │ /v1/identity/* │ │ │ │ /v1/messages │ │ /v1/cases, /v1/followups │ │ │ │ /v1/memory │ │ /v1/metrics, /v1/checkpoints │ │ │ └──────────────────┘ └────────────────────────────────┘ │ │ │ │ │ ┌────────────┴────────────┐ │ │ ▼ ▼ │ │ ┌─────────────┐ ┌──────────────┐ │ │ │ PostgreSQL │ │ Console │ │ │ │ (Events + │ │ React/Vite │ │ │ │ Hashchain) │ │ (/vexinter) │ │ │ └─────────────┘ └──────────────┘ │ └────────────────────────────────────────────────────────────┘ Configuration
With VEXINTER_PG_DSN set, the event log is PostgreSQL-backed and TierUsage quotas, TenantService membership/tier state, and the GDPR person index and erasure requests all survive restarts and work across multiple workers. With InMemoryEventStore they are per-process only.
See .env.example for the complete annotated list.
SPA / console: POST /v1/auth/login exchanges the token for an HttpOnly session cookie (vex_spa, HMAC-signed, SameSite=Lax, optional Secure, 8h). The token is never stored in localStorage.
Non-browser clients (SDK, scripts, Prometheus): X-Vex-Admin header or Authorization: Bearer.
Tenant records (name, tier, status, members with roles, per-tier quotas) live in vexinter/core/multitenancy.py and are enforced by the service:
Agent binding: POST /v1/admin/tenants/{id}/agents, bound agents inherit tenant status; suspending a tenant rejects its agents with 403.
Execution quota: POST /v1/tasks returns 429 past the tier's daily cap.
Admin API (admin token required): POST/GET /v1/admin/tenants, GET /v1/admin/tenants/{id}, POST .../suspend|activate, members and agent bind/unbind endpoints.
Tenant lifecycle events go to the append-only audit log.
Persistence: with VEXINTER_PG_DSN (Postgres store) tenants, members, agent bindings and daily usage counters live in vex_tenant* tables and survive restarts; usage increments are atomic (INSERT ... ON CONFLICT). With the in-memory store everything stays process-local, as before.
Isolation scope: enforcement is per-agent, a credential resolves to an agent, the agent to its tenant, and the tenant's status/quota apply. The event store itself is a single shared log: queries are not row-filtered by tenant, so cross-tenant reads are prevented by credential scoping, not by storage-level separation.
Tasks and execution guardrails
A task is one accepted objective execution (POST /v1/tasks): it starts when the objective is accepted and ends in a terminal state (met / not_met / inconclusive / failed / cancelled).
Never double-created on retry: pass idempotency_key and a network-cut retry returns the same task (deduplicated: true); reusing the key with a different payload returns 409.
Rejections are free: invalid conditions (422), auth failures and tenant quota denials (429) consume no unit.
Sub-tasks share the parent's budget: POST /v1/tasks/{id}/subtasks (including cascades from a sub-task id) inherits the parent's budget and is bounded by VEXINTER_MAX_SUBTASK_DEPTH (default 3) and VEXINTER_MAX_SUBTASKS_PER_TASK (default 32); over-limit delegation returns 429.
Plan resolution: paid tiers ship as the signed vexinter-pro package and activate through a verified license document (VEXINTER_LICENSE_*). The Pro binaries embed vendor root keys compiled at build time, so plan validation is pure local cryptography. A valid plan can only come from a genuine signed document, never from configuration or client-side changes. Plans differentiate on features, enforced per operation: registered agents (Community 3, paid unlimited), MCP connectors (1 / 5 / unlimited), persistent encrypted memory via VEXINTER_KEYRING_DIR (paid plans get FileKeyRing, Community gets volatile in-memory keys), GDPR erasure endpoints (paid only, 403 on Community), and the per-task token ceiling. The signed document's max_instances bounds concurrent instances (Professional: 5, Business: unlimited). VEXINTER_DEFAULT_PLAN is honored only in dev mode, and an unreachable license degrades to community. Env vars alone never unlock paid tiers. On multi-tenant deployments an agent bound to a tenant inherits the tenant's tier (professional→professional, enterprise→business).
Subscribers receive their license credentials and installation instructions in the welcome email after purchase; the package endpoint only serves the wheel while the license is active.
Every execution is bounded by conservative defaults, overridable per task at creation:
Budgets (max_tokens, max_usd, model_pricing) are optional; max_tokens is the primary bound because max_usd depends on the client-supplied pricing table. On the Community plan max_tokens is hard-capped at VEXINTER_COMMUNITY_MAX_TOKENS (default 50,000); other plans default to VEXINTER_DEFAULT_MAX_TOKENS (100,000) when unset. Tasks created without any budget field return a warnings entry.
Python SDKs accept the same knobs:
from decimal import Decimal from vexinter.models.budget import Budget from vexinter.remote import AsyncRemoteRuntime, AsyncRemoteTask budget = Budget(max_tokens=20_000, max_steps=60, deadline_s=900) async with AsyncRemoteTask( rt, agent="bot", objective="...", condition={...}, idempotency_key="order-12345", budget=budget, ) as t: ... Observability
Prometheus metrics are derived exclusively from the append-only event log:
vexinter_executions_total vexinter_final_states{state="met|not_met|inconclusive|..."} vexinter_false_successes_total vexinter_discrepancies_total vexinter_retries_compensations_total vexinter_human_decisions_requested_total / _made_total vexinter_rejected_operations_total vexinter_authentication_errors_total vexinter_integrity_failures_total vexinter_message_rejections / vexinter_tool_rejections (by reason) Tests
pytest -v # full suite (testcontainers + Docker) pytest -m "not pg and not live" -v # unit tests only (no DB) cd packages/sdk-ts && npm test # TypeScript SDK tests Current result: 326 passed, 5 skipped (Python) + SDK tests. ruff and mypy are clean.
Vexinter/ ├── packages/sdk-ts/ # TypeScript SDK (@vexinter-ai/sdk, public npm) ├── vexinter/ # Python package │ ├── core/ # events, store, crypto, state machine, verifier, │ │ # licensing, multitenancy, gdpr_erasure, ... │ ├── identity/ # Ed25519 identity, envelopes, messaging │ ├── privacy/ # PrivacyStore, KeyRing, E2E encryption │ ├── remote.py # AsyncRemoteRuntime / AsyncRemoteTask │ ├── sdk.py # Task / LocalRuntime high-level SDK │ ├── store_pg.py # PostgreSQL EventStore + SequenceGuard │ ├── demo.py # Example adapters (CRM, Billing) │ └── app/ # Web console (React + Vite + Tailwind) ├── services/app.py # FastAPI server (API + console + metrics + webhooks) ├── sql/schema.sql # PostgreSQL schema ├── tests/ # pytest suite (unit + PG integration) ├── examples/ # demos and benchmarks ├── .github/workflows/ # CI (ruff+mypy+pytest), publish, sdk-ts release ├── Dockerfile / docker-compose.yml / .env.example ├── LICENSE-COMMUNITY.md # Source-available license (free → MIT after 2y) ├── TERMS-OF-SERVICE.md # Commercial terms └── SECURITY.md # Vulnerability reporting policy Links
Website & pricing: https://vexinter.com
Terms of Service: https://vexinter.com/terms
License: https://vexinter.com/license
Security policy: SECURITY.md
Community: GitHub issues on Vexinter-AI/vexinter
Paid plans: support@vexinter.com (Professional: 48h response SLA, Business: 8h response SLA). Include your customer ID (lic_…, shown in your welcome email and as VEXINTER_LICENSE_ID in .env) so we can verify your plan and apply the SLA, it is also visible in the footer of every billing email.
Both files in this release have provenance metadata.
Other/Proprietary License (LicenseRef-Fair-Source (Community), see LICENSE-COMMUNITY.md)
dev distributed llm memory server
License Other/Proprietary License
Operating System OS Independent
Programming Language Python :: 3
Release files for vexinter 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 5.3 MB
Release files / vexinter-0.6.0.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Release files / vexinter-0.6.0-py3-none-any.whl
Security for vexinter 0.6.0
Both files in this release have been uploaded with provenance metadata.
With provenance vexinter-0.6.0.tar.gz Nov 30, 2026
With provenance vexinter-0.6.0-py3-none-any.whl Nov 30, 2026
Attestation for vexinter-0.6.0.tar.gz
Attestation for vexinter-0.6.0-py3-none-any.whl
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
Nov 30, 2026 2 release files Full provenance
Nov 24, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




