Hardened container sandbox

A place to run code you did not write

RunFlow runs container jobs on hardened hosts, including code an AI agent has just generated. Each job gets a tracking ID, and while it runs you can read its logs, pause it, resume it or kill it.

REST API and MCP· runflow.rodmena.co.uk
The problem

Four questions come up when you run someone else's code

The code might come from a customer or from a model. Either way, you need answers to these before the first job runs.

01 Containment

What stops the job reading the host, the network or another customer's data?

02 Control

The job has been running for an hour. Can you see its output, pause it or stop it cleanly?

03 Durability

If the host restarts mid-job, what happens to the job and how do you find out?

04 Accountability

Who ran which job with which secrets, and can you show it afterwards?

How it works

Each API call starts one container run

A submit returns a track_id at once and the job runs in the background. Workflows, schedules and approvals are built from these runs.

1

Submit

Send an image and a command. The response carries a track_id, and the run starts when a worker is free.

2

Observe

Read the logs while the run is live, fetch its CPU, memory and network samples, and list its state changes.

3

Control

Pause a run with its memory intact and resume it later. Stop sends SIGTERM and then SIGKILL after a grace period. Kill ends the run at once.

# submit: the response comes back before the job runs
curl -X POST https://runflow.rodmena.co.uk/api/v1/runs \
  -H "Authorization: Bearer $KEY" -d '{
    "image": "python:3.12-slim",
    "command": ["python", "-c", "print(\"hello\")"],
    "timeout_seconds": 60
  }'
# => {"track_id": "01KYBAPZ586HYGVFER43MYH0T7", "status": "scheduled"}

# then, at any time
GET  /api/v1/runs/{id}              # live state and event history
GET  /api/v1/runs/{id}/logs         # stdout and stderr, paged
GET  /api/v1/runs/{id}/utilization  # cpu, memory and network samples
POST /api/v1/runs/{id}/pause        # freeze it with its memory intact
What you get

How RunFlow answers the four questions

Containment

Jobs run as the user nobody with all Linux capabilities dropped, a read-only root filesystem and no-new-privileges set. Memory, CPU and the number of processes are limited.

Network. The firewall refuses a job's connections to private address ranges and to RODMENA's own hosts. Connections from the internet into a job are dropped.

Control while it runs

Pausing freezes the container's processes and keeps their memory. Resuming carries on from the same point. Stop sends SIGTERM, waits for a grace period, then sends SIGKILL.

Durability

RunFlow writes each state change to PostgreSQL as it happens. After a restart it reconciles the runs that were in flight and records how each one ended.

Governance

Each tenant has its own quotas and its own key for encrypting environment variables at rest. API responses redact keys that look like secrets. Permissions are checked per operation, and actions are written to an audit log.

Features

Features buyers ask about

You can use all of these today through the REST API and through MCP.

pause and resume

Pausing suspends the job's processes in place without a checkpoint, and resuming continues them from where they stopped.

approval gates

A workflow node of type approval waits in waiting_approval until someone approves or rejects it. Approving fires its success and always edges. Rejecting fires its failure and always edges.

agent tools

The operations are also MCP tools, 66 of them. An agent connects with a URL and an API key and can submit, watch and control its own jobs.

queueing

When you reach your concurrency limit, a new run waits in a queue. The response gives its position and, when there is enough history, an estimated start.

working hours

A tenant can have a working-hours calendar. With a Monday to Friday, 09:00 to 18:00 calendar, a run submitted on Friday evening starts on Monday at 09:00.

webhooks

A webhook delivery is written in the same database transaction as the state change it reports. Deliveries are signed with HMAC-SHA256 and retried, and each retry is signed again with a fresh timestamp.

Fit

When to use something else

Agents

Agents that run their own code

An agent connects with a URL and an API key, and the RunFlow operations appear as tools it can call.

# register RunFlow with an MCP client such as Claude Code
claude mcp add --transport http runflow https://runflow.rodmena.co.uk/mcp \
  --header "Authorization: Bearer <your-api-key>"

# the agent can then call tools such as
runflow_submit_run · runflow_get_status · runflow_get_logs · runflow_pause
runflow_submit_workflow · runflow_approve_node · runflow_get_result
runflow_create_template · runflow_run_template  # 66 tools in all

An agent runs its own code

The model writes a script, runs it in a sandbox and reads back the logs and result before it tries again.

Jobs your customers supply

Your product can accept a customer's own container without giving that customer access to your systems. Quotas and isolation apply per tenant.

A pipeline with a human checkpoint

Automation runs the graph and stops before an irreversible step, such as a deployment or a payment, until a person approves it.

A pipeline started by name

Register a DAG once as a template with typed parameters, then start it by name with a few values. RunFlow checks the values before any container starts. Editing the definition publishes a new version, and a run that names a version keeps running that version.

Batch work that comes in bursts

Runs queue with a position when you are at your limit, and they can wait for the tenant's working hours.

Status

Where the product is today

We checked this list against the code on 31 October 2026.

Built and running
  • Run lifecycle: submit, schedule, observe, pause and resume, stop and kill, results and logs.
  • DAG workflows with dependencies, success and failure branches, per-node retries, fan-out and fan-in, JSON passed between nodes and approval gates.
  • Container hardening: capabilities dropped, a read-only root filesystem, no-new-privileges, and memory and CPU limits.
  • Tenant controls: quotas, a per-tenant key for environment variables, redaction, per-operation permissions and an audit log.
  • Signed webhooks, written in the same transaction as the state change and delivered at least once.
  • Restart handling: runs that were in flight are reconciled when the service starts again.
  • Workflow templates with versions, typed parameters and cron triggers.
  • Timers and cron schedules that send signed webhooks without starting a container.
  • A REST API and 66 MCP tools.
Current limits
  • Each node is a single host with its own database. There is no automatic failover between nodes, and a node is unavailable while its host is down.
  • Capacity differs between nodes. /health reports a node's worker count and how much of its capacity is in use.
  • Deploys wait for running jobs. A release restarts the service only after the running jobs finish. While a node stays busy, the release waits.
  • Runs can reach the public internet. Their connections to private address ranges and to RODMENA's own hosts are refused.
  • RunFlow is young and under active development.

Run your first job

Talk to us about a key for this node.