TrainShellBeta
AI agents, real terminal

TrainShell

Run Codex, Claude Code, and OpenCode on your Vast.ai or RunPod hosts through a Ghostty terminal in the browser. End-to-end encrypted. No SSH keys, no VPN, no port forwarding.

<1 min
host setup
Encrypted
secret flow
tmux
native shell
train.sh / workspace
us-west gpu pool
Connected
Terminal
Codex CLI
live tmux

$ trainsh connect gpu-4090-west

ok Host identity verified

✓ Browser vault unlocked locally

✓ Encrypted secrets injected into tmux

user@gpu-4090-west:~$ codex

Starting Codex CLI...

>

Terminal

Ghostty Terminal in Browser

A real Ghostty-powered terminal with tmux, running in your browser. Native key bindings, true color, and ligatures — no SSH client needed.

Agents

AI Coding Agents

Run Codex, Claude Code, and OpenCode natively in TUI mode on your GPU hosts. No chat wrapper — just the real agent in a real terminal.

Encrypted

End-to-End Encryption

Secrets are encrypted in-browser before they leave your device. The server never sees plaintext API keys. X25519 ECDH per session.

Compute

Bring Your Own Host

Connect your Vast.ai or RunPod instances and manage them from one dashboard. Start, stop, and monitor from anywhere.

Storage

Secure Storage

Store datasets and checkpoints on Cloudflare R2 with zero egress fees. S3-compatible for seamless rclone integration.

Agent

trainsh-agent

A lightweight Go agent on your host handles PTY, metrics, and secret injection. Auto-installs, auto-connects, zero config.

Providers

Bring your own GPU host

Connect existing cloud GPU instances. Start, stop, and monitor them from one dashboard without exposing local SSH keys.

Vast.ai

Community and datacenter GPUs with spot bidding and the lowest per-hour prices

RunPod

Secure cloud and community GPUs with on-demand and spot availability

Ready to code with AI agents?

Connect a GPU host and open a real browser terminal in minutes.

Sign-up