Skip to main content

CrewAI integration for the Oris AI agent payment infrastructure

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for crewai_oris-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c1f4a06d47480338b11c738445dbac0ea036121bf8f0044fff50abdb6d23e53
MD5 b8525ad8b3fc9b67b95437c1706e7351
BLAKE2b-256 94277bd9c76919e0e3e30876c2184988f89275719a8a572bac5c1737fdd67c30

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for crewai_oris-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed79e72953d900754aebf192807868cc7ab4c1bd6eef84c345e62cc0e3ce0c73
MD5 7f5e3382cf340428f1271e3db660b83c
BLAKE2b-256 5ae395860b93af1b75b9fd0fe4a8cd45c15e6f581177f9745b0b4543cd1c6b6d

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