> ## Documentation Index
> Fetch the complete documentation index at: https://kernel.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# cookbooks

> end-to-end recipes to teach agents to use the internet

export const CookbookSearch = () => {
  const [matches, setMatches] = useState(null);
  const getCards = () => {
    const anchors = Array.from(document.querySelectorAll('a[href^="https://github.com/kernel/cookbooks/tree/main/"]')).filter(a => !a.closest('nav') && !a.closest('aside'));
    const cards = anchors.map(a => a.closest('.card') || a);
    return Array.from(new Set(cards));
  };
  const handleInput = useCallback(e => {
    const q = e.target.value.trim().toLowerCase();
    const cards = getCards();
    let count = 0;
    cards.forEach(card => {
      const hit = q === '' || card.textContent.toLowerCase().includes(q);
      card.style.display = hit ? '' : 'none';
      if (hit) count++;
    });
    setMatches(q === '' ? null : count);
  }, []);
  return <div style={{
    margin: '1.5rem 0 0.5rem'
  }}>
      <input type="search" placeholder="search cookbooks..." onInput={handleInput} aria-label="Search cookbooks" style={{
    width: '100%',
    padding: '0.625rem 0.875rem',
    fontSize: '0.9375rem',
    fontFamily: 'inherit',
    border: '1px solid rgba(128, 128, 128, 0.35)',
    borderRadius: '0.5rem',
    background: 'transparent',
    outline: 'none'
  }} />
      {matches === 0 && <p style={{
    marginTop: '1rem',
    opacity: 0.7
  }}>
          no cookbooks match your search.
        </p>}
    </div>;
};

Self-contained cookbooks to clone and run. Use as 1-click starts for your agents or as templates for your own build.

<CookbookSearch />

