Skip to main content

AEX v2.0 - Auto Execution Kernel (Simple Local Dev Profile)

AEX v2.0 is a local-first governance kernel for agent execution with deterministic accounting. This profile is intended for local development users.

Core guarantees:

  • budget reserve/commit/release lifecycle per execution_id
  • idempotent request replay behavior
  • hash-chained ledger events for tamper evidence
  • OpenAI-compatible northbound API with provider abstraction southbound

v2.0 Runtime Architecture

Control path:

  1. Auth (Bearer token, scope, TTL)
  2. Admission (execution_id, rate-limit, policy, route, preflight reserve)
  3. Provider dispatch (streaming/non-streaming)
  4. Exactly-once settlement (COMMITTED or RELEASED/DENIED/FAILED)
  5. Hash-chain event append + metrics projection

Execution states:

  • RESERVING -> RESERVED -> DISPATCHED -> COMMITTED
  • failure paths: RELEASED, DENIED, FAILED

Active Endpoints (Sorted)

Admin:

  • GET /admin/activity
  • POST /admin/reload_config
  • GET /admin/replay
  • GET /dashboard
  • GET /health
  • GET /metrics

Proxy:

  • POST /openai/v1/chat/completions
  • POST /openai/v1/embeddings
  • POST /openai/v1/responses
  • POST /openai/v1/tools/execute
  • POST /v1/chat/completions
  • POST /v1/embeddings
  • POST /v1/responses
  • POST /v1/tools/execute

Data Model (v2.0)

Primary tables:

  • agents - identity, caps, budget/spend/reserved counters
  • executions - idempotent execution identity + terminal cache
  • reservations - reserve/commit/release state
  • event_log - hash-chained immutable events
  • events - compatibility/event metrics stream
  • rate_windows - RPM/TPM windows
  • tool_plugins - plugin registry

Startup + Recovery

On daemon startup:

  • initialize/migrate DB schema
  • run integrity checks
  • load model/provider config
  • reconcile incomplete executions (release stale reservations, fail broken non-terminal flows)

Dashboard (Simple Local Frontend)

v2.0 ships with a simple local frontend connected to backend endpoints:

  • GET /health
  • GET /metrics
  • GET /admin/replay
  • GET /admin/activity

Open:

  • http://127.0.0.1:9000/dashboard

Quick Start

pip install aex

aex init
aex daemon start

aex agent create my-agent 5.00 30 --allow-passthrough

export OPENAI_BASE_URL=http://127.0.0.1:9000/v1
export OPENAI_API_KEY=<AEX_AGENT_TOKEN>

Source Layout

Technical READMEs are provided in each major folder under src/aex and src/aex/daemon.

Metadata

Release files for aex 2.0.0.post2

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

Source distribution (sdist)

Source distribution for aex 2.0.0.post2
File Size Uploaded Provenance Actions
aex-2.0.0.post2.tar.gz 60.5 kB Without provenance Details for aex-2.0.0.post2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aex 2.0.0.post2
File Interpreter ABI Platform Actions
aex-2.0.0.post2-py3-none-any.whl Python 3 none any Details for aex-2.0.0.post2-py3-none-any.whl

Total release size: 137.1 kB

Release files / aex-2.0.0.post2.tar.gz

Download URL aex-2.0.0.post2.tar.gz
Size 60.5 kB
Tags Source
SHA-256 checksum
How to use checksums
326e9801f966115aa0c4603dbbd5b38ae50bcd71a6f668674a8020fe8135dbcd
BLAKE2b-256 checksum
How to use checksums
7524cabbbdb29d4b8d2e203b99d331629e4a7ef5f295d83cda25b852db6368c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / aex-2.0.0.post2-py3-none-any.whl

Download URL aex-2.0.0.post2-py3-none-any.whl
Size 76.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78179b711a939394a16fdf12eda073c3474fa9ebaa309687e726f14ffb7442cd
BLAKE2b-256 checksum
How to use checksums
29f61024cb730fb5c5de94966ae645775f6431b9c15a096c0ec82d3b06cfd523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for aex 2.0.0.post2

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.

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