Skip to main content

Deterministic AI agent runtime — NL to schema-validated plans to reproducible tool execution

Reason this release was yanked:

Deprecated in favor of the unified monorepo architecture and release of v3.0.0.

Project description

AXIOM LLC — Unified AI Systems Monorepo

Welcome to the central, production-grade system repository of AXIOM LLC. This repository houses the entire, highly consolidated AI operating system stack, theoretical research publications, static web surfaces, and continuous delivery pipelines.

By consolidating previously disjointed repositories into a single unified monorepo, we eliminate transactional version drift, simplify continuous integration, and ensure atomic dependency resolution across all engineering layers.


1. Structural Architecture

This monorepo is engineered to function as a unified operational stack. Below is the comprehensive file and directory topology mapping our systems from the execution kernel up to public-facing documentation and continuous integration pipelines:

.
├── apex/                             # Core Execution Engine Package
│   ├── benchmarks/                   # Automated Testing & Optimization Datasets
│   │   ├── eval_rag_dataset.json     # Grounding evaluation corpus for RAG queries
│   │   ├── eval_rag.py               # Document retrieval accuracy scoring engine
│   │   ├── parallel_codegen.py       # Multi-threaded code generation test harness
│   │   ├── results/                  # Serialized performance scoring JSONs
│   │   └── tasks.json                # Standard 12-task optimization benchmark suite
│   ├── bench.py                      # Local benchmark runner & BDSO cycle controller
│   ├── config.py                     # Frozen Global Configuration Dataclass
│   ├── core/                         # Pure Functional State & Exec Kernel Submodules
│   │   ├── api_clients.py            # Resilient HTTP REST adapters with retry loops
│   │   ├── __init__.py               # Core sub-package initialization
│   │   ├── loop.py                   # Pure functional transition engine: run() -> State
│   │   ├── planner.py                # Schema-validated JSON plan generator
│   │   ├── rag.py                    # Embedded, in-process semantic search engine
│   │   ├── rollback.py               # Programmatic execution failure rollbacks
│   │   ├── schema.py                 # Valid policy structures and safety parameters
│   │   ├── state.py                  # Immutable state transitions & database memory
│   │   ├── swarm.py                  # Multi-agent process-isolated swarm coordinator
│   │   ├── tools.py                  # Process-isolated side-effect tool definitions
│   │   ├── trace.py                  # JSONL trace logs, exporters, and simulator
│   │   ├── types.py                  # Frozen data modeling schemas (Step, Plan, Event)
│   │   └── validator.py              # Regex prefilters & LLM plan auditors (Paranoid)
│   ├── examples/                     # Ready-to-deploy blueprints and automation runners
│   │   ├── cli_demos.sh              # Multi-agent swarm and CLI execution demo shell
│   │   ├── logistics-dashboard/      # Real-time dashboard (Flask + Dash + SQLite)
│   │   ├── README.md                 # Examples subdirectory guide
│   │   ├── test_logistics.py         # Logistics dashboard verification suite
│   │   └── voice-agent/              # Telephony voice agent (Twilio + Flask + Docker)
│   ├── history.py                    # Persistent SQLite trace and metrics recorder
│   ├── __init__.py                   # Package-level initialization
│   ├── llm.py                        # Thin LLM delegation and execution layer
│   ├── __main__.py                   # CLI entry-point and subcommand dispatcher
│   ├── mcp.py                        # Model Context Protocol (MCP) server adapter
│   ├── prompt.txt                    # System prompt instructions and planner guidelines
│   ├── providers.py                  # Platform API integrations (Gemini & Ollama)
│   ├── README.md                     # APEX Package Engine README
│   ├── server.py                     # Flask-backed programmatic execution HTTP API
│   ├── templates.json                # Consolidated configuration safety policy profiles
│   ├── templates.py                  # Profile loader and local asset manager
│   └── tests/                        # Component-specific regression testing suite
├── docker-compose.yml                # Unified single-container service orchestration
├── Dockerfile                        # Multi-stage optimized application container definition
├── docs/                             # Conceptual, Academic, & Visual branding assets
│   ├── README.md                     # Docs Surface Directory Index
│   ├── research/                     # Mathematical papers and taxonomies
│   └── web/                          # Static registry index, diagrams, and site assets
├── .env.example                      # Reference local environment variable template
├── .gitignore                        # Global repository ignore specifications
├── LICENSE                           # Software use compliance certificate (MIT)
└── pyproject.toml                    # Declarative package build and dependency manager

2. Global System Invariants

Every subsystem and component inside this monorepo strictly complies with the following architectural invariants:

  1. Pure Functional Transition Kernels: The core execution engine (apex/core/loop.py) operates as a pure function: run(Task, Config, Registry) -> State. No global variables, hidden side-effects, or implicit mutable states are permitted.
  2. Explicit Execution Boundaries: Tool calls are bounded at runtime by a hard ceiling of 32 execution steps, a maximum tool execution timeout of 300 seconds, and strict process isolation.
  3. Strict Schema Invariance: Planners generate execution sequences in raw JSON. These are parsed and structurally validated against strict Pydantic schemas before entering the execution path.
  4. Static Security Gateways: Local execution policies strictly limit network access and filesystem write areas at the API boundary before execution, verified in-process.

3. Boostrap & Environment Initialization

To initialize and run this consolidated stack locally, follow these instructions.

Prerequisites

  • Python 3.11 or 3.12 (Unix-based operating system recommended for SIGALRM timeout mechanics).
  • A valid Gemini API key.
  • (Optional) Docker & Docker Compose for containerized deployments.

Step 1: Clone & Navigate

git clone git@github.com:axiom-llc/axiom.git ~/c/apps/axiom
cd ~/c/apps/axiom

Step 2: Establish Virtual Environment

python3.12 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e .

Step 3: Bind Environment Parameters

Copy the reference template and configure your access keys:

cp .env.example .env
# Edit .env with your favorite editor to populate GEMINI_API_KEY and APEX_API_KEY

4. Run Protocols

Local CLI Run

Submit a direct natural language task straight to the compiler:

apex "search for error traces in /var/log/syslog and count their occurrences"

Local Development Test Run

Ensure your local environment passes all standard regression tests:

pytest apex/tests/ -q

5. Contact & Registry

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

axiom_apex-2.2.0.tar.gz (75.9 kB view details)

Uploaded Source

Built Distribution

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

axiom_apex-2.2.0-py3-none-any.whl (87.0 kB view details)

Uploaded Python 3

File details

Details for the file axiom_apex-2.2.0.tar.gz.

File metadata

  • Download URL: axiom_apex-2.2.0.tar.gz
  • Upload date:
  • Size: 75.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for axiom_apex-2.2.0.tar.gz
Algorithm Hash digest
SHA256 366eefa3b08d1a93ded1b9752aa70601b814a8c0099eba70b7e1da89213b311a
MD5 f955c81ff2a016af44e85e32ecc589bf
BLAKE2b-256 bb5fbe55f006a73503ed1a2ecccded82c5dd027403506a8a2e87c7b2fed007a8

See more details on using hashes here.

File details

Details for the file axiom_apex-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: axiom_apex-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 87.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for axiom_apex-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0491fe053fdbb1d80f6eee2b38af41d28d888848a97461fbfc353b0ee68d1898
MD5 51439455ba326f426227aaa1dd9227fb
BLAKE2b-256 5973cee1c23b54238458cf74738c8d2eb8c887541ab157bf3202be586b8e3e76

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