Setup
1
Install AgentKit and E2B
Within an existing project, Install AgentKit and E2B from npm:
Don't have an existing project?
Don't have an existing project?
To create a new project, create a new directory then initialize using your package manager:
2
Setup your Coding Agent
Create a Agent and its associated Network:
3
Create the E2B Tools
To operate, our Coding Agent will need to create files and run commands.Below is an example of how to create the You will find the complete example in the E2B Coding Agent example.
createOrUpdateFiles and terminal E2B tools:Examples
Replicate Cursor's Agent mode
This examples shows how to use E2B sandboxes to build a coding agent that can write code and run commands to generate complete project, complete refactoring and fix bugs.
AgentsToolsNetworkIntegrations
Code-based Router
AgentsToolsNetworkIntegrations
Code-based Router
AI-powered CSV contacts importer
Let’s reinvent the CSV upload UX with an AgentKit network leveraging E2B sandboxes.
AgentsToolsNetworkIntegrations
Code-based Router
AgentsToolsNetworkIntegrations
Code-based Router