langchain-strale 0.1.4
pip install langchain-strale
Released:
LangChain integration for Strale โ 250+ business capabilities as agent tools
Navigation
Verified details
These details have been verified by PyPIMaintainers
๐ Avatar for petter_79 from gravatar.competter_79
Unverified details
These details have not been verified by PyPIProject links
Meta
-
License Expression: MIT
SPDX License Expression - Author: Strale
- Tags langchain , strale , ai , agent , tools , capabilities
- Requires: Python >=3.10
Classifiers
- Development Status
- Intended Audience
- Programming Language
- Topic
Project description
langchain-strale
All 250+ Strale capabilities as LangChain tools. Company data, VAT validation, web scraping, compliance checks, and more โ available to your LangChain agents with a single import.
Install
pipinstalllangchain-strale
Quick start
fromlangchain_straleimport StraleToolkit toolkit = StraleToolkit(api_key="sk_live_...") tools = toolkit.get_tools() # 250+ capabilities + search & balance tools
Filter by category
tools = toolkit.get_tools(categories=["finance", "compliance"])
Use with an agent
fromlangchain_openaiimport ChatOpenAI fromlangchain.agentsimport AgentExecutor, create_openai_tools_agent fromlangchain_core.promptsimport ChatPromptTemplate llm = ChatOpenAI(model="gpt-4o") prompt = ChatPromptTemplate.from_messages([ ("system", "You are a helpful business assistant with access to Strale tools."), ("human", "{input}"), ("placeholder", "{agent_scratchpad}"), ]) toolkit = StraleToolkit(api_key="sk_live_...") tools = toolkit.get_tools() agent = create_openai_tools_agent(llm, tools, prompt) executor = AgentExecutor(agent=agent, tools=tools) result = executor.invoke({"input": "Validate VAT number SE556703748501"})
What's included
Each Strale capability becomes a LangChain BaseTool with:
- name โ capability slug (e.g.
vat-validate,swedish-company-data) - description โ what it does + price in EUR
- args_schema โ Pydantic model generated from the capability's input schema
- _run() โ calls the Strale API
Plus two meta-tools:
- strale_search โ discover capabilities by keyword
- strale_balance โ check your wallet balance
Solutions (KYB & Invoice Verify)
# Execute a bundled KYB solution (20 countries available) result = toolkit.get_tools()[0] # or find by name # Solutions are also available via strale_search: # strale_search(query="kyb essentials sweden") โ kyb-essentials-se
Get an API key
Sign up at strale.dev โ new accounts get โฌ2.00 in trial credits, no card required.
Try for Free
5 capabilities work without an API key or signup:
email-validateโ verify email deliverabilitydns-lookupโ DNS record lookupjson-repairโ fix malformed JSONurl-to-markdownโ convert any URL to markdowniban-validateโ validate international bank account numbers
For all 250+ capabilities, sign up for โฌ2 in free trial credits.
Using Strale in agent system prompts
Add this to your LangChain agent's system prompt 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).
Resources
- ๐ Documentation
- ๐ก Examples โ copy-paste examples for every integration
- ๐ฐ Pricing
- ๐ Quality methodology
- ๐ Security
Project details
Verified details
These details have been verified by PyPIMaintainers
๐ Avatar for petter_79 from gravatar.competter_79
Unverified details
These details have not been verified by PyPIProject links
Meta
-
License Expression: MIT
SPDX License Expression - Author: Strale
- Tags langchain , strale , ai , agent , tools , capabilities
- Requires: Python >=3.10
Classifiers
- Development Status
- Intended Audience
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_strale-0.1.4.tar.gz.
File metadata
- Download URL: langchain_strale-0.1.4.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bc0d0e5ed5cbf63921b14f231a329bcdf893c8dd1eebd5e2b3cbeef3fb804dd
|
|
| MD5 |
32cb21c8c83527aac0af7c8d84b3a0d8
|
|
| BLAKE2b-256 |
5554f76e63594737b4f318f9c39080e5dcbd1882b36e582c469dc878d0ee24f5
|
File details
Details for the file langchain_strale-0.1.4-py3-none-any.whl.
File metadata
- Download URL: langchain_strale-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9c3d10b4f6b816b9a524fbcb1629c54bf49ace56e8f60ba09c3b6bbfc521156
|
|
| MD5 |
40f0264742c12297d469ff176fb047fe
|
|
| BLAKE2b-256 |
aeba45eed7815b3eedd0de8a10d38751c5abd451cc9c5ca1486774918149a519
|