<Columns className="responsive-columns" cols={3}>
  <Card title="Agentic Payments" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/payments.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=1736804f1932c37c9d68c8bd93c54273" href="/docs/browsers/enable-payments-in-browser-agent" width="985" height="867" data-path="images/cookbooks/payments.png">
    <div className="cookbook-tag">common patterns</div>
    Enable Payments in a Browser Agent.
  </Card>

  <Card title="AI SDK Agent" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/vercel.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=63b88a60c6a2f7f5252373ced2861e89" href="https://github.com/kernel/cookbooks/tree/main/integrations/ai-sdk-agent" width="985" height="867" data-path="images/cookbooks/vercel.png">
    <div className="cookbook-tag">harnesses & models</div>
    Browser automation with the Vercel AI SDK and KERNEL's Playwright execution API.
  </Card>

  <Card title="Tinker RL" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/tinker.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=8bbb038184be1a6f0101a695f63b9685" href="https://github.com/kernel/cookbooks/tree/main/integrations/tinker-rl" width="985" height="867" data-path="images/cookbooks/tinker.png">
    <div className="cookbook-tag">harnesses & models</div>
    RL training for computer use agents, using Tinker.
  </Card>

  <Card title="Mastra Web Task Assistant" img="https://mintcdn.com/tbd-6fc993ce/JCDdNXHDBdSTEqbX/images/cookbooks/mastra.png?fit=max&auto=format&n=JCDdNXHDBdSTEqbX&q=85&s=6d09e3cf5531a1905ae060018b048840" href="https://github.com/kernel/cookbooks/tree/main/integrations/mastra-web-task-assistant" width="985" height="867" data-path="images/cookbooks/mastra.png">
    <div className="cookbook-tag">harnesses & models</div>
    Human-in-the-loop web task assistant with memory, built on Mastra.
  </Card>

  <Card title="Claude Managed Agents" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/claude.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=b7f03455f75e722608a6233d650b0697" href="https://github.com/kernel/cookbooks/tree/main/integrations/claude-managed-agents" width="985" height="867" data-path="images/cookbooks/claude.png">
    <div className="cookbook-tag">harnesses & models</div>
    Run parallel computer-use agent swarms, with API keys secured via Vaults.
  </Card>

  <Card title="Modal PR QA Agent" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/modal.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=d528651512fc2d6882b4c664bcfca8a5" href="https://github.com/kernel/cookbooks/tree/main/integrations/modal-pr-qa-agent" width="985" height="867" data-path="images/cookbooks/modal.png">
    <div className="cookbook-tag">harnesses & models</div>
    QA your PR previews with Claude computer use on Modal, recorded with Replays.
  </Card>

  <Card title="Browser Use Model" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/browser-use.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=98ca96bf974aec50a8d7494db5870700" href="https://github.com/kernel/cookbooks/tree/main/integrations/browser-use-model" width="985" height="867" data-path="images/cookbooks/browser-use.png">
    <div className="cookbook-tag">harnesses & models</div>
    Run the Browser Use bu-1.0 model on KERNEL browser infrastructure.
  </Card>

  <Card title="Eve x KERNEL Managed Auth" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/vercel.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=63b88a60c6a2f7f5252373ced2861e89" href="https://vercel.com/kb/guide/build-a-browser-agent" width="985" height="867" data-path="images/cookbooks/vercel.png">
    <div className="cookbook-tag">harnesses & models</div>
    Build a browser agent with eve and KERNEL managed auth.
  </Card>

  <Card title="Playwright & Computer Use" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/playwright.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=187ef38363d96036b5dafeebe20babad" href="/docs/browsers/playwright-computer-use-fallback" width="985" height="867" data-path="images/cookbooks/playwright.png">
    <div className="cookbook-tag">common patterns</div>
    Using Playwright with computer use fallback.
  </Card>

  <Card title="Stagehand Google CUA Agent" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/stagehand.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=cf2e90fe5c64ee3bbdead0aa8e82ad74" href="https://github.com/kernel/cookbooks/tree/main/integrations/stagehand-google-cua-agent" width="985" height="867" data-path="images/cookbooks/stagehand.png">
    <div className="cookbook-tag">harnesses & models</div>
    Computer use agent with Google's Gemini 2.5 and Stagehand.
  </Card>

  <Card title="Claude Computer Use Loop" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/claude.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=b7f03455f75e722608a6233d650b0697" href="https://github.com/kernel/cookbooks/tree/main/integrations/claude-computer-use-loop" width="985" height="867" data-path="images/cookbooks/claude.png">
    <div className="cookbook-tag">harnesses & models</div>
    Minimal implementation of Anthropic's computer use loop.
  </Card>

  <Card title="Vibium" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/vibium.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=17340bb0815c320493c62aeeb526f691" href="https://github.com/kernel/cookbooks/tree/main/integrations/vibium" width="985" height="867" data-path="images/cookbooks/vibium.png">
    <div className="cookbook-tag">harnesses & models</div>
    Vibium browser automation over WebDriver BiDi.
  </Card>

  <Card title="Modal Web Scraper" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/modal.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=d528651512fc2d6882b4c664bcfca8a5" href="https://github.com/kernel/cookbooks/tree/main/integrations/modal-web-scraper" width="985" height="867" data-path="images/cookbooks/modal.png">
    <div className="cookbook-tag">harnesses & models</div>
    Scrape JS-rendered pages behind a login, on Modal with a KERNEL browser.
  </Card>

  <Card title="Eve x Foreman" img="https://mintcdn.com/tbd-6fc993ce/aVBangcN7fgaYVUd/images/cookbooks/vercel.png?fit=max&auto=format&n=aVBangcN7fgaYVUd&q=85&s=63b88a60c6a2f7f5252373ced2861e89" href="https://vercel.com/kb/guide/software-factory-browser" width="985" height="867" data-path="images/cookbooks/vercel.png">
    <div className="cookbook-tag">harnesses & models</div>
    Give Vercel foreman access to a KERNEL browser for QA.
  </Card>

  <Card title="e2b" img="https://mintcdn.com/tbd-6fc993ce/vf7spOeXJxm3kx-H/images/cookbooks/e2b.png?fit=max&auto=format&n=vf7spOeXJxm3kx-H&q=85&s=e859f3740dee236ea0fc9f0c4b9958f8" href="https://docs.e2b.dev/use-cases/remote-browser" width="985" height="867" data-path="images/cookbooks/e2b.png">
    <div className="cookbook-tag">harnesses & models</div>
    Connect e2b sandboxes with KERNEL browsers.
  </Card>
</Columns>
