← all repositories

Chen-zexi/open-ptc-agent

Open-source agent framework enabling LLMs to orchestrate workflows through programmatic tool calling via code execution, built on LangChain/LangGraph and MCP.

717 stars Python AgentsCoding Assistants
open-ptc-agent
Velocity · 7d
+3.4
★ / day
Trend
steady
star history

This project implements Anthropic’s Programmatic Tool Calling (PTC) paradigm, allowing AI agents to invoke tools by writing and executing code rather than making individual JSON tool calls. Built on LangChain and LangGraph, it uses the Model Context Protocol (MCP) to enable agents to orchestrate entire workflows through generated code. The approach reduces context window pollution by letting models write self-contained code that handles data fetching and processing internally, then returning only results.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.