Firecrawl Agent
simple-ai/firecrawl-agentFreeUtility
A web research agent powered by Firecrawl.
Install it
npx shadcn@latest add https://simple-ai.dev/r/firecrawl-agent.jsonSource
1import { Experimental_Agent as Agent, stepCountIs } from "ai";23import { model } from "@/registry/ai/models";4import { firecrawlTool } from "@/registry/ai/tools/firecrawl-tool";56export const firecrawlAgentPrompt = `You are a web research assistant powered by Firecrawl.78Your goal is to find accurate information from the web efficiently.910Instructions:1112- If the user provides a specific URL, use the 'scrape' mode to get the content.1314- If the user asks a general question, use the 'search' mode to find relevant pages.1516- The tool returns Markdown content. Summarize this content clearly for the user.1718- Cite the URLs you found information from.`;1920export const firecrawlAgent = new Agent({21 model: model.languageModel("gpt-5-nano"),22 system: firecrawlAgentPrompt,23 tools: {24 "firecrawl-tool": firecrawlTool,25 },26 stopWhen: stepCountIs(10), // Low step count to keep it cheap27});
What it pulls in
npm packages
Other registry items
Files it writes
More from simple-ai
All 77 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| agent-respondagent-respond | simple-ai | Utilities | Free | 1 dep | |
| agents-tools-registryagents-tools-registry | simple-ai | Utilities | Free | 1 dep · 2 files | |
| ai-utilsai-utils | simple-ai | Utilities | Free | 1 dep | |
| Exa Agentexa-agent | simple-ai | Utilities | Free | 1 dep | |
| exa-toolexa-tool | simple-ai | Utilities | Free | 3 deps | |
| firecrawl-toolfirecrawl-tool | simple-ai | Utilities | Free | 3 deps | |
| get-weatherget-weather | simple-ai | Utilities | Free | 2 deps | |
| id-to-readable-textid-to-readable-text | simple-ai | Utilities | Free | no deps |
