Develop AI Agents that can browse the web autonomously using Gbox and AgentKit (by inngest).
Install Dependencies
Add Environment Variables
.env
file in your project root and add your Gbox API key:Setup an AgentKit Network with an Agent
agent.ts
and set up your AgentKit network with an agent that can use Gbox:Define the Search Tool
searchReddit
tool that uses Gbox to search Reddit:Put It All Together
agent.ts
file to create a complete AgentKit network that can search Reddit:Run Your Agent