Agentic System ยท Engineering notes

How different assistants use the same tools

A request to search memory or transcribe audio reaches the same local implementation from either coding assistant. A separate Windows gateway handles the cost of keeping many tool connections open.

Technology

  • Python
  • Model Context Protocol
  • Node.js
  • Windows Job Objects

One contract for each operation

The Python bridge describes each operation using the Model Context Protocol, or MCP. An assistant can discover that memory search takes a query, a result limit and an optional memory tier. The bridge passes those arguments to the existing memory program. Transcription follows the same pattern with a different implementation. The catalog contained 12 operations when inspected on November 30, 2026.

Give each conversation its own connection

Each open chat can bring several tool processes with it. On Windows, their input and output pipes put pressure on the coding assistant's backend. I built a local HTTP gateway to handle those pipes. Each session still gets its own tool process, so two chats can hold different tool state. If a connection drops after a tool acts, the gateway leaves the call for the operator to reconcile. Replaying it could perform the action twice.

What the transport test measured

In a test with 16 synthetic tool servers, the backend used 129 threads with direct pipes and 73 through the gateway, from a baseline of 56. A separate comparison matched all 101 tool definitions across five real integrations. The thread counts measure backend load under those test conditions.