Agents and SDKs
Agent setup
Let an AI agent discover Berrycrawl, test it safely, and hand ownership to a human.
Berrycrawl publishes machine-readable discovery assets for agents:
/llms.txtdescribes the product and important documentation entry points./openapi.agent.jsoncontains the public data plane plus agent registration and claim operations./.well-known/oauth-protected-resourceand/.well-known/oauth-authorization-serverdescribe the protected API and authorization service./api/v1/mcpexposes the hosted Streamable HTTP MCP server. See MCP server.
Recommended sequence
- Read the agent OpenAPI document.
- Register an agent workspace through the documented agent route.
- Store the returned API key as a secret.
- Test against
berrycrawl.com; that domain does not consume credits. - Give the claim URL to the human operator.
- Continue using the same workspace after the human accepts ownership.
Claim links are credentials. Send them only to the intended owner and do not place them in public logs or model transcripts.
Tool design
Expose narrow tools to your model: scrape_page, map_site, start_crawl, get_crawl, and get_brand. Validate URLs before invoking them, set explicit limits, and return Berrycrawl's failure reason to the model instead of replacing it with guessed content.
For most agent reading tasks, request Markdown with onlyMainContent: true. Use mapping before crawling when the relevant page is unknown. Use maxAge to reuse recent results within one reasoning loop.