Transactional

Secure Code Execution

Run code in 50+ languages with secure sandboxing, resource limits, and package management. Self-hosted on our infrastructure for maximum performance and zero cold starts.

COMPLETE
CODE_V1
main.pyoutput
1

import json

2 
3

data = {"prices": [29, 59, 99]}

4

avg = sum(data["prices"]) / 3

5

print(f"avg: {avg}")

stdout

avg: 62.33

exit 0
Python 3.12
exit 0
1.2s
Piston

Run any code, any language.

Submit code, get stdout and stderr. Python, JavaScript, Go, Rust, Ruby, and 45+ more languages — with package installation at runtime.

import { Transactional } from '@usetransactional/node';
const tx = new Transactional({ apiKey: 'tr_live_...' });

// Run Python code
const result = await tx.code.run({
  language: 'python',
  code: `
import json
data = {"status": "complete", "items": 42}
print(json.dumps(data, indent=2))
`,
  timeout: 10000,
});

console.log(result.stdout);
// { "status": "complete", "items": 42 }
EXECUTION INFRASTRUCTURE

Built for Secure Execution

Self-hosted Piston engine with Linux namespace isolation.

50+

Languages

Python, JavaScript, TypeScript, Go, Rust, Ruby, and more.

Namespace

Isolation

Linux cgroups and namespaces — no shared state between runs.

Zero

Cold Start

Self-hosted runtimes are always warm and ready.

Self-hosted

Engine

Piston engine running on our K8s infrastructure.

Execution Engine: Ready
Powered by Piston
WHY CODE EXECUTION

Everything agents need to run code.

Secure, fast code execution for any language.

Zero Cold Start

Self-hosted runtimes always warm and ready to execute.

01

Linux Namespaces

Process isolation via cgroups and namespaces — no shared state.

02

Simple API

Submit code, get stdout/stderr. That simple.

03
50+

LANGUAGES

Zero

COLD START

Namespace

ISOLATION

Piston

POWERED BY

YOUR AGENTS DESERVE
REAL INFRASTRUCTURE.

START BUILDING AGENTS THAT DO REAL WORK.

Deploy Your First Agent