EveryDev.ai
Subscribe
Home
Tools

4,153+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. UTCP Code-Mode
    UTCP Code-Mode icon

    UTCP Code-Mode

    Agent Frameworks

    An open-source TypeScript library that enables AI agents to call MCP and UTCP tools via code execution instead of traditional JSON function calling, reducing API round trips significantly.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the Mozilla Public License 2.0. Use, modify, and distribute freely.

    Engagement

    Available On

    Linux
    API
    VS Code
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent FrameworksMCP ToolsAI Development Libraries

    Alternatives

    NanocodexClaude Code Toolkitctrl-ai-v1
    Developer
    Bevelites GmbHMunich, GermanyEst. 2024

    Listed Oct 2026

    About UTCP Code-Mode

    UTCP Code-Mode is an open-source TypeScript library published under the Mozilla Public License 2.0 that lets AI agents execute multi-step tool workflows as a single block of TypeScript code rather than issuing individual JSON function calls. It is part of the Universal Tool Calling Protocol (UTCP) ecosystem, which provides a lightweight standard for AI agents to discover and call tools directly using their native protocols without wrapper servers.

    What It Is

    Code-Mode reframes how AI agents interact with tools: instead of exposing hundreds of discrete tool definitions and asking the model to orchestrate them one at a time, it gives the agent a single callToolChain method that accepts a TypeScript code string and executes it inside a secure Node.js VM sandbox. The agent writes code that calls tools as async functions, chains operations, processes data in-sandbox, and returns a structured result — all in one request. The library auto-generates TypeScript namespace interfaces for every registered tool, enabling IDE IntelliSense and runtime introspection.

    Why Code Execution Beats Traditional Tool Calling

    The README cites research from Apple, Cloudflare, and Anthropic as evidence that code-based tool calling is more efficient than the traditional "dump function info → extract JSON → call → repeat" loop. An independent Python benchmark study (linked in the README) tested 16 realistic scenarios across financial, DevOps, data processing, and business automation workflows and reported the following improvements over traditional tool calling:

    • Simple workflows (2–3 tools): 67% fewer iterations
    • Medium workflows (4–7 tools): 75% fewer iterations
    • Complex workflows (8+ tools): 88% fewer iterations

    The benchmark authors attribute the gains to batching (one code block replaces multiple API calls), cognitive efficiency (LLMs write code more reliably than they orchestrate tool JSON), and elimination of context re-processing between operations.

    Architecture and Protocol Support

    Code-Mode is built on top of the UTCP client and uses a plugin-based architecture. Each communication protocol is a separate npm package that registers itself as a side effect of being imported:

    • HTTP (@utcp/http) — REST APIs with auto-discovery and OpenAPI conversion
    • MCP (@utcp/mcp) — Model Context Protocol servers via stdio or SSE
    • CLI (@utcp/cli) — Command-line tool execution
    • Text/File (@utcp/text) — Local JSON/YAML UTCP manuals

    Multiple protocols can be mixed in a single callToolChain execution. The sandbox enforces no filesystem access, no external network calls outside registered servers, and configurable timeouts (default 30 seconds).

    Deployment Paths

    The library ships three consumption modes:

    1. Direct TypeScript/Node.js — npm install @utcp/code-mode and use CodeModeUtcpClient programmatically.
    2. CLI (@utcp/code-mode-cli) — Preferred for shell-capable agents (Claude Code, Cursor, Codex). The agent self-configures by writing a .utcp_config.json and drives discovery and execution from the shell via npx -y @utcp/code-mode-cli.
    3. MCP Server (@utcp/code-mode-mcp) — For MCP-only clients such as Claude Desktop; configured via the standard mcpServers JSON block and exposes call_tool_chain as an MCP tool.

    Update: v1.0.6 — Python Support Added

    The latest release (v1.0.6, published November 2025) added Python support alongside the existing TypeScript implementation, making Code-Mode available in both languages. The UTCP organization also maintains separate language-specific client packages for Python, TypeScript, and Go. The repository had 1,571 stars and 108 forks as of the data snapshot, with active development continuing through mid-2026 according to the GitHub metadata.

    UTCP Code-Mode - 1

    Community Discussions

    Be the first to start a conversation about UTCP Code-Mode

    Share your experience with UTCP Code-Mode, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the Mozilla Public License 2.0. Use, modify, and distribute freely.

    • Full source code access
    • npm package @utcp/code-mode
    • CLI via @utcp/code-mode-cli
    • MCP server via @utcp/code-mode-mcp
    • Multi-protocol support (HTTP, MCP, CLI, Text)

    Capabilities

    Key Features

    • Execute multi-step tool workflows as a single TypeScript code block
    • Secure Node.js VM sandboxing for code execution
    • Auto-generated TypeScript namespace interfaces for all registered tools
    • Progressive tool discovery via natural language search
    • Multi-protocol support: HTTP, MCP, CLI, Text/File
    • OpenAPI spec auto-conversion to UTCP manuals
    • Built-in console output capture and error handling
    • Configurable execution timeouts
    • Runtime interface introspection via __interfaces and __getToolInterface()
    • CLI mode for shell-capable agents (Claude Code, Cursor, Codex)
    • MCP server mode for Claude Desktop and MCP-only clients
    • AI agent prompt template included (AGENT_PROMPT_TEMPLATE)
    • Context-efficient in-sandbox data processing
    • Interactive OAuth login support via CLI

    Integrations

    MCP (Model Context Protocol)
    OpenAPI
    HTTP REST APIs
    CLI tools
    GitHub MCP server
    Claude Desktop
    Claude Code
    Cursor
    Codex
    OpenAI GPT-4
    Slack
    Notion
    GraphQL
    API Available
    View Docs

    Demo Video

    UTCP Code-Mode Demo Video
    Watch on YouTube

    Ratings & Reviews

    No ratings yet

    Be the first to rate UTCP Code-Mode and help others make informed decisions.

    Developer

    Bevelites GmbH

    Bevelites GmbH builds Bevel, a vendor-agnostic control plane for enterprise AI agents, from Munich, Germany (est. 2024). The team created the Universal Tool Calling Protocol (UTCP), an open alternative to MCP championed by engineers at AWS, Adobe, Royal Bank of Canada, and MuleSoft. They also maintain CodeMode, a library for tool chaining through code execution with over 1,500 GitHub stars and 45,000+ downloads. Bevel combines protocol-layer expertise with enterprise AI transformation services.

    Founded 2024
    Munich, Germany
    5 employees

    Used by

    Unite Procurement Deutschland AG
    EGYM SE
    Workpath GmbH
    Luminovo GmbH
    Read more about Bevelites GmbH
    WebsiteGitHubLinkedIn
    2 tools in directory

    Similar Tools

    Nanocodex icon

    Nanocodex

    A headless, library-first Rust SDK for building products around an OpenAI coding-agent stack with retained sessions, typed history, tools, Code Mode, branches, and events.

    Claude Code Toolkit icon

    Claude Code Toolkit

    A comprehensive open-source toolkit for Claude Code featuring 135 agents, 176+ plugins, 35 curated skills, 42 commands, 20 hooks, and more to extend AI-assisted development workflows.

    ctrl-ai-v1 icon

    ctrl-ai-v1

    ctrl-ai-v1 is an open-source AI project hosted on GitHub by CirtusX, available for exploration and contribution via the GitHub repository.

    Browse all tools

    Related Topics

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    775 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    107 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    333 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions