Skip to content

APAB — Agentic Phased Array Builder

APAB connects an LLM agent to typed engineering tools for phased-array antenna design: full-wave unit-cell simulation with mutual coupling, array patterns, and system-level link metrics. It runs local-first on Ollama by default, and every run produces a reproducible bundle with an audit log, provenance manifest, and OpenTelemetry trace.

apab run: the agent computes an 8x8 pattern, evaluates the link, and writes an audited run bundle

Install

pip install "apab[ollama]"            # array + system tools, local LLM
pip install "apab[ollama,edgefem]"    # + full-wave unit-cell solver
pip install "apab[observability]"     # + OpenTelemetry tracing

What APAB is

  • 17 MCP tools for unit-cell simulation (EdgeFEM), array patterns, system trades, import/export, and plotting
  • An agent orchestrator that plans and executes designs from natural-language requests
  • A recorded workflow: tool calls, token usage, config hashes, and design metrics land in a run bundle you can inspect, score, and replay
  • Framework-neutral: the same tools drive APAB's own agent, a Strands agent, or a deterministic LangGraph pipeline

What APAB is not

APAB does not replace full-wave EM verification or an RF engineer's judgment. It sequences physics tools, enforces the constraints you give it, and shows its work — treat its outputs as engineering analysis to review, not signed-off designs.

Start here

  • Quickstart — a working agent session in five minutes
  • Tutorials — Ollama, tracing, Strands, LangGraph, and the 28 GHz case study
  • Concepts — architecture, run bundles, security model, plugins
  • API reference — generated from the source

Source, issues, and releases live on GitHub; releases ship to PyPI via Trusted Publishing.