Stop wiring one-off endpoints for every capability. Anytool turns prompts into reusable tools running in isolated Bun containers. Generated in seconds, cached forever, with per-user keys and per-tool state.
Integrates with any LLM framework. The mental model: each tool is just (input) => Promise<output> your agent can call.
import { generateText, tool } from 'ai'
import { openai } from '@ai-sdk/openai'
import { z } from 'zod'
const anytool = tool({
description: 'Generate, cache, and run tools on demand',
parameters: z.object({
prompt: z.string(),
input: z.string()
}),
execute: async ({ prompt, input }) => {
const res = await fetch('https://anytoolhq.com/api/tool', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.ANYTOOL_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ prompt, input })
})
return res.json()
}
})
// Your LLM now has a personal tool library
await generateText({
model: openai('gpt-5'),
tools: { anytool },
prompt: 'Generate a QR code for https://example.com'
})Works with AI SDK, LangChain, or any LLM framework. See docs →
Try it live. Generate a QR code, edit the input, see the output.
Generate QR codes on demand
Generate QR code as SVG10 free generations/month. Pro: unlimited tools backed by your OpenRouter key and our Bun runtime ($49/mo).
No credit card required