Agentic Systems Architect

Architecture of
agentic systems.

I engineer compound systems that separate probabilistic reasoning from deterministic execution. Fifteen years across ML, LLMs, and agentic AI — building architectures that survive in high-liability clinical and enterprise environments.

Architecture Diagram

The Bifurcated Engine

We do not pass raw neural output directly to execution vectors. Our systems are split into two completely isolated environments that communicate only through strict structural compilers.

Bifurcated Neuro-Symbolic AI Engine Architecture
[REASONING // 02]

The Stochastic Field

Intelligence requires constraints. We architect reasoning engines that creatively explore solution spaces, distilling neural output into strict deterministic execution graphs. The LLM is not the system — it is an untrusted guest operating within a pre-validated stochastic range, free to innovate but never free to execute.

Where open-weight SLMs and reasoning agents creatively explore non-linear solution spaces, run multi-agent debates, and generate candidate traces without production risk.

Perception Ingestion

Multimodal Signal Fusion

Converts raw text, medical telemetry, and time-series data (TimesFM) into initial embeddings.

Exploratory Planning

Parallel Sub-Agent Swarms

Isolated agents running LangGraph cycle-states, fanning out to model hypothetical paths.

Separate Agent Infrastructure from Agent Theater

Learn More about The Planning-Rubicon →
THE PLANNING RUBICON
[SYS_CORE // 01]

The Deterministic Vault

Enterprise autonomy requires absolute reliability. Every neural output is intercepted by a rigid state machine that strips linguistic variance and enforces mathematical invariants. Governance, validation, and recovery come first. Intelligence is earned — never assumed.

The absolute state platform. This rigid containment unit intercepts candidate graphs, strips away linguistic variance, and executes code via immutable transactional state lines.

Symbolic Compilation

Constrained JSON Graph Compiler

Distills neural traces into strict mathematical DAGs, validating schema layout before runtime.

Policy-as-Code Veto

OPA / Rego Governance Firewall

Applies non-negotiable clinical and business invariants. Catches and neutralizes hallucinations natively.

Idempotent Commit

[ORCHESTRATION // 03] Platform Scale

Executes transactional tasks through gRPC agents with cryptographic logging and telemetry tracing.

Production patterns

We classify systems by what must never happen. Each pattern is a control structure binding neural generation to strict deterministic verification.

PATTERN A

Guarded Execution

⚡ Liability: A wrong action causes irreversible harm.
Neural Proposal
LLM / SLM Agent
→
Deterministic Veto
OPA / Rego Policy
→
Safe Execution
State Machine

A deterministic rules engine controls the workflow. Neural models handle bounded fuzzy-logic tasks, but the symbolic engine owns execution, veto, and fallback. There is no override.

Use cases: Clinical decision support, autonomous vehicles, grid balancing.

Agentic Energy Grid Balancing aragit/agentic-energy-grid-balancing
Public
Clinical Oncology Core internal/clinical-oncology-core
Private
clinical-oncology — cardiotoxicity-guard
// policy/cardiotoxicity.rego
package clinical.oncology

default allow = false

veto[msg] {
    input.patient.lvef < 50
    input.regimen.cardiotoxic == true
    msg := sprintf("CRITICAL VETO: LVEF %d%% < threshold 50%%", [input.patient.lvef])
}
[NEURAL] Propose Regimen: AC-T (Doxorubicin)
[GOVERN] CRITICAL VETO — LVEF 48% < 50% (cardiotoxicity.rego)
[RE-PLAN] Select TC (Docetaxel) — safety cleared
[STATUS] TREATMENT_PLAN_VALIDATED
PATTERN B

Verify-then-generate

⚡ Liability: A wrong conclusion wastes resources but is correctable.
Candidate Draft
CoT Generation
⇄
Graph Validation
Cypher / Neo4j
→
Verified Output
Ontology Checked

A neural reasoner proposes a solution. An external ontology or graph verifies it. Violations trigger a self-correction feedback loop. Maximum iterations lead to a deterministic fallback.

Medical CoT alignment pipeline for google/MedGemma-4B-IT.

speculative-graphrag — differential
// validation/differential.cypher
MATCH (d:Disease)-[:METASTASIZES_TO]->(target:Disease)
WHERE d.name = $primary
  AND NOT EXISTS {
    MATCH (source:Tissue)-[:ORIGINATES_FROM]->(d)
    WHERE source.name IN $patient_history
  }
RETURN d.name, target.name, confidence
[INGEST] Patient note: "persistent cough, weight loss"
[SPEC] MedGemma-4B-IT proposes diagnostic triplets
[VERIFY] Cypher validation: lung_ca→metastasis edge MISSING
[CORRECT] Confidence: 0.82 → 0.72 (decay -0.1)
[REGEN] Feed violations + reasoning trace back to LLM
[VERIFY] Corrected path validated via Neo4j
[STATUS] DIFFERENTIAL_RESOLVED
PATTERN C

Algorithmic Arbitration

⚡ Liability: Competing autonomous actors sharing resources.
Agent Swarm Bids
Competing Proposals
→
Math Arbiter
VCG / Nash Engine
→
System Equilibrium
Optimal State

Neural agents propose strategies. A compiled mathematical engine (Nash equilibrium solver, VCG auction mechanism) checks every proposal against formal invariants.

Nash Marketing Agents aragit/agentic-nash-marketing
Public
Autonomous Procurement Swarm aragit/autonomous-procurement-swarm
Archived

Architecturally redundant. The Nash engine mathematically outclasses it.

nash-marketing — vcg-auction-engine
# engine/vcg_equilibrium.py
def compute_vcg_clearing(bids: dict[str, float]) -> tuple[str, float]:
    """Calculates VCG winner and clearing price (externality imposed)."""
    sorted_bids = sorted(bids.items(), key=lambda x: x[1], reverse=True)
    winner, winning_bid = sorted_bids[0]
    second_price = sorted_bids[1][1]  # VCG clearing payment
    return winner, second_price
[BID] Agent-A $2.40 | Agent-B $1.85 | Agent-C $3.10
[ARBIT] VCG engine: Agent-C charged next-highest ($2.40)
[NASH] SciPy optimization: equilibrium at Round 41
[TEST] 49/49 passed — monotonicity, individual rationality
[STATUS] NASH_EQUILIBRIUM_REACHED

Verification Maturity

We do not claim academic taxonomy compliance. Our systems are engineering hybrids. Every pattern declares its verification level honestly.

LevelWhat it meansImplementation
Unit TestsComponent-level correctnesspytest across all production repos
Property-basedInvariant verification across inputsNash: 49 tests for IR & bounds
BenchmarksStandardized task performanceTimesFM/Chronos-2 aligned to M5 WAPE
Audit TrailsImmutable, cryptographically signedClinical: full trace committed to ledger
FLAGSHIP ENGINE FHIR R4 NATIVE

AXIOMIS Core

Clinical Intelligence System with Deterministic Policy Enforcement

< 12ms Rego Clearance
100% Deterministic Safety
DAG Execution Graph
// System Lifecycle Architecture
1. FHIR Ingestion
R4 Bundle Parser
→
2. DAG Compiler
Treatment Pipeline
→
3. OPA Pre-Flight
Invariants Verification
→
4. Ledger Commit
Immutable Audit Trace

At its core, AXIOMIS is a deterministic state machine for clinical oncology. Treatment plans compile to Directed Acyclic Graphs (DAGs) prior to execution. Each node undergoes pre-flight clearance by Regula OPA policies. Neural model proposals are never executed directly—they require symbolic justification and policy clearance.

✓ Symbolic Invariants: Absolute veto on cardiotoxicity & dosage limits.
✓ Multi-Drug Regimen: Optimized for multi-stage FOLFOX oncology protocols.
✓ FHIR R4 Native: Direct mapping from HL7/FHIR resources into Rego memory.
axiomis-engine — folfox-clearance-trace
// engine/folfox_dag.py
def execute_clinical_dag(fhir_bundle: dict) -> ExecutionResult:
    dag = compile_fhir_to_dag(fhir_bundle)
    for node in dag.nodes:
        clearance = opa_engine.verify(node.context)
        if not clearance.allowed:
            return fallback_to_symbolic_override(node, clearance.veto_reason)
    return dag.commit()
[INGEST] FHIR Bundle #8841 (Stage III Colon Ca)
[COMPILE] Generated 8-node FOLFOX DAG
[PRE-FLIGHT] 8/8 Rego nodes cleared (0 safety violations)
[COMMIT] Execution ledger signed & dispatched

Architecting Production AI & Governance Systems?

Open to technical advisory, multi-agent orchestrations, or enterprise neuro-symbolic engineering roles.

✉ Let's Talk anicomanesh@gmail.com