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/pkg
Levi Neely bc59f6c40f core: loop-level parallel tool execution for read-safe tools
Tools annotated with "# ollie:parallel read" now run concurrently when
the LLM issues multiple such calls in a single round, without needing
an execute_code pipeline.

- tools.ParallelClassifier interface; execute.Server implements it via
  IsParallelRead, which reads the tool script and checks the annotation
- BuildAgentEnv wires IsParallelRead → AgentEnv.classifyTool →
  agentConfig.ClassifyTool (nil when execute server absent)
- loop.go: consecutive parallel-safe calls are fanned out with a
  WaitGroup; results are collected in submission order; cancellation
  fills remaining calls with interrupted results; serial tools and
  batches of one skip the goroutine overhead

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 13:05:15 +02:00
..
agent core: loop-level parallel tool execution for read-safe tools 2026-04-28 13:05:15 +02:00
backend core: tool schema caching and large tool result caching 2026-04-28 12:22:45 +02:00
config config: make prompt executable (string or []string of commands) 2026-04-26 15:00:33 +02:00
env env: add OLLIE_ELEVATE_SOCKET to managed list and EnsureDefaults 2026-04-25 11:45:46 +02:00
log agent: audit logging via OLLIE_AUDIT_LOG=debug 2026-04-27 18:21:13 +02:00
paths expand ~ in cwd across agent core, hooks, and execute server 2026-04-24 20:10:42 +02:00
skills pkg/config, pkg/skills: accept io.Reader, remove filesystem access 2026-04-21 13:51:46 +02:00
store agent: /cost command shows last-turn and session cost 2026-04-27 18:45:57 +02:00
tools core: loop-level parallel tool execution for read-safe tools 2026-04-28 13:05:15 +02:00