Skip to main content

Advanced Autonomous Agent Executor (AAAX)

AAAX

Advanced Autonomous Agent Executor (AAAX) is the PSI shell for package-shaped agent systems.

Use it to inspect a PsiHub package, mount its tactics and channels, bind local handlers, open a small FastAPI surface, and hand that surface to a human, script, coding agent, or another system. The feel is intentionally shell-like: name the package, see the resources, run one command, and get a callable system.

AAAX can also stand alone. A Strategy can be just a Pydantic-modeled resource table plus local handlers exposed through FastAPI. LLLM, SSSN, and PsiHub are optional bridges when you want tactic, channel, and package behavior.

$ aaax inspect packages/analyst-pack
analysis-pack: Demo analyst package.
package analysis-pack psi://demo/analysis-pack
tactic echo psi://demo/analysis-pack/tactics/echo
channel events psi://demo/analysis-pack/channels/events

$ aaax serve packages/analyst-pack --port 8400
Uvicorn running on http://127.0.0.1:8400

AAAX does not replace LLLM, SSSN, PsiHub, Codex, Claude Code, schedulers, sandboxes, or deployment platforms. It is the thin shell where those pieces are named, mounted, served, and handed off.

Install

python -m pip install aaax

For a reproducible install:

python -m pip install aaax==0.2.2

For local PSI composition:

python -m pip install "aaax[integrations]" lllm-core sssn psihub

Mount A PsiHub Package

If a folder contains psi.toml, AAAX can serve it directly:

aaax serve packages/analyst-pack --port 8400

AAAX reads the manifest and mounts:

  • package metadata and card hints;
  • schemas, tactics, services, runs, and config;
  • SSSN channels and snapshots;
  • docs, examples, and assets.

Python tactic entrypoints become /tactics/{name}/run. Channels are backed by a local SSSN store and exposed through /channels/{name}/events. Services that point at one tactic are invokable as resources.

curl -X POST http://127.0.0.1:8400/tactics/finance_baseline/run \
  -H 'content-type: application/json' \
  -d '{"input": {"records": []}, "context": {"request": "demo"}}'

Append and query channel events:

curl -X POST http://127.0.0.1:8400/channels/events/events \
  -H 'content-type: application/json' \
  -d '{"input": {"kind": "record", "payload": {"text": "hello"}}}'

curl http://127.0.0.1:8400/channels/events/events?limit=10

Write A Shell Script

For larger systems, write a strategy.py. A strategy is the shell script: it mounts packages, assigns local names, and optionally defines /run.

from aaax import Strategy


def build_strategy() -> Strategy:
    shell = Strategy(
        "analyst-shell",
        description="Mount source channels and analyst tactics.",
    )
    shell.use_package("packages/source-channels", prefix="sources")
    shell.use_package("packages/analyst-tactics", prefix="analysts")

    @shell.runner
    def run(input_value, *, context=None):
        return {
            "input": input_value,
            "resources": [resource.ref for resource in shell.resources],
            "context": context or {},
        }

    return shell
aaax serve strategy.py --port 8400

Surface

Useful endpoints:

  • GET /health
  • GET /strategy
  • GET /resources
  • GET /packages
  • GET /tactics
  • POST /tactics/{name}/run
  • GET /channels
  • POST /channels/{name}/events
  • GET /channels/{name}/events
  • POST /run
  • POST /resources/{name}/invoke

Metadata

Release files for aaax 0.2.2

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

Source distribution (sdist)

Source distribution for aaax 0.2.2
File Size Uploaded
aaax-0.2.2.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for aaax 0.2.2
File Interpreter ABI Platform
aaax-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / aaax-0.2.2.tar.gz

Download URL aaax-0.2.2.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
389886a569f92fbb8d8b760b02e6bf2ede2caf4494beddb61a278e204ba69c86
BLAKE2b-256 checksum
How to use checksums
9e43e3b1fda0f47d2084886d7c177b631cd95b6f7cf58fe81c845ca8867f2705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / aaax-0.2.2-py3-none-any.whl

Download URL aaax-0.2.2-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
853c2cc1114eeaa7f9c7be52c43ec860ae61100829ba4919b570af65c863f0e5
BLAKE2b-256 checksum
How to use checksums
4c328e955464132ccb9fa0880ffa9bf60f8354d7551077fb80a54c991fec3122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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