axiom-os-lm 0.70.45
“Composable and Extensible Agent Operating System for Language Models”
Python runs a downloaded script via shellPrompt requests internal instruction disclosure
SHA-2568d2c491d7efca441fe381a95efaa23a404572eb4fbe547c465eedc801e3cceb1
Evidence
1# Copyright (c) 2026 The University of Texas at Austin
2# Copyright (c) 2026 B-Tree Labs
3# SPDX-License-Identifier: Apache-2.0
4
5"""Wire PlanPipeline to AskPipeline — ADR-034 §D1.
6
7Plan derivation reuses AskPipeline. This module supplies:
8
9- ``parse_steps_from_response`` — tolerant JSON parser turning an LLM response
10 into a tuple of ``PlanStep``.
11- ``PlanDerivationHooks`` — ``AskHooks`` specialization biasing the system
12 prompt toward st …
130:46… es PlanParseError on malformed input."""
131 if not response or not response.strip():
132 raise PlanParseError("empty response")
133
134 cleaned = _strip_fences(response)
135 located = _locate_json_list(cleaned)
136
137 try:
138 data = json.loads(located)
139 except json.JSONDecodeError as exc:
140 raise PlanParseError(f"JSON decode failed: {exc}") from exc
141
142 if no …
206:44… uest (goal as question).
207 2. Run AskPipeline with PlanDerivationHooks contributing the
208 structured-output system prompt.
209 3. Parse the LLM response into PlanSteps.
210 4. Return a Plan whose derived_from carries the citations the LLM saw.
211 """
212
213 ask_pipeline: Any # AskPipeline; loose-typed to avoid m …
1# Copyright (c) 2026 The University of Texas at Austin
2# Copyright (c) 2026 B-Tree Labs
3# SPDX-License-Identifier: Apache-2.0
4
5"""Infrastructure setup for Axiom.
6
7Handles Docker, K3D, and PostgreSQL setup with:
8- Automatic prerequisite detection
9- Guided installation for missing components
10- LLM-powered troubleshooting
11"""
12
13from __future__ import annotations
14
15import json
16import os
17import platform
18import shutil
19import socket
20import subprocess
21import sys
22import time
23from dataclasses import dataclass
24from enum import Enum
25from pathlib import Path
26
27from axiom.infra.branding import get_branding as _get_branding
28
29
30class InfraStatus(Enum):
31 """Status of infrastructure components."""
32
33 READY …
619:12… Installing K3D via official script...")
620 _k3d_install_url = "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash"
621 try:
622 result = subprocess.run(
623 ["bash", "-c", _k3d_install_url],
624 capture_output=False,
625 check=False,
626 )
627 return result.returncode == 0
628 except (OSError, subprocess.Subpr …
Showing the top 5 files — 6 more files (201 regions) not shown.