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_API_SECRET="your_api_secret"
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.2.tar.gz (5.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.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_oris-0.1.2.tar.gz
  • Upload date:
  • Size: 5.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.1.2.tar.gz
Algorithm Hash digest
SHA256 d1e8e2b64e2f052d4a68a86b303a0b47da99d2a8447bed727cb22fa8c3d7db13
MD5 eb0702f4bc333caacec293624ad0c8f5
BLAKE2b-256 287cc099e7fb1ab3af35d7204ddd96e5b0367a6a96f30df24b3eda3e11d8e0b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_oris-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c7427c76a0d78b002d985c3fc3ed4b4e12480321fb52c9f8a0b8dc5c2d939c39
MD5 6222c0f89c21a2c897c8e941e52ab3d4
BLAKE2b-256 671d9ced9aa1b55116bbf9e66ee067d49eb1631a5b06b768ba21c96ac16cd21b

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