Akshay Parkhi's Weblog

Subscribe

Saturday, 7th March 2026

Scaling Agents: The Definitive Open-Source Guide — From 1 Agent to 100 Agents, 1 Tool to 100 Tools, Managing Context

Tool Wall: Every tool’s JSON schema goes into the system prompt. At 15+ tools, models start selecting wrong tools. At 50+, token usage explodes and accuracy plummets.

[... 4,423 words]

How Pi Builds Its System Prompt at Runtime — And the Innovations That Make It Stand Out

A deep dive into the open-source coding agent that assembles its brain on the fly.

[... 2,918 words]

How Claude Team Agents ACTUALLY Connect — No Fluff

Agents are separate processes. They don’t share memory. They don’t call each other’s functions. They communicate through files on disk and CLI commands that Claude Code provides as tools.

[... 2,382 words]

How AWS Strands Agent Loop Works

Strands uses the ReAct pattern — a recursive loop where the LLM reasons, optionally calls tools, observes results, then reasons again. It is NOT prompt chaining (where you have a fixed sequence of prompts). The loop is open-ended and driven by the model’s decisions.

[... 650 words]

How AWS Strands Hooks Work

Hooks are an event-driven extensibility system — a way to inject custom logic at specific points in the agent lifecycle without modifying core code. Think of them as middleware/interceptors.

[... 713 words]

2026 » March

MTWTFSS
      1
2345678
9101112131415
16171819202122
23242526272829
3031