Work public
n8n-nodes-utcp-codemode
An n8n community node that cuts AI-agent token cost by 96 percent via Code-Mode. Agent writes one TypeScript block, V8 sandbox chains the tool calls.
What it is
A community node that lets an n8n agent write a single TypeScript block to chain its tool calls inside a V8 sandbox, rather than making one LLM call per tool. The pattern follows Anthropic’s Programmatic Tool Calling and the LangGraph CodeAct approach.
Five-tool pipeline benchmark: traditional agent uses 11 LLM API calls; Code-Mode uses 1. Token savings 96 percent. Wall clock 80 percent faster. Five MCP presets ship with the package. Six test suites in the deploy gate.
Stack
n8n community node, TypeScript, V8 sandbox for chained tool execution, MCP for the tool registry.