langchain-stackresolve
LangChain tools for StackResolve: web intelligence for AI agents.
Pick software for a task, compare vendors, check whether a product is agent-ready, and pull structured company facts. One tool call instead of a search-and-scrape loop.
pip install langchain-stackresolve
Quickstart
Every tool works without a key, subject to an anonymous rate limit. A free key from stackresolve.dev/developers raises it.
import os
from langchain_stackresolve import StackResolveToolkit
from langchain.agents import create_agent
os.environ["STACKRESOLVE_API_KEY"] = "ar_..." # optional, raises the rate limit
agent = create_agent(
model="claude-sonnet-5",
tools=StackResolveToolkit().get_tools(),
)
result = agent.invoke({
"messages": [{
"role": "user",
"content": "I need to scrape javascript-heavy sites. What should I use, "
"and what does it cost?",
}]
})
print(result["messages"][-1].content)
The agent calls stackresolve_find_tools to get scored candidates, then
stackresolve_get_pricing on the winner. Two calls, structured answers, no scraping.
Single tools
Import only what you need:
from langchain_stackresolve import StackResolveAudit, StackResolveFindTools
audit = StackResolveAudit()
print(audit.invoke({"domain": "stripe.com"}))
find = StackResolveFindTools()
print(find.invoke({"task": "send transactional email from a Node service"}))
Tools
| Tool | What it answers |
|---|---|
stackresolve_find_tools |
"What should I use for this task?" Ranked, with AgentReady scores. |
stackresolve_search_tools |
Registry search filtered on API, MCP, CLI, OpenAPI, or self-serve. |
stackresolve_compare_products |
Side-by-side on scores, capabilities, and pricing. |
stackresolve_audit |
0-100 agent-readiness score for a domain, plus failing checks. |
stackresolve_get_company |
Structured company facts from a domain. |
stackresolve_get_pricing |
Current plans and prices as structured data. |
stackresolve_find_competitors |
Competitors, with how each one differs. |
stackresolve_research_company |
Deep research with sources, answering a question. |
All eight work without a key, subject to an anonymous rate limit. A free key raises the limit and is required for account endpoints (monitors, usage, discovery runs), which this package does not expose.
Configuration
The toolkit and every tool accept api_key and base_url, and otherwise read
STACKRESOLVE_API_KEY and STACKRESOLVE_BASE_URL from the environment.
toolkit = StackResolveToolkit(api_key="ar_...")
Pass an existing SDK client to share connection state:
from stackresolve import StackResolve
client = StackResolve(api_key="ar_...")
tools = StackResolveToolkit(client=client).get_tools()
Errors
Tools return a readable message rather than raising, so a failed call does not end the agent's turn. A missing key, an exhausted allowance, and a rate limit each come back as text the model can act on.
Output size
Tool output is capped at 6,000 characters and marked when truncated, so a large registry
or research payload cannot flood the context window. Change it with
langchain_stackresolve.tools.MAX_CHARS.
Also available
- Hosted MCP server (no install):
https://mcp.stackresolve.dev/mcp - TypeScript SDK and CLI:
npm install stackresolve - Python SDK on its own:
pip install stackresolve - REST API:
https://api.stackresolve.dev, OpenAPI at/openapi.json
License
MIT
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_stackresolve-0.2.0.tar.gz.
File metadata
- Download URL: langchain_stackresolve-0.2.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f880e3d89ff99ef497daaa350553f722285ff80352a60625ad97744592505ff
|
|
| MD5 |
1ee693a6a2bbe4254a6981a6f7852795
|
|
| BLAKE2b-256 |
d06e79ed5a5bbf8ae7d50419dff906539bd40779161cd4e880ca49676226ff69
|
Provenance
The following attestation bundles were made for langchain_stackresolve-0.2.0.tar.gz:
Publisher:
publish-langchain.yml on autorevai/agentready
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_stackresolve-0.2.0.tar.gz -
Subject digest:
7f880e3d89ff99ef497daaa350553f722285ff80352a60625ad97744592505ff - Sigstore transparency entry: 2671295851
- Sigstore integration time:
-
Permalink:
autorevai/agentready@fcffd78d6dce559d5e7a839e12b6264d43098aba -
Branch / Tag:
refs/heads/main - Owner: https://github.com/autorevai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-langchain.yml@fcffd78d6dce559d5e7a839e12b6264d43098aba -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file langchain_stackresolve-0.2.0-py3-none-any.whl.
File metadata
- Download URL: langchain_stackresolve-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1a9ec64e98131fd07e8688d23afedf917b3ed04789649ebbd525ea89c793632
|
|
| MD5 |
cb76fdfbcbbba4002645b1f66b031cba
|
|
| BLAKE2b-256 |
1007533c72e9988b458adcabd27aed09a7d0692d2da20e595e0780eb9c5b0301
|
Provenance
The following attestation bundles were made for langchain_stackresolve-0.2.0-py3-none-any.whl:
Publisher:
publish-langchain.yml on autorevai/agentready
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_stackresolve-0.2.0-py3-none-any.whl -
Subject digest:
f1a9ec64e98131fd07e8688d23afedf917b3ed04789649ebbd525ea89c793632 - Sigstore transparency entry: 2671295887
- Sigstore integration time:
-
Permalink:
autorevai/agentready@fcffd78d6dce559d5e7a839e12b6264d43098aba -
Branch / Tag:
refs/heads/main - Owner: https://github.com/autorevai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-langchain.yml@fcffd78d6dce559d5e7a839e12b6264d43098aba -
Trigger Event:
workflow_dispatch
-
Statement type: