Skip to content

Get started

Agent frameworks

Use Frankensurf's read and search as tools in LangChain, the OpenAI Agents SDK, CrewAI, or as a Claude Code plugin.

Any MCP client can start frankensurf-mcp (Add to your agent). For frameworks that take Python tools, frankensurf.agent_tools gives you two ready-made ones:

  • frankensurf_read: a page’s text (or the article, with main), its title, a quality grade, which tool got it, and a trace_id to pass back as try_harder_than when the page wasn’t right. With a JSON Schema, the fields filled from the page’s own data (Structured fields).
  • frankensurf_search: checked results (url, title, snippet, published), with recency, site and vertical.

Policy settings pass straight through, for example langchain_tools(allow_paid_fallbacks=True, max_cost_usd=0.02). Text is capped at 20,000 characters (max_text).

Terminal window
pip install "frankensurf[langchain]"
from frankensurf.agent_tools import langchain_tools
from langgraph.prebuilt import create_react_agent
agent = create_react_agent(model, tools=langchain_tools())

Each tool works sync (invoke) and async (ainvoke).