GitHub 仓库

universal-tool-calling-protocol/code-mode

TypeScript 首次收录 2025-11-11 更新于 2026-07-16 查看源 ↗

GitHub 仓库 中按Star排名第 498 / 共 783

1.5k Star

🔌 Plug-and-play library to enable agents to call MCP and UTCP tools via code execution.

项目介绍

🤖 Code-Mode Library: First library for tool calls via code execution

Transform your AI agents from clunky tool callers into efficient code executors — in just 3 lines.

LLMs excel at writing code but struggle with tool calls. Instead of exposing hundreds of tools directly, give them ONE tool that executes TypeScript code with access to your entire toolkit.

Apple, Cloudflare, and Anthropic say that Code-Mode is a more efficient way to approach tool calling compared to the traditional dump function information and then extract a JSON for function calling.

Independent Python benchmark study validates the performance claims with $9,536/year cost savings at 1,000 scenarios/day:

Batching…

摘自 github.com/universal-tool-calling-protocol/code-mode

最新指标

Star 1.5k 2026-07-16
Fork 98 2026-07-16
提交 85 2026-07-16
发布 2 2026-07-16
Watcher 13 2026-07-16
开放 issue 3 2026-07-16
开放 PR 0 2026-07-16