The python-utcp repository is the official Python SDK implementation of the Universal Tool Calling Protocol (UTCP). UTCP is an open, modern standard designed to let AI agents call any tool or API directly—over HTTP, CLI, WebSocket, gRPC, and more—without the overhead of extra wrapper layers or middleware. It leverages a modular, plugin-based architecture built around Pydantic models and separates the core functionality into a lightweight client and extensible protocol plugins, enabling secure, scalable, and low-latency direct tool calls. A pluggable architecture allows developers to easily add new communication protocols, tool storage mechanisms, and search strategies without modifying the core library.

Features

  • Core UTCP client (UtcpClient) backed by Pydantic-based Tool, CallTemplate, UtcpManual, and Auth models
  • Plugin architecture supporting protocols like HTTP, CLI, SSE, openAPI, MCP bridging, text, socket, GraphQL, etc.
  • Built-in in-memory thread-safe tool repository (InMemToolRepository) and search strategy
  • Extensible interfaces for custom behaviors
  • UTCP Manual approach: agents discover tool definitions via a standardized JSON manifest (manual) and call tools directly, with native endpoint mapping and schema definitions
  • Designed to eliminate “wrapper tax,” reducing latency by around 50% compared to MCP-like proxy-based systems and leveraging existing authentication and infrastructure

Project Samples

Project Activity

See All Activity >

License

Mozilla Public License 1.0 (MPL)

Follow Universal Tool Calling Protocol (UTCP)

Universal Tool Calling Protocol (UTCP) Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Universal Tool Calling Protocol (UTCP)!

Additional Project Details

Programming Language

Python

Related Categories

Python Artificial Intelligence Software

Registered

2025-09-01