Subagents now print their activity to stderr with a '>' prefix per nesting
level, making it easy to trace arbitrarily deep agent chains. A file-scope
depth counter (RAII-guarded) tracks the current call depth at runtime so
the correct prefix is always computed regardless of how deeply agents nest.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Each AgentProfile defines a model and a subset of tools. Profiles are
registered as callable tools in the main harness so the orchestrator LLM
can delegate tasks to specialized subagents. Each invocation runs an
isolated Harness with fresh history; only the final answer is returned,
keeping the orchestrator context clean.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
C++20 agentic loop targeting a local Ollama instance via the OpenAI-compatible
/v1/chat/completions API. Includes an extensible tool registry pattern and a
shell command runner as the first tool. Builds with CMake + system libcurl +
nlohmann-json.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>