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.2.1.tar.gz (11.9 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.2.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_oris-0.2.1.tar.gz
  • Upload date:
  • Size: 11.9 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.2.1.tar.gz
Algorithm Hash digest
SHA256 a9b08ce5a0ebac2781590acf47ed27432c644d3ca89dd265ddcd8419ee09693f
MD5 7bc50d960820007f86ab37de86f0378f
BLAKE2b-256 232d14dca9842cf0923a2f798ad6875e4f607f75e477535a195e13a8d99ddd03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_oris-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b9ebe7b89f8ac2be67cc844df6ff69fa61860136ed2a9b1c975e64d04fd7f39
MD5 f03f1fcf6f8d18b7de3845adf0c6878d
BLAKE2b-256 01f5f60b049f50dd712e255d4e458fe5237f4b136cc6dff3bcdb26a15c418553

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