Skip to main content

CrewAI integration for Oris: Compliant payment rails and KYA infrastructure for autonomous AI agents.

Project description

crewai-oris

CrewAI 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 crewai-oris

Requirements

  • Python 3.10+
  • crewai >= 0.80
  • An Oris API key from useoris.xyz

Quick start

Set your credentials as environment variables:

export ORIS_API_KEY="oris_sk_live_..."
export ORIS_PRIVATE_KEY="oris_pk_live_..."
export ORIS_AGENT_ID="your_agent_uuid"

Add Oris tools to a CrewAI agent:

from crewai import Agent, Task, Crew
from oris_crewai import OrisPaymentTool, OrisCheckBalanceTool

finance_agent = Agent(
    role="Finance Agent",
    goal="Execute compliant payments on behalf of the crew",
    backstory="You handle all financial transactions with built-in KYA compliance.",
    tools=[OrisPaymentTool(), OrisCheckBalanceTool()],
    verbose=True,
)

payment_task = Task(
    description="Pay 25 USDC to 0xABC... for the API subscription renewal.",
    expected_output="Payment confirmation with transaction hash",
    agent=finance_agent,
)

crew = Crew(agents=[finance_agent], tasks=[payment_task])
result = crew.kickoff()

Available tools

Tool Description
OrisPaymentTool Execute a compliant stablecoin payment
OrisCheckBalanceTool Retrieve wallet balances
OrisGetSpendingTool Get payment and spending history
OrisGetTierInfoTool Get KYA compliance tier and limits

Credential override

Credentials can also be passed directly to each tool:

tool = OrisPaymentTool(
    api_key="oris_sk_live_...",
    api_secret="your_api_secret",
    agent_id="your_agent_uuid",
)

Links

License

MIT

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

crewai_oris-0.1.3.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

crewai_oris-0.1.3-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file crewai_oris-0.1.3.tar.gz.

File metadata

  • Download URL: crewai_oris-0.1.3.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for crewai_oris-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a78429f4256d226aebf2d603cf593469a77c68a55d7a7b29de70d503c38b2c26
MD5 3a459f97c8e1346689618ae629bcd4f1
BLAKE2b-256 ff46bedda4055e8e8867fe1fbd038021ca0dbc286d52bc18d91dc32b0d0c4248

See more details on using hashes here.

File details

Details for the file crewai_oris-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: crewai_oris-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for crewai_oris-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f5fa0893d73499ccb43e4c806abefdd8d97367d3dba7feb5c1826b4d4335ba
MD5 c23a11360d1d204850354c2ae619874b
BLAKE2b-256 e871c00e5c237aca1501b9ee98724ba9e64eb5b8c58ead38fdb7f9ef9aa44488

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