---
title: "axiom flow mock"
description: "Manage the flow's authoring mocks (ADR-176)"
category: reference
surfaces: [cli]
related: [reference/cli/axiom-flow, reference/cli/axiom-flow-mock-add, reference/cli/axiom-flow-mock-rm]
last_reviewed: 2026-06-06
---

<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
     Source of truth: the cobra command definitions in cmd/axiom/cmd/.
     Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

# axiom flow mock

Manage the flow's authoring mocks (ADR-176)

Manage the mocks: section of a flow.yaml — per-node authoring fixtures that a
dev-compiled artifact serves instead of invoking the real node (a keyed
connector, anything with side effects). See "axiom flow compile --no-mocks"
for minting the live artifact, and note a mocked artifact is never publishable.

## Usage

```sh
axiom flow mock [flags]
axiom flow mock [command]
```

## Flags

| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
| `--help` | `-h` | bool |  | help for mock |

## Subcommands

| Command | Description |
|---|---|
| [axiom flow mock add](./axiom-flow-mock-add.md) | Add or replace a node's mock fixture |
| [axiom flow mock rm](./axiom-flow-mock-rm.md) | Remove a node's mock (or --all) from the mocks: section |

## See also

- [axiom flow](./axiom-flow.md) — Author and compile flows (graphs of published nodes)
- [axiom flow mock add](./axiom-flow-mock-add.md) — Add or replace a node's mock fixture
- [axiom flow mock rm](./axiom-flow-mock-rm.md) — Remove a node's mock (or --all) from the mocks: section
