Runloop is the batteries included platform designed for building and optimizing
AI-driven software engineering agents.With the Runloop platform, you get:
Team-shareable templates for launching new devboxes with custom configuration (Blueprints), and persistent disk state (Snapshots).
Zero-configuration code repository integration (Code Mounts) and a end-to-end repository set-up for new projects (Repo Connect).
Turnkey benchmarking (Benchmarks) and evaluation services for fine-tuning your agent’s behavior.
Whether you are trying to build an AI agent that can respond to pull requests, or an AI agent that can generate new UI components, Runloop makes it possible to get from zero to POC in just a few lines of code.
Our mission at Runloop is to keep you focused on the things that improve your AI agent. Leave the rest to us and spend time on what actually matters.As your agent evolves, your needs will evolve too. Runloop is designed for builders at all stages:
Stage
Why Runloop
Prototyping
Zero infrastructure worries using managed, instant-on devboxes.
Build, deploy, learn, and iterate quickly.
Production
Team-shared blueprints and projects.
24/7/365 managed platform and oncall team.
SOC2 compliant.
Growth
Benchmarking and evaluation stack to monitor and fine-tune your agent’s performance.
Devboxes are isolated, cloud-based development environments that can be controlled by AI agents via the Runloop API.
You can give agents access to a devbox to let agents run and test code in a safe, isolated environment.
Copy
Ask AI
import Runloop from '@runloop/api-client';import { generateText, tool } from 'ai';// Create an isolated Devbox for the agent to useconst devbox = await runloopClient.devboxes.createAndAwaitRunning();// Get the Runloop Tool Representation for the Devbox and convert them to Vercel AI Toolsconst runloopDevboxShellTools = runloopClient.devboxes.tools.shellTools(devbox.id) const runloopDevboxFileTools = runloopClient.devboxes.tools.fileTools(devbox.id) // Use VercelAI SDK to create a simple agent that uses the Devbox to code a gameconst { text: answer } = await generateText({ model: openai('gpt-4o-2024-08-06'), tools: { ...runloopDevboxShellTools, ...runloopDevboxFileTools }, maxSteps: 10, system: 'You are an expert python coder that specializes in making CLI games.' prompt: 'Create a CLI game that is a guessing game where the user has to guess a number between 1 and 100. Write the python script in the file `game.py`. The program should be callable from the command line via `python game.py`. Once you have generated the program, run it and print the output to stdout.' });console.log(`ANSWER: ${answer}`);