● @aiwithbuntyshah
WHAT A HARNESS ADDS
✓ TOOLS · THE LOOP · CONTEXT · PERMISSIONS · SUB-AGENTS
THE LOOP
THINK → ACT → OBSERVE → REPEAT AUTOREGRESSIVE AGENT LOOP CONTEXT WINDOW: 48% FULL TOKENS GENERATED: 0 TOOL CALLS: 0 LOOP ITERATIONS: 0 THINK → ACT → OBSERVE → REPEAT AUTOREGRESSIVE AGENT LOOP

Think. Act. Observe. Repeat.

Live agent loop simulation · Claude-style harness · The Loop

Claude Code · the harness ~/repo · main
you › find the bug in this repo, fix it, run the tests, don't break anything else
CONTEXT WINDOW 48% full
THINK
reasoning & planning
ACT
call tools
OBSERVE
read results
REPEAT
until done
Claude · the model
TOOLS
PERMISSIONS allow ask deny
📁
files
read · write
⬛
terminal
run commands
⚗️
tests
npm test
⑂
git
diff · commit

The Loop · Stage Reference

T
THINK
The model reads the full context window and reasons about what to do next. No tools called yet — pure inference.
A
ACT
The model emits a tool call: Read, Grep, Bash, Edit, etc. The harness intercepts and executes it.
O
OBSERVE
Tool output is appended to the context window. The model sees the result and decides: continue or done?

Live Stats

0
Loop iterations
0
Tokens generated
0
Tool calls made
0
Tests passed

Context Capacity

Prompt18%
Tool outputs12%
Model reasoning18%
Remaining52%

Real context windows: 8k–2M tokens depending on model. When full, older turns are evicted or summarised.

SIMULATION