Skip to main content

Composio integration for Strale — 270+ business capabilities as agent tools

Project description

composio-strale

Composio integration for Strale — 270+ quality-scored API capabilities as Composio custom tools.

Install

pip install composio-strale

Quick start

from composio import Composio
from composio_strale import register_strale_tools

composio = Composio()
register_strale_tools(composio, api_key="sk_live_...")

# Search for capabilities
result = composio.tools.execute(
    user_id="default",
    slug="STRALE_SEARCH",
    arguments={"query": "sanctions screening"},
)

# Execute a capability
result = composio.tools.execute(
    user_id="default",
    slug="STRALE_EXECUTE",
    arguments={
        "capability_slug": "sanctions-check",
        "inputs": {"name": "Acme Corp"},
    },
)

Use with an agent

from composio import Composio
from composio_openai import OpenAIProvider
from composio_strale import register_strale_tools

composio = Composio(provider=OpenAIProvider())
register_strale_tools(composio)

tools = composio.tools.get(user_id="default", toolkits=["strale"])

from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
    model="gpt-4o",
    tools=tools,
    messages=[{"role": "user", "content": "Run a sanctions check on 'Acme Corp'"}],
)

What's included

Three tools registered under the strale toolkit:

Tool Description
STRALE_SEARCH Search 270+ capabilities by keyword or category
STRALE_EXECUTE Execute any capability with structured input
STRALE_BALANCE Check your wallet balance

Get an API key

Sign up at strale.dev — new accounts get €2.00 trial credits, no card required.

x402 pay-per-use access

All Strale capabilities are also available via x402 — the HTTP-native payment protocol for AI agents. Pay per request with USDC on Base mainnet. No signup or API key needed.

Resources

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

composio_strale-0.1.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

composio_strale-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file composio_strale-0.1.4.tar.gz.

File metadata

  • Download URL: composio_strale-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for composio_strale-0.1.4.tar.gz
Algorithm Hash digest
SHA256 36dc7edaa4ddc970f3beac25440b4c6c8425a0f43fad026a182eafab690804cb
MD5 5b344327c239a895da6779928f12f849
BLAKE2b-256 b318353a89beabcebf0762ed30fb70e332246919f295debe2b14a9fc104e9a0c

See more details on using hashes here.

File details

Details for the file composio_strale-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for composio_strale-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb6160f14cb6036977e78b81bdf07261227e7da65440465f26c44156b06fa1a
MD5 24a1cd1d3fcff56762bb471a2e1f5c12
BLAKE2b-256 b42fd88eb3e753499c00509b728c500e7391982a1d33d2d04e6a670da4d34265

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