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
Categories
Artificial IntelligenceLicense
Mozilla Public License 1.0 (MPL)Follow Universal Tool Calling Protocol (UTCP)
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Universal Tool Calling Protocol (UTCP)!