This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/agent
Levi Neely b7d46015d7 agent: simplify loop — Run as function, fix stop condition
- Loop struct and New constructor removed; Run is now a package-level
  function taking (ctx, Config, State)
- Stop condition de-nested: natural stop (no tool calls → MarkComplete
  + break) and step-limit stop (step >= maxSteps-1 → break) are now
  separate, sequential checks instead of a redundant outer/inner pair

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 20:13:14 +02:00
..
context.go agent: fix conversation history corruption on stream interruption 2026-04-03 19:59:45 +02:00
loop.go agent: simplify loop — Run as function, fix stop condition 2026-04-03 20:13:14 +02:00
session.go agent: add bounded context builder to prevent prompt explosion 2026-04-01 13:10:56 +02:00
state.go Add agent package: observe/decide/act/update/terminate loop 2026-03-31 22:53:40 +02:00