langchain-oris
LangChain integration for the Oris AI agent payment infrastructure.
Oris gives AI agents a verified financial identity, a non-custodial wallet, and programmable spending policies enforced on every transaction before execution.
Installation
pip install langchain-oris
Requirements
- Python 3.10+
langchain-core >= 0.2- An Oris API key from useoris.xyz
Quick start
from oris_langchain import OrisToolkit
toolkit = OrisToolkit(
api_key="oris_sk_live_...",
private_key="your_private_key",
agent_id="your_agent_uuid",
)
tools = toolkit.get_tools()
Pass tools to any LangChain agent or LangGraph node:
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools)
result = agent.invoke({
"messages": [("user", "Pay 10 USDC to 0xABC... for the translation service.")]
})
Available tools
| Tool | Description |
|---|---|
oris_pay |
Execute a compliant stablecoin payment |
oris_check_balance |
Retrieve wallet balances |
oris_get_spending |
Get payment and spending history |
oris_get_tier_info |
Get KYA compliance tier and limits |
oris_get_did |
Retrieve the agent's W3C Decentralized Identifier |
oris_get_eas_attestation |
Retrieve the agent's latest on-chain EAS attestation |
oris_find_service |
Search the agent marketplace for services by capability |
oris_place_order |
Place an escrow-backed order on the agent marketplace |
oris_fiat_onramp |
Convert fiat currency to USDC via the fiat bridge |
Individual tool usage
from oris_langchain import OrisPayTool, OrisCheckBalanceTool
pay_tool = OrisPayTool(
api_key="oris_sk_live_...",
private_key="your_private_key",
agent_id="your_agent_uuid",
)
result = pay_tool.run({
"to": "0xRecipientAddress",
"amount": 10.0,
"stablecoin": "USDC",
"chain": "base",
"purpose": "vendor_payment",
})
Links
- Documentation: docs.useoris.xyz
- PyPI: pypi.org/project/langchain-oris
- GitHub: github.com/fluxaventures/oris
License
MIT
Metadata
Release files for langchain-oris 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_oris-0.2.1.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_oris-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / langchain_oris-0.2.1.tar.gz
| Download URL | langchain_oris-0.2.1.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bddc25ff1b836724cd2c7890e5fdeb7de3c667a30b5d02d626ae68ae38df44a
|
|
BLAKE2b-256 checksum How to use checksums |
f6e490a452b49ae5753a107aefd6fcc8265b7d08c55d432b3365ce7eccb7b756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / langchain_oris-0.2.1-py3-none-any.whl
| Download URL | langchain_oris-0.2.1-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19bda25a5ea00d31b1551042fd1f6fce48be5f8dda7f22e695878ee0df5f2496
|
|
BLAKE2b-256 checksum How to use checksums |
9ef461941db77afab2241690d6b9f17c6b7ebd577171b2f769cce0b2dfb3b187
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|