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)
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Universal Tool Calling Protocol (UTCP)!