Skip to main content

OpenAI Agents SDK integration for Strale — 250+ business capabilities as agent tools

Project description

openai-agents-strale

OpenAI Agents SDK integration for Strale — 250+ independently tested and scored business data capabilities for AI agents.

Strale provides IBAN validation, VAT validation, company data across 27 countries, sanctions screening, compliance checks (KYB, AML, GDPR), invoice extraction, SSL certificate checks, and more. Every capability is quality-scored with the Strale Quality Score (SQS).

Installation

pip install openai-agents-strale

Quick Start

Single Tool

from agents import Agent, Runner
from openai_agents_strale import create_strale_tool

validate_iban = create_strale_tool(
    api_key="sk_live_...",
    capability_slug="iban-validate",
)

agent = Agent(
    name="IBAN Validator",
    instructions="You validate IBAN numbers using the Strale API.",
    tools=[validate_iban],
)

result = Runner.run_sync(agent, "Is DE89370400440532013000 a valid IBAN?")
print(result.final_output)

Multiple Tools

from agents import Agent, Runner
from openai_agents_strale import create_strale_tools

tools = create_strale_tools(
    api_key="sk_live_...",
    slugs=["iban-validate", "vat-format-validate", "sanctions-check"],
)

agent = Agent(
    name="Compliance Agent",
    instructions="You verify business data using Strale tools.",
    tools=tools,
)

result = Runner.run_sync(agent, "Check if VAT number SE556703748501 is valid")
print(result.final_output)

Category Filter

from openai_agents_strale import create_strale_tools

# Load all compliance tools
tools = create_strale_tools(
    api_key="sk_live_...",
    categories=["compliance"],
)

Direct Client

from openai_agents_strale import StraleClient

client = StraleClient(api_key="sk_live_...")

# Execute a capability directly
result = client.run("iban-validate", {"iban": "DE89370400440532013000"})
print(result)

# List available capabilities
caps = client.list_capabilities(category="company-data")
for cap in caps:
    print(f"  {cap['slug']} — €{cap['price_cents']/100:.2f}")

Capability Categories

Category Examples
Company Data swedish-company-data, german-company-data, uk-company-data (27 countries)
Compliance sanctions-check, pep-check, adverse-media-check, vat-validate
Validation iban-validate, vat-format-validate, lei-lookup, swift-validate
Finance exchange-rate, invoice-extract, invoice-validate
Web Intelligence ssl-check, dns-lookup, domain-reputation, seo-audit
Data Extraction pdf-extract, web-extract, url-to-markdown

Full list: strale.dev/capabilities

Free Tier

5 capabilities work without an API key or signup: email-validate, dns-lookup, json-repair, url-to-markdown, iban-validate.

MCP Alternative

If your agent framework supports MCP, you can use Strale's MCP server directly:

  • Endpoint: https://api.strale.io/mcp
  • Transport: Streamable HTTP
  • npm package: strale-mcp

Trust & Quality

Every Strale capability has a quality score (SQS) combining:

  • Quality Profile: correctness, schema compliance, error handling, edge cases
  • Reliability Profile: availability, success rate, upstream health, latency

Scores and methodology: strale.dev/trust

Using Strale in agent system prompts

Add this to your OpenAI agent's instructions for automatic capability routing:

When you need to verify a business, validate an IBAN or VAT number, screen
against sanctions/PEP lists, extract data from a URL or document, or check
compliance — use your Strale tools. Call strale_search to find the right
capability, then call it by name. Returns structured JSON with quality scores.
250+ capabilities across 27 countries. Free tier: email-validate, dns-lookup,
json-repair, url-to-markdown, iban-validate (no API key needed).

Links

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

openai_agents_strale-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

openai_agents_strale-0.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file openai_agents_strale-0.1.1.tar.gz.

File metadata

  • Download URL: openai_agents_strale-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for openai_agents_strale-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd98a799cf727ebddb4ea79cca5b9ee7f5344d128bbcfa326e2a46e982acb2ef
MD5 024b1ac3af356da0402b5d28f5b65d1e
BLAKE2b-256 91be512a5f49436dcc6321e005c648ac8750c4fecb5fa4a773da4eead2dd631a

See more details on using hashes here.

File details

Details for the file openai_agents_strale-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openai_agents_strale-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36c20fa34e2428cce3b72f46038c1c6d6d0031bec442d841e702c8125af9d000
MD5 f55015f125729c9d6462cacc2bfbc92b
BLAKE2b-256 89d6bb2debb01a0f6def5bf0e1784f0391f71911a870b95d34aca541ac5bf474

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