Skip to main content

A production-ready LangChain integration for the Universal Tool Calling Protocol (UTCP), built on the official python-utcp SDK.

Project description

Langchain-UTCP

Langchain-UTCP is a production-ready Python library that provides a seamless and secure integration between the Universal Tool Calling Protocol (UTCP) and LangChain.

This library acts as a robust adapter, using the official python-utcp SDK to load UTCP manuals and execute tools, and then seamlessly presents them as native LangChain Tool objects for use in your agents and chains.

Key Features

  • Correct SDK Integration: Uses the official UtcpClient.create(config=...) factory pattern for maximum compatibility.
  • Seamless LangChain Integration: Converts UTCP tools into LangChain StructuredTool objects automatically.
  • Configuration Driven: Pass a standard UTCP configuration dictionary to load any combination of manuals and providers.
  • Asynchronous First: Designed for modern, high-performance AI applications.

Installation

pip install langchain-utcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_utcp-0.1.0.tar.gz (97.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_utcp-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file langchain_utcp-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_utcp-0.1.0.tar.gz
  • Upload date:
  • Size: 97.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for langchain_utcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a66420ba86af5738b748745282c74e217e43c02f6c23a2f213b5406dc00be1f
MD5 83c3e358d1229b098eda374eca961989
BLAKE2b-256 6c530d6778ae999f21cb605ca0c91577e189a1a6002aca89f15a430908518875

See more details on using hashes here.

File details

Details for the file langchain_utcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: langchain_utcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for langchain_utcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28ad526a6c933a80e6a0a53e72720c06474336cb84f148981af102908bfaeceb
MD5 440bdc50c6ce1416aa3b78651b03dd0e
BLAKE2b-256 b74a6fa574d2a9bb2ded6569344511b261d4d9132d1146883e8250ed0224a1e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page