AI agent instructions
AI agent instructions
examples/inngest in the Notte repository lets a Claude agent read a page title through Playwright.
Set up
Use Node.js 24+, a Notte API key, and an Anthropic API key. Clone the Notte repository, openexamples/inngest, and run npm ci. Set NOTTE_API_KEY and ANTHROPIC_API_KEY to your keys, then run npm start.
The agent calls page_title for https://example.com. The tool result contains title: "Example Domain" and the stopped session’s session_id.
Each tool call owns a separate session and closes it on success or failure. No local browser installation is needed. Extend the tool handler to add the browser actions your agent needs.
This example runs AgentKit directly. For durable execution and tracing, follow AgentKit’s Inngest setup.