Skip to main content

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

Project description

APEX — Command-Line Operating System for Autonomous Business Units

PyPI Version License: MIT Python Version

Welcome to APEX, the central, production-grade system runtime developed by AXIOM LLC. APEX is a minimalist command-line operating system designed to orchestrate and run deterministic Autonomous Business Units (ABUs) on standard POSIX environments.

By consolidating previously fragmented repositories into a single unified monorepo, APEX eliminates version drift, enforces strict schema invariance, and runs parallel workloads with hard OS-level process isolation.


1. The 18 Autonomous Business Unit (ABU) Verticals

APEX includes 18 production-ready business automation templates located inside the templates workspace. These are not trivial examples; they are complete, functional shell workflows designed to run automated workloads, manage risks, and drive recurring revenue:

Autonomous Business Unit (ABU) Target Role / Industry Primary Automated Action
solo-agency.sh Solo Consultants & Agencies Automates client qualification, proposals, kickoffs, time tracking, and invoices.
revenue-monitor.sh Micro-SaaS Founders Runs a complete, self-owned Uptime Monitoring SaaS business with billing ledgers.
law-firm.sh Solo Law Practices Handles client intakes, conflict-of-interest checks, timesheets, and legal invoicing.
compliance-audit.sh Infosec & Compliance Officers Continuous system audit checking server logs against SOC 2, HIPAA, PCI, and GDPR.
cybersecurity.sh Security Operations (SecOps) Scans assets, parses authentication logs, checks CISA vulnerabilities, and isolates threats.
healthcare-rcm.sh Medical Practices & Billing Performs claim scrubbing (CPT/ICD-10), denials root-cause, and AR sweeps.
due-diligence.sh Corporate M&A & Private Equity Runs parallel research agents to write comprehensive corporate investment memos.
deal-flow.sh VC & Angel Investors Triages pitch decks against investment criteria and drafts professional feedback.
hedge-fund.sh Quantitative Portfolio Managers Ingests market active lists and compiles pre-market investment briefs.
supply-chain.sh Procurement & Risk Officers Monitoring vendor news feeds via GDELT API to score financial/geopolitical risk.
venture-bootstrap.sh Venture Builders & Incubators Compiles raw startup ideas into market research, business models, and MVP specs.
recruiter.sh Talent Acquisition Managers Performs job description matching, candidate resume scoring, and personal outreach.
insurance-claims.sh Insurance Carriers & TPAs Automates claims triage, severity grouping, and fraud red-flag checks.
msp.sh Managed Service Providers Performs client server SSH checks and triggers audio text-to-speech alerts.
content-engine.sh Search Engine Marketing (SEM) Scrapes tech signals, compiles content briefs, drafts posts, and scores SEO.
opportunity-scanner.sh Business Development Evaluates Product Hunt/HN gaps and maps them to technical stack capabilities.
standardize-templates.sh DevOps Infrastructure Enforces date/audio portability across different Unix operating system targets.

2. Core System Invariants & Guardrails

Every process and component inside this monorepo strictly complies with these four architectural guardrails:

  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. OS-Level Process Isolation: Multi-agent swarm workers (apex/core/swarm.py) run as isolated operating system processes via subprocess.Popen. A thread crash or infinite loop inside a worker cannot propagate and crash the parent master thread.
  3. Two-Stage Paranoid Security Gate: Before any generated plan enters execution, it is checked by local, deterministic Regex prefilters (intercepting commands like rm -rf / or chmod 777), followed by a strict security audit conducted in-process by gemini-3.1-flash-lite.
  4. Asymmetric Embedding Precision: The integrated RAG engine (apex/core/rag.py) utilizes asymmetric embedding task configurations (RETRIEVAL_DOCUMENT vs RETRIEVAL_QUERY) to maximize semantic vector search precision.

3. Quickstart & Installation

Prerequisites

  • Python 3.11 or 3.12 (Unix-based operating system recommended for local timeout mechanics).
  • A valid Gemini API key.

Step 1: Install from PyPI

Install the package directly into your virtual environment:

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install axiom-apex

Step 2: Configure Keys

export GEMINI_API_KEY="your_api_key_here"

Step 3: Run Your First Task

Submit a direct task straight to the compiler:

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

Step 4: Run the Complete Regression Suite

pytest apex/tests/ -q

4. 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-3.0.1.tar.gz (75.7 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-3.0.1-py3-none-any.whl (86.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for axiom_apex-3.0.1.tar.gz
Algorithm Hash digest
SHA256 5177d020262621eae65802edb01ab19ac931ae335d936d73884f0e51c5dbbf5f
MD5 e109a97da8400a02636a1a173a7d3cff
BLAKE2b-256 7bed6a8bf0a721274e6151c7f03db80a8c08a7ff91bc825b5409db40869bd6ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: axiom_apex-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 86.8 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-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 981bd4198e29d4880e27a0974dd98765b75df8174f2a9c3c30de217441a0f7b4
MD5 0acff0c83bbcf37fd50b645f28cde9d2
BLAKE2b-256 e8188cdff32731dcb5b0fd41b714f87a9aa52e1a6abf4aed25d202d4d16227c9

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