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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_oris-0.2.0.tar.gz
  • Upload date:
  • Size: 11.8 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.0.tar.gz
Algorithm Hash digest
SHA256 1e860dcc003cc40c864e7e8b3c2b340f2ebe1e73ae1562dc60baf22728383084
MD5 6d2c0adab6238c425292514795ea8783
BLAKE2b-256 72ae6262ca1f8b6153867b23d5d445cbb743ec792e3cd527b95c889c16d50f25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_oris-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb004ce6f36a919198fb5315d088bbef09e4a5992b279d2be9e091d527f170ab
MD5 1aab3da419e3cc9f63c5bc16cdf67959
BLAKE2b-256 c2eb0dbb7dde0b5fe13e36d98113238dda0721179b7153156185de4e6e347b61

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