gleam-agents

gleam-agents · Catalog: agent shapes · Plans: N seats, N goals · Scope: what an agent may touch · Graders · Pi extension · Roadmap

Catalog: agent shapes

A shape is one JSON file in catalog/. It says who the agent is. It does not say what the agent works on.

{
  "name": "haiku45-native",
  "harness": "native",
  "model": "claude-haiku-4-5",
  "price_per_m": { "in": 1, "out": 5 },
  "max_turns": 30,
  "max_tokens": 16000,
  "tools": ["list_files", "read_file", "write_file", "edit_file", "grep", "run_tests", "done"]
}
Field Meaning
name The id a plan uses
harness The loop that drives the model. Today only native
model Model id sent to the Anthropic Messages API
price_per_m List price per million tokens, for the cost column
max_turns The run stops with out_of_turns after this many model calls
max_tokens Output cap per call. Hitting it with no tool call ends the run as ran_out_of_tokens
tools The tools this shape may call. A tool not on the list is refused

Tools

Tool What it does Scope
list_files Every file in the workspace read
read_file One file read, inside the workspace
write_file Create or replace one file write list only
edit_file Replace one exact, unique snippet write list only
grep Extended regex over the workspace read
run_tests The seat's test_command runs in the workspace
done Finish with a summary —

Model endpoint

fleet calls https://api.anthropic.com/v1/messages with ANTHROPIC_API_KEY. Set LLM_URL to use a compatible gateway instead, and LLM_TOKEN_FILE for a gateway token file.