Skip to main content

AlgoVoi payment guardrail provider and tools for CrewAI

Project description

algovoi-plugin-crewai

AlgoVoi compliance guardrail provider and payment tools for CrewAI.

Installation

pip install algovoi-plugin-crewai[crewai]

Components

AlgoVoiGuardrailProvider

Implements the CrewAI GuardrailProvider protocol (crewAI #4877/#5888).

from algovoi_plugin_crewai import AlgoVoiGuardrailProvider

guardrail = AlgoVoiGuardrailProvider(
    api_key="algv_...",
    fail_open=True,  # allow if API unreachable (default)
)

decision = guardrail.check(
    tool_name="send_payment",
    tool_input={"recipient_address": "ALGO_ADDR...", "chain": "algorand"},
)
# decision.decision -> "allow" | "refer" | "deny"

AlgoVoi Payment Tool

from algovoi_plugin_crewai import make_algovoi_payment_tool

pay_tool = make_algovoi_payment_tool(api_key="algv_...")
agent = Agent(tools=[pay_tool], ...)

License

Apache-2.0

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

algovoi_plugin_crewai-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

algovoi_plugin_crewai-0.1.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for algovoi_plugin_crewai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1eb62a1953aa9e8141217cdf1f86830b6f941780b77c805d9253648ab9a3ba9a
MD5 4fc42e3ddf89374f48f829ba17185db7
BLAKE2b-256 4254e96c19921f8f6739a2031ca7660ecb935cade24275aa4bddad7fde550f92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for algovoi_plugin_crewai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63d7c9fef10da1b7f9edadb2fffcc23de43431bc3605a87b2782a59d56436198
MD5 e1e418cbd296fd15e702bab61bed61a9
BLAKE2b-256 464048a1e5b74c0569da685f66c3cc7165c97ce09564276e08ce0fbbd9042113

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