Automation without limits

Automation should feel like writing code, not dragging boxes. RouteCraft is developer first, open source, and AI native, with features designed for developers and agents alike.

import { craft, simple, fetch, log } from '@routecraft/routecraft'
export default craft()
.id('hello-world')
.from(simple({ userId: 1 }))
.enrich(fetch({
method: 'GET',
url: (ex) => `https://jsonplaceholder.typicode.com/users/${ex.body.userId}`,
}))
.transform((result) => `Hello, ${result.body.name}!`)
.to(log())

Introduction

Getting started

Get up and running with RouteCraft in 60 seconds.

Play Online

Try RouteCraft in your browser without installing anything:

Open on CodeSandbox

Play around with RouteCraft in your browser.

Create a new project

npm create routecraft@latest my-app

Start the development server

cd my-app
npm run dev

You should see your routes start and log output in your terminal.

Your first route

The starter project includes a hello world route at routes/hello-world.route.ts (shown above). It demonstrates the core flow:

  1. Start with data - .from(simple({ userId: 1 })) creates an exchange with a user ID
  2. Enrich from an API - .enrich(fetch(...)) calls an external API and merges the result
  3. Transform - .transform(...) shapes the data into a greeting
  4. Output - .to(log()) logs the final result to the console

This pattern (source, transform, destination) is the foundation of every RouteCraft route.

Next steps

Introduction

Learn what RouteCraft is and understand the core concepts.

Installation

System requirements, production builds, and manual setup.

Routes

Author small, focused routes using the DSL.

Operations

All the steps you can use in your routes.