Skip to content

About

A terminal instrument that governs a coding agent's model and reasoning effort through what you do at the keyboard.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Agent Effort Deck

An interactive terminal instrument for governing AI agent models and reasoning effort.

Try the demo · Run an agent · Configuration · Compatibility

Work a pump, feed a stove, or time a push to a pendulum while your coding agent works. AED turns your input into charge. As charge runs down, the deck lowers reasoning effort, then moves to the next model in the order you set. It makes those changes through the agent’s native interface and shows what the host confirms.

Upright Pump recovering from critical charge, dropping from Opus to Sonnet, then pumping back up to Opus.

Try it

AED is unreleased. Build from a checkout with Git and Rust 1.88 or later. On Windows, use a Rust toolchain with the MSVC build tools and run AED in a native terminal.

git clone https://github.com/swarea/agent-effort-deck
cd agent-effort-deck
cargo install --locked --path .
aed

Cargo installs into its bin directory. If your terminal cannot find aed, add ~/.cargo/bin on Unix or %USERPROFILE%\.cargo\bin on Windows to your path.

The demo needs no credentials. Press Space to operate the mechanism, F5 to switch instruments, and Q to quit. AED prints how long the deck spent at each capability and how many actions you made.

Try a reserve with aed demo --instrument accumulator --initial 45 --cycle 60 --grace 8. With the valve shut, press Space a few times. The tank fills as the deck drains. When CRITICAL appears, press D to open the valve and watch the deck recover. Close it again to save the remaining supply.

Instrument How it plays
Pump One stroke gives charge immediately. Let the chamber refill between strokes.
Stove Add logs in advance. Open the damper with D for a hotter, shorter burn.
Clockwork Hold Space or drag the key to wind. The spring releases steadily and slows working drain.
Flywheel Tap or swipe right to build speed. A fast rotor supplies more charge, then coasts. Swipe left to brake.
Accumulator Pump into a reserve, then open the valve with D when the deck needs charge.
Pendulum Push with the swing as it crosses the center to build momentum. The timing cue previews a push, and the status shows whether it gained or lost energy.

Select a preview to see it in motion.

Pump with a filled chamber Stove burning two logs Clockwork with a wound spring Flywheel generating charge Accumulator holding a reserve Pendulum between timed pushes

F5 asks before switching away from an instrument that holds a supply. The adaptive layout gives tall panes an upright gauge and makes room for the mechanism and its controls beside the meter in shallow, wide panes.

Pump in a shallow pane with a horizontal charge meter and a scale marked with effort levels.

Press F7 to cycle looks, or run aed looks and preview one with aed demo --look workshop. Appearance and layout examples

Run an agent

Install and sign in to the native CLI first. AED uses that CLI and its existing environment. Start with its active model or supply a deck ordered from the first model you want to run to the last.

aed run claude
aed run claude --tiers sonnet,haiku --instrument stove
aed models codex
aed choose codex
Host name for aed run, aed models, and aed choose When the host applies a change
claude · Claude Code Next model call
codex · Codex Next turn
pi · Pi (experimental) Next model request
opencode · OpenCode (experimental) Next model request
copilot · GitHub Copilot CLI (experimental) Model on the next turn, reasoning effort on the next model call

Claude Code and Codex have been used with real models under AED. Pi, OpenCode, and Copilot CLI have run under AED with their real binaries and local stand-in providers. The compatibility table records the latest platform checks and the scope of the live evidence. Compatibility details

Use advertised IDs from aed models HOST. Pi and OpenCode use provider/id. Add explicit levels with MODEL=LEVEL/LEVEL, lowest first, to choose the subset and order to govern. For example, --tiers opus=high/max,sonnet uses only high and max on Opus. Copilot CLI requires sign-in even for its model catalog.

Work in the session

  • Enter opens or sends a prompt. Alt+Enter inserts a line break, Alt+↑ and Alt+↓ recall earlier prompts in this session, and Esc leaves the draft or interrupts a running turn.
  • Tab opens the conversation. Page Up, Page Down, or the mouse wheel let you read earlier output while the agent continues. End returns to the latest output. F3 opens host and provider details.
  • F2 works the instrument while you type. Y and N answer the visible approval. Ctrl+C closes AED and its managed host session.
  • F4 toggles instrument focus. To operate from another pane, run aed control there and enter the code the session pane shows. The paired pane works the local instrument, and the session pane follows the conversation. Controller details

List your sessions with aed sessions and reopen one with aed run HOST --resume. Use the same directory and native home. Pass --host-home DIRECTORY to select an existing native configuration directory. Session continuity

A live Codex turn beside a wound Clockwork. Codex suggests a boundary test for a small Python parser.

The combined view above is from an authenticated Codex session. Watch Claude Code move from Sonnet to Haiku

See the two-pane controller

A Codex fixture transcript and approved command on the left, with a paired Accumulator holding charge on the right.

The paired panes use a credential-free Codex fixture. Another combined view with fixture output

Set the pace

A full range drains in 90 seconds while the agent works, and a quarter as fast while it waits for you. At zero charge, a ten-second grace period gives you time to recover before the deck steps down. On the last tier, you must recharge to start another turn. Supply beyond full can promote the deck back up.

Try --cycle 600 --grace 20 --idle-drain 10 for longer sessions. A report such as a provider rate limit pauses drain. An agent can use AED’s tools to read the current state or request more resources, and the request appears in both panes. Your instrument supplies the charge. Deck policy, appearance, and key bindings

Charge measures the state of the deck. Host token counts and provider rate limits keep their native units. AED’s boundary is the managed session and the permissions of its native agent. The agent can still run processes through its shell. Governance and its limits

Development

Run scripts/check.sh for formatting, lint, unit tests, and terminal fixtures. The GitHub Actions matrix uses Rust 1.88 on Linux, both macOS architectures, and Windows. Use scripts/package.sh --snapshot on Linux or macOS, or python scripts/package.py --snapshot on Windows, to build and verify a local archive. Contributor guide

Remove the locally installed CLI with cargo uninstall agent-effort-deck.

MIT license · Changelog

About

A terminal instrument that governs a coding agent's model and reasoning effort through what you do at the keyboard.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages