cracked-langchain
LangChain tools for Cracked, the tool router for AI agents: one API key, 67,000+ tools (web search, scrapers, social profiles, enrichment, media models) with measured health and real prices per call.
load_cracked_tools() turns every Cracked capability into a BaseTool with a typed args_schema built from
GET /v1/capabilities/tools?format=openai. Runs go through POST /v1/run; each result includes the run permalink.
pip install cracked-langchain langchain-openai langgraph
import os
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
from cracked_langchain import load_cracked_tools
tools = load_cracked_tools(api_key=os.environ["CRACKED_API_KEY"], capabilities=["web-search", "instagram-profile"])
agent = create_react_agent(ChatOpenAI(model="gpt-4o-mini"), tools)
result = agent.invoke({"messages": [("user", "How many followers does @nike have on Instagram?")]})
print(result["messages"][-1].content)
# Each tool call returns {"run": {"runId", "status", "url", "costUsd", "durationMs"}, "output": ...}
Options: capabilities (ids, dashes or underscores), set="top"|"all", base_url, timeout, max_output_chars.
Keys: https://cracked.ai/app/keys. Agents can self-register: POST https://cracked.ai/v1/agents/register.
- Docs: https://cracked.ai/docs/integrations
- Capabilities: https://cracked.ai/capabilities
- Pricing: https://cracked.ai/pricing (each tool page shows its per-run price)
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 cracked_langchain-0.1.0.tar.gz.
File metadata
- Download URL: cracked_langchain-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dd53dfe6c89c6136519a01e6ca9527aaa4b362973dda681b65c08f483f276ba
|
|
| MD5 |
f56b0ede72c69960a3a0e8104a50d3f6
|
|
| BLAKE2b-256 |
b0b0d0c60988cc5e6277716335165b1eaef7eb5838b9af4cadb511404c968a59
|
File details
Details for the file cracked_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cracked_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a0c3d08a70789931f9ac7d51d294703ecee46f8918ed707b3acac3b37ef7d7
|
|
| MD5 |
97032e56de5e5dafef14861afe593742
|
|
| BLAKE2b-256 |
d09e0146598969253393614277f2037bd618647e3549a676274b35cf42da052e
|