Adaptors for the Agent Remote Communication (ARC) Protocol
Project description
ARC Adaptors
Adaptors for the Agent Remote Communication (ARC) Protocol.
Overview
ARC Adaptors connects the ARC Protocol with common AI frameworks and services:
- LangChain
- LlamaIndex
- OpenAI API
- Anthropic API
- Mistral AI
Installation
# Full installation
pip install arc-adaptors
# Specific adaptor only
pip install arc-adaptors[langchain]
pip install arc-adaptors[openai]
pip install arc-adaptors[anthropic]
pip install arc-adaptors[mistral]
pip install arc-adaptors[llama-index]
Usage
LangChain Adaptor
from arc_adaptors.langchain import ARCLangChainAdaptor
# Create adaptor
adaptor = ARCLangChainAdaptor(
arc_endpoint="https://api.example.com/arc",
ledger_url="https://ledger.example.com",
agent_ids=["math-agent", "weather-agent"]
)
# Load handoff tools
tools = await adaptor.load_tools()
# Use with LangChain
from langchain.agents import create_react_agent, AgentExecutor
from langchain_openai import ChatOpenAI
llm = ChatOpenAI()
agent = create_react_agent(llm, tools, prompt)
result = await agent.ainvoke({"input": "What's 25 * 16?"})
Adaptors
| Name | Description | Status | Package |
|---|---|---|---|
| LangChain | Creates handoff tools for LangChain agents | ✅ Ready | arc-adaptors[langchain] |
| OpenAI | Connects OpenAI API with ARC Protocol | 🚧 Under development | arc-adaptors[openai] |
| Anthropic | Connects Anthropic API with ARC Protocol | 🚧 Under development | arc-adaptors[anthropic] |
| Mistral | Connects Mistral AI with ARC Protocol | 🚧 Under development | arc-adaptors[mistral] |
| LlamaIndex | Connects LlamaIndex with ARC Protocol | 🚧 Under development | arc-adaptors[llama-index] |
License
Apache License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arc_adaptors-0.1.0.tar.gz
(16.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arc_adaptors-0.1.0.tar.gz.
File metadata
- Download URL: arc_adaptors-0.1.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdedd1d4b9ac09293e3cd9842b2698d2cd4e02d90d0ee8538cf7ed483bfbba2c
|
|
| MD5 |
156c05655660daab8a33310fcaf0fdb5
|
|
| BLAKE2b-256 |
4d4fe536ed772d60d44a05f0cfab1e3fc68c23aec76d998f6a3fdfdc345dade8
|
File details
Details for the file arc_adaptors-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arc_adaptors-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f916e626a938101ebc5fb7b8be3a6a7b83b15c4a92f1546d794110b137bbadc
|
|
| MD5 |
8a6a8c510d80451d4634c4ec78264530
|
|
| BLAKE2b-256 |
6ea4dd314e7906b31e7abc2571ef2f65e50e2f5d7416623da9816b0dc3c97173
|