Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent provides the Adapter interface — the seam between the engine's dispatcher and external agent CLIs (Claude Code first, per awf-workflow(5) (Agent step) and runtime-design.md §8).
|
Package agent provides the Adapter interface — the seam between the engine's dispatcher and external agent CLIs (Claude Code first, per awf-workflow(5) (Agent step) and runtime-design.md §8). |
|
awfllm
Package awfllm implements agent.Adapter as a single, streaming LLM call against any OpenAI-compatible Chat Completions endpoint (OpenAI, Ollama, vLLM, llama.cpp, LM Studio, LiteLLM/Bifrost gateways).
|
Package awfllm implements agent.Adapter as a single, streaming LLM call against any OpenAI-compatible Chat Completions endpoint (OpenAI, Ollama, vLLM, llama.cpp, LM Studio, LiteLLM/Bifrost gateways). |
|
claude
Package claude implements agent.Adapter against the Claude Code CLI.
|
Package claude implements agent.Adapter against the Claude Code CLI. |
|
codex
Package codex implements agent.Adapter against OpenAI's `codex` CLI (the `codex exec` non-interactive subcommand).
|
Package codex implements agent.Adapter against OpenAI's `codex` CLI (the `codex exec` non-interactive subcommand). |
|
droid
Package droid implements agent.Adapter against Factory AI's `droid` CLI (the `droid exec` non-interactive subcommand).
|
Package droid implements agent.Adapter against Factory AI's `droid` CLI (the `droid exec` non-interactive subcommand). |
|
fake
Package fake provides an in-memory scripted agent.Adapter implementation.
|
Package fake provides an in-memory scripted agent.Adapter implementation. |
|
goose
Package goose implements agent.Adapter against Block's `goose` CLI (the `goose run` non-interactive subcommand).
|
Package goose implements agent.Adapter against Block's `goose` CLI (the `goose run` non-interactive subcommand). |
|
Package cli assembles the command-line surface.
|
Package cli assembles the command-line surface. |
|
Package clock provides the Clock and IDGen interfaces, injected wherever time/ids are needed.
|
Package clock provides the Clock and IDGen interfaces, injected wherever time/ids are needed. |
|
cmd
|
|
|
awf
command
Command awf is the AWF runtime CLI entry point.
|
Command awf is the AWF runtime CLI entry point. |
|
genrates
command
Command genrates regenerates pricing/rates.json from the models.dev pricing database (with a LiteLLM fallback), filtered to a curated allowlist of the models AWF prices.
|
Command genrates regenerates pricing/rates.json from the models.dev pricing database (with a LiteLLM fallback), filtered to a curated allowlist of the models AWF prices. |
|
pricing-staleness
command
|
|
|
Package conformance is the Backend-parameterized test suite the design spec §H calls "the definition of done" for Phase 2 onward.
|
Package conformance is the Backend-parameterized test suite the design spec §H calls "the definition of done" for Phase 2 onward. |
|
Package container provides the Backend seam — the interface the engine's Dispatcher uses to run commands inside long-lived containers (a single digest-pinned image or a compose project, per awf-workflow(5), CONTAINERS).
|
Package container provides the Backend seam — the interface the engine's Dispatcher uses to run commands inside long-lived containers (a single digest-pinned image or a compose project, per awf-workflow(5), CONTAINERS). |
|
backendtest
Package backendtest is the parameterized interface-conformance test for container.Backend.
|
Package backendtest is the parameterized interface-conformance test for container.Backend. |
|
docker
Package docker implements container.Backend against the Docker Engine SDK.
|
Package docker implements container.Backend against the Docker Engine SDK. |
|
native
Package native implements container.Backend by running commands directly on the host via os/exec.
|
Package native implements container.Backend by running commands directly on the host via os/exec. |
|
engine/local_dispatcher_agent.go — the AgentStep dispatch path.
|
engine/local_dispatcher_agent.go — the AgentStep dispatch path. |
|
frontend
|
|
|
yaml
Package yaml is the YAML frontend: parses YAML workflows into the ir.Workflow IR.
|
Package yaml is the YAML frontend: parses YAML workflows into the ir.Workflow IR. |
|
Package graph projects a workflow into a node/edge graph for visualization — the JSON contract behind a future visual graph tool (`awf graph --json`).
|
Package graph projects a workflow into a node/edge graph for visualization — the JSON contract behind a future visual graph tool (`awf graph --json`). |
|
Package ir provides stable IR types (the contract), structural validation, and the definition digest.
|
Package ir provides stable IR types (the contract), structural validation, and the definition digest. |
|
Package loader reads workflow YAML files and their referenced compose files/assets into an ir.LoadedDefinition.
|
Package loader reads workflow YAML files and their referenced compose files/assets into an ir.LoadedDefinition. |
|
Package obs is the read-only OpenTelemetry projection of the AWF event log.
|
Package obs is the read-only OpenTelemetry projection of the AWF event log. |
|
Package pricing converts normalized token counts into a per-model USD cost.
|
Package pricing converts normalized token counts into a per-model USD cost. |
|
Package retry provides retry policy, backoff math, and per-policy exit-code classification — the data primitive that engine.RunWithRetry composes with a Dispatcher + Clock into the retry loop.
|
Package retry provides retry policy, backoff math, and per-policy exit-code classification — the data primitive that engine.RunWithRetry composes with a Dispatcher + Clock into the retry loop. |
|
Package runlock is the sidecar run-liveness lock: an exclusive BSD flock(2) held by `awf run` / `awf resume` for a run's lifetime, plus a non-blocking shared probe (Held) that distinguishes a live run (lock held) from a crashed one (lock free).
|
Package runlock is the sidecar run-liveness lock: an exclusive BSD flock(2) held by `awf run` / `awf resume` for a run's lifetime, plus a non-blocking shared probe (Held) that distinguishes a live run (lock held) from a crashed one (lock free). |
|
Package signal is the cross-process control-surface for `awf signal` / `awf pause` / `awf cancel`.
|
Package signal is the cross-process control-surface for `awf signal` / `awf pause` / `awf cancel`. |
|
Package state provides the durability core — an append-only Log and content-addressed Blobs — that the engine (Phase 2) sits on for commit/resume and that obs (Phase 6) reads to project OTel spans.
|
Package state provides the durability core — an append-only Log and content-addressed Blobs — that the engine (Phase 2) sits on for commit/resume and that obs (Phase 6) reads to project OTel spans. |
|
Package template implements the §7 mini-language: lexer + recursive-descent parser for the bounded expression grammar from the Phase 1 design spec §B, plus reference extraction over the resulting AST and a `{{ … }}` slot scanner for substitution-bearing host strings.
|
Package template implements the §7 mini-language: lexer + recursive-descent parser for the bounded expression grammar from the Phase 1 design spec §B, plus reference extraction over the resulting AST and a `{{ … }}` slot scanner for substitution-bearing host strings. |
|
Package ui serves the awf visual graph tool: a localhost HTTP server that renders a workflow's graph (via the Slice-1 graph package) and overlays run state.
|
Package ui serves the awf visual graph tool: a localhost HTTP server that renders a workflow's graph (via the Slice-1 graph package) and overlays run state. |
Click to show internal directories.
Click to hide internal directories.