Skip to main content

runtm init

Spin up a new sandbox for your agent to build in. Optionally start from a template.

Arguments

If not provided, you’ll be prompted to choose interactively or start from scratch.

Options

Templates

backend-service

Python FastAPI backend for APIs, webhooks, and agent backends

static-site

Next.js static site for landing pages and documentation

web-app

Fullstack Next.js + FastAPI for interactive applications

Examples

Basic Usage

Interactive Mode

What Gets Created

backend-service

static-site

web-app

After Initialization

Your agent now has an isolated sandbox to work in:

Template Selection Guide

  • REST APIs
  • Webhooks
  • AI agent backends
  • Data processing services
  • Scrapers and crawlers
  • Background job runners
  • Landing pages
  • Marketing sites
  • Documentation
  • Portfolios
  • Simple content sites
  • Interactive dashboards
  • SaaS applications
  • Admin panels
  • Apps with user authentication
  • Full-stack applications with database

Customizing Templates

After initialization, customize your project by editing:
  1. runtm.yaml - Add environment variables, features, policy
  2. runtm.discovery.yaml - Add description, tags for searchability
  3. Application code - Implement your features
See Templates Overview for detailed documentation.