Skip to main content

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

Metadata

Release files for arc-adaptors 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arc-adaptors 0.1.0
File Size Uploaded
arc_adaptors-0.1.0.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arc-adaptors 0.1.0
File Interpreter ABI Platform
arc_adaptors-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / arc_adaptors-0.1.0.tar.gz

Download URL arc_adaptors-0.1.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bdedd1d4b9ac09293e3cd9842b2698d2cd4e02d90d0ee8538cf7ed483bfbba2c
BLAKE2b-256 checksum
How to use checksums
4d4fe536ed772d60d44a05f0cfab1e3fc68c23aec76d998f6a3fdfdc345dade8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / arc_adaptors-0.1.0-py3-none-any.whl

Download URL arc_adaptors-0.1.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f916e626a938101ebc5fb7b8be3a6a7b83b15c4a92f1546d794110b137bbadc
BLAKE2b-256 checksum
How to use checksums
6ea4dd314e7906b31e7abc2571ef2f65e50e2f5d7416623da9816b0dc3c97173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page