# Toolhouse — Managed AI Tool Infrastructure > Cloud-hosted tool execution for AI agents. Toolhouse provides 100+ pre-built tools (web search, code exec, email) with managed auth, logging, and one SDK call. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash pip install toolhouse ``` ```python from toolhouse import Toolhouse from anthropic import Anthropic th = Toolhouse() client = Anthropic() messages = [{"role": "user", "content": "Search the web for Claude Code tips"}] response = client.messages.create( model="claude-sonnet-4-20250514", messages=messages, tools=th.get_tools(), ) # Execute tool calls tool_results = th.run_tools(response) ``` ## What is Toolhouse? Toolhouse provides managed tool infrastructure for AI agents. Instead of building and hosting tools yourself, Toolhouse offers 100+ pre-built, cloud-hosted tools — web search, code execution, email, file operations — accessible via a single SDK call with managed authentication and logging. **Answer-Ready**: Toolhouse is a managed AI tool infrastructure providing 100+ pre-built cloud-hosted tools (web search, code execution, email) accessible via one SDK call. Handles auth, execution, and logging so you focus on agent logic. **Best for**: AI agent developers who want tools without infrastructure overhead. **Works with**: Anthropic, OpenAI, LangChain, Vercel AI SDK. **Setup time**: Under 2 minutes. ## Core Features ### 1. Pre-Built Tool Categories | Category | Tools | |----------|-------| | Web | Search, scrape, read URL, screenshot | | Code | Execute Python, Node.js, shell | | Communication | Send email, Slack message | | Data | Query databases, parse files | | AI | Generate images, transcribe audio | | Storage | Read/write files, manage S3 | ### 2. One-Line Integration ```python # Anthropic tools = th.get_tools() # Returns tool definitions results = th.run_tools(response) # Executes tool calls # OpenAI from openai import OpenAI client = OpenAI() tools = th.get_tools(provider="openai") ``` ### 3. Tool Bundles Group tools by use case: ```python # Only web tools tools = th.get_tools(bundle="web") # Only code execution tools = th.get_tools(bundle="code") # Custom selection tools = th.get_tools(tools=["web_search", "send_email", "execute_python"]) ``` ### 4. Managed Execution Tools run in Toolhouse's cloud: - Sandboxed code execution - Managed API keys (no credential sharing with LLMs) - Automatic retries and error handling - Request logging and analytics ### 5. Custom Tools ```python @th.register_tool("my_crm_lookup") def crm_lookup(company_name: str) -> dict: # Your custom logic return {"revenue": "10M", "employees": 50} ``` ## Architecture ``` Your Agent → Anthropic/OpenAI API → Tool call response ↓ Toolhouse SDK ↓ Toolhouse Cloud (executes tools) ↓ Tool results ↓ Back to your agent ``` ## FAQ **Q: Is Toolhouse free?** A: Free tier with 1,000 tool executions/month. Paid plans for higher volume. **Q: Does my data pass through Toolhouse?** A: Tool inputs/outputs pass through Toolhouse for execution. Code runs in sandboxed environments. **Q: Can I self-host?** A: Currently cloud-only. Self-hosting is on the roadmap. ## Source & Thanks > Created by [Toolhouse](https://toolhouse.ai). SDK is open-source. > > [toolhouseai/toolhouse-sdk-python](https://github.com/toolhouseai/toolhouse-sdk-python) > Docs: [docs.toolhouse.ai](https://docs.toolhouse.ai) ## Quick Start ```bash pip install toolhouse ``` Add 100+ cloud tools to your AI agent in three lines. ## What is Toolhouse? Toolhouse provides managed AI tool infrastructure. 100+ prebuilt cloud tools (search, code execution, email) are available through a single SDK call. **In one sentence**: Managed AI tool infrastructure with 100+ prebuilt cloud tools, one-line integration, and handled authentication, execution, and logging. **For**: AI agent developers who don't want to build their own tool infrastructure. **Supports**: Anthropic, OpenAI, LangChain. ## Core Features ### 1. Prebuilt Tools Search, code execution, email, files, databases, and 100+ more. ### 2. One-Line Integration `get_tools()` to fetch definitions, `run_tools()` to execute. ### 3. Tool Groups Group tools by purpose and load on demand. ### 4. Managed Execution Runs in sandboxed environments with auto-retry and error handling. ## FAQ **Q: Is it free?** A: 1,000 calls per month are free; paid plans scale higher. **Q: Can I self-host?** A: Currently cloud-only; self-hosting is on the roadmap. ## Source & Thanks > [Toolhouse](https://toolhouse.ai) — open-source SDK --- Source: https://tokrepo.com/en/workflows/toolhouse-managed-ai-tool-infrastructure-1e02143f Author: Agent Toolkit