axiom-infra integrates AXIOM's advanced AI platform through a Docker Compose stack and
cross-repository portfolio validation workflow for the active AXIOM repository ecosystem, plus the canonical local ASON → APEX → RAG executable reference.
axiom-infra/
├── .env.example
├── .github/workflows/portfolio.yml
├── docker-compose.yml
├── core_stack.py
├── portfolio_receipt.py
├── release_compatibility.py
├── release-compatibility.json
├── tests/
└── README.md
The Compose build expects sibling checkouts under one parent directory:
axiom-llc/
├── axiom-infra/
├── axiom-rag/
├── axiom-apex/
├── axiom-ason/
├── axiom-api/
└── axiom-demos/
The local image is built from axiom-ason/Dockerfile using the matching sibling
RAG, APEX, and ASON packages.
From axiom-infra:
cp .env.example .envSet GEMINI_API_KEY, RAG_API_TOKEN, and a non-empty APEX_API_KEY in
.env. GEMINI_API_KEY belongs only to the RAG service; APEX does not receive
or forward it for RAG operations. Compose defaults APEX to its credential-free
local Ollama provider; configure a reachable local provider before using APEX
model-generation features.
Validate the resolved Compose configuration:
docker compose config --quietStart RAG and APEX:
docker compose up --build -dRAG binds 0.0.0.0:8000 inside its container and is published only at
127.0.0.1:8000 on the host. Its callers use http://rag:8000 inside Compose
and http://127.0.0.1:8000 from the host; both require RAG_API_TOKEN.
It alone mounts rag_data at /root/.rag/chroma, the canonical persistence
root. The namespace is documents-gemini-embedding-2; its embedding identity
is google-gemini / gemini-embedding-2 / 3072 / schema 1.
APEX is published at 127.0.0.1:8080, requires X-Apex-Key, stores
history/memory in the apex_data volume, and reaches RAG at http://rag:8000.
Submit an ASON plan through the on-demand tools profile:
cat plan.json | docker compose run --rm -T ason submit -ASON uses:
APEX_URL=http://apex:8080
and shares the configured APEX API key.
Stop the stack without deleting persistent data:
docker compose downThe Compose stack runs the single RAG storage owner, APEX, and on-demand ASON. The RAG service owns the canonical persistence volume and its provider credential. APEX only has the HTTP target, bearer token, and explicit mapped namespace/embedding assertion. No caller mounts RAG persistence.
The RAG container's non-loopback bind is intentionally token-protected. It does
not publish beyond host loopback. The host URL is for local inspection/tools;
container callers must use the Compose DNS name rather than host loopback.
rag_multi_query remains a legacy /query tool boundary, while evaluator and
local-provider operations remain outside this shared service/root.
.github/workflows/portfolio.yml runs:
- on pushes and pull requests;
- manually through
workflow_dispatch; - daily on its configured schedule;
- on Python 3.11 and 3.12.
The inventory job lists the owner’s public repositories, excludes archived entries, checks the result against the recipe registry and resolves the default-branch SHA for every dependency. Both Python versions consume that same inventory. Infra itself uses the workflow event SHA so pull requests exercise their candidate revision. A new, removed or renamed active repository causes discovery to fail until its recipe is reviewed.
The matrix fetches those exact public commits without credentials. It exercises ASON, API and Harness from APEX, and the consolidated demos from their active owner. Each Python version runs the registered suites once. Separate installed-entry-point and offline Compose integration checks remain. ASON is staged from APEX’s package directory for the retained Docker build context. The public workflow never requests private deployment keys.
Run this repository's standard-library regression suite without starting containers:
python -m unittest discover -s tests -vFor container integration:
docker compose config --quiet
docker compose up --build --wait
cat plan.json | docker compose run --rm -T ason submit -
docker compose down
git diff --checkLive-provider benchmarks are intentionally outside the portfolio workflow.
Remote host access through Desktop Commander Remote MCP is optional infrastructure only. It may be used for explicit operator-authorized cross-repository inspection, testing, diagnostics, and maintenance, but no AXIOM runtime or CI path depends on it. See REMOTE_MCP.md for the trust boundary and rejected coupling.
Run python portfolio_receipt.py with sibling public checkouts or select a component with --repo NAME. CI supplies --pins PATH and rejects missing, dirty or mismatched checkouts. The JSON receipt records per-repository coverage, exact revisions, command outcomes and a canonical SHA-256. A partial recipe is reported explicitly. The artifact is retained for one day. Private coverage belongs in the private portfolio record.
release-compatibility.json records the current core compatibility tuple and publication/dependency order: RAG 1.5.0 → APEX 3.2.0 → ASON 0.3.0. RAG 1.5.0 is already published; APEX 3.2.0 and ASON 0.3.0 remain unpublished. python release_compatibility.py verifies source package metadata and exact cross-package minimums. This gate is compatibility evidence only and never authorizes tags or release publication.
With the Compose services running and local validation credentials exported, run python core_stack.py. It performs a provider-free RAG HTTP inspection, submits a bounded write/read plan through ASON, verifies the authorization and approved-plan digest persisted by APEX, records exact repository revisions, and emits a SHA-256 evidence digest. The discoverable demo wrapper lives at axiom-demos/core-stack/run.sh.
AXIOM-authored software is available under the MIT License. Dependency licenses remain separate.