tpt-boxcar

Rust

TPT Boxcar — a monorepo of five open-source tools for the full app lifecycle: local sandbox (OCI + Wasm), state/connection proxy, eBPF observability, automated image distiller with LLM analysis, and a Wasm-native edge service mesh & API gateway.

0 stars0 forks0 watchersApache License 2.0
api-gatewaycontainerddevopsebpfobservabilityrustlangservice-meshwasmwasmtimewebassembly

Languages

Rust67.0%Go25.2%TypeScript7.5%Shell0.2%CSS0.1%HTML0.1%
README

TPT Boxcar

License

An open-source, unified cloud-native tooling suite — from local development to the edge.

Overview

TPT Boxcar provides five integrated products that cover the full application lifecycle:

ProductDescriptionStack
TPT OriginUnified local sandbox — OCI containers + Wasm side by sideRust, containerd, Wasmtime, eBPF, Tauri
TPT TetherState & connection proxy for Wasm workloadsRust (Tokio), WIT, Go control plane
TPT ScopeHybrid eBPF observability — zero-code distributed tracingRust/Go eBPF, OTel, ClickHouse, React
TPT ChiselAutomated image distiller & Wasm migratorRust, AI/LLM analysis (Ollama, Claude, OpenAI)
TPT FrontierWasm-native edge service mesh & API gatewayRust (Hyper, Tokio), Wasmtime, Go xDS

Quick Start

git clone https://github.com/tpt-solutions/tpt-boxcar.git && cd tpt-boxcar
cargo build --workspace   # Origin, Chisel, Tether/Frontier data-plane libs
go build ./...            # Tether, Scope, Frontier control planes

That builds everything, but doesn't run anything yet. Pick a product below and follow its 5-minute quickstart — each is independently runnable:

ProductTry it in 5 minutesWhat it demos
Origincargo build -p tpt-origin && tpt origin init --dir demo && cd demo && tpt origin upSpin up a local sandbox mixing OCI containers and Wasm modules from one manifest
Chiselcargo build -p tpt-chisel && chisel analyze <image-dir> && chisel distill <image-dir> --dockerfileDistill a container image into a minimal, Wasm-migration-aware image with SBOM + CVE scan; chisel migrate/chisel audit add LLM-generated migration/security plans
Frontiergo run ./frontier/control-plane then curl in a route/upstream from frontier/examples/getting-started/Configure an edge gateway route through REST/gRPC
Tethergo run ./tether/control-plane then curl in a backend/route from tether/examples/Register a DB backend + route for the Wasm-facing connection proxy
Scopego run ./scope/backend/cmd/ingest + cmd/backend, then send an OTLP traceQuery traces/metrics/logs ingested from a running service

We deliberately don't ship a Docker/docker-compose quickstart — Origin's whole point is replacing container tooling with containerd + Wasmtime directly, so bootstrapping the demo through Docker would undercut the pitch. Instead, examples/demo-stack/manifest.yaml brings up Scope's ingest/query API and Frontier's control plane together as real child processes through Origin itself:

cargo build -p tpt-origin
# requires a ClickHouse server at 127.0.0.1:9000 — Origin's OCI runtime doesn't spawn one yet (see origin/README.md)
./target/debug/tpt origin up --manifest examples/demo-stack/manifest.yaml

This works today because Origin's type: process service kind spawns and tears down real OS processes (unlike type: oci/type: wasm, which are still bookkeeping-only pending containerd/Wasmtime integration).

AI agent integration (MCP)

mcp-server/ exposes all five products as MCP tools over stdio, so an AI agent (Claude Code, Claude Desktop, etc.) can drive them directly — start a sandbox, distill an image, configure a gateway route, query traces — instead of a human running curl/CLI commands by hand.

cd mcp-server && go build -o mcp-server .

Then point your MCP client's config at the built binary. See mcp-server/README.md for the full tool list and configuration options.

Products

ProductDescriptionDocs
OriginUnified local sandbox — OCI containers + Wasm side by sideorigin/README.md
TetherState & connection proxy for Wasm workloadstether/README.md
ScopeHybrid eBPF observability — zero-code distributed tracingscope/README.md
ChiselAutomated image distiller & Wasm migratorchisel/README.md
FrontierWasm-native edge service mesh & API gatewayfrontier/README.md

Monorepo Structure

tpt-boxcar/
├── origin/          # TPT Origin — local development sandbox
│   ├── core/        #   Rust core engine
│   ├── cli/         #   CLI binary
│   └── gui/         #   Tauri desktop GUI
├── tether/          # TPT Tether — state & connection proxy
│   ├── proxy/       #   Rust data plane (Tokio)
│   └── control-plane/ # Go control plane
├── scope/           # TPT Scope — observability
│   ├── agent/       #   Rust eBPF collection agent
│   ├── backend/     #   Go query API + ClickHouse
│   └── dashboard/   #   React + TypeScript frontend
├── chisel/          # TPT Chisel — image distiller & Wasm migrator
│   ├── core/        #   Rust core engine (analysis, distillation, AI orchestration)
│   └── cli/         #   CLI binary
├── frontier/        # TPT Frontier — edge service mesh
│   ├── proxy/       #   Rust data plane
│   └── plugin-sdk/  #   Plugin SDK crate
├── mcp-server/      # MCP server exposing all 5 products as AI agent tools
├── examples/        # Cross-product examples (e.g. demo-stack/ for Origin-driven demos)
└── docs/            # Documentation site (Docusaurus)

License

Apache 2.0 — see LICENSE.