GitHub - telophasehq/tangent: High-performance, DSL-free stream processing

2 min read Original article ↗

Tangent logo

Tangent

Stream processing without DSLs. Shareable, sandboxed, fast.

Build status X

Documentation   •   Discord   •   Issues

What is Tangent?

Tangent is a stream‑processing toolkit that treats plugins (user‑defined functions) as first‑class citizens – exceptionally easy to write and share. Perfect for vibe-coding those pesky log transformations.

Plugins run in a lightweight WASM sandbox with near-native speed and full language flexibility — no DSLs, no vendor-locked runtimes. Plugins are designed to be shareable, so common transformations (e.g. GuardDuty findings → OCSF) can be written once and shared with the community.

Tangent ships with everything you need to develop, test, and benchmark your own transforms:

  • tangent plugin scaffold – generate plugin boilerplate
  • tangent plugin compile – compile plugins to WASM
  • tangent plugin test – run plugin tests
  • tangent bench – measure throughput and latency before deploying
  • tangent run – start the Tangent runtime

Why use Tangent?

  1. Use real languages, not DSLs – Real code > DSL. Reviewable, testable, LLM‑friendly.

  2. Catch breakage before prodtangent plugin test for correctness; tangent bench for throughput/latency.

  3. Shareable and secure – Data transformations are easy to write and share. Publish and discover open-source plugins in the Tangent Plugins library. Each plugin runs in its own lightweight sandbox.

Benchmarks

Benchmarks show end-to-end throughput with simple log transformation plugins implemented in Rust, Go, and Python. Each plugin is compiled to WASM and run inside Tangent.

Source → Sink Rust Go Python
tcp → blackhole 483.35 MB/s 399.54 MB/s 76.91 MB/s

Benchmarks are run nightly on a dedicated 16-core AMD runner. See nightly benchmarks.

Install

# Homebrew
brew tap telophasehq/telophase
brew install tangent-cli
tangent --version

# with install script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/telophasehq/tangent/releases/latest/download/tangent-cli-installer.sh | sh
tangent --version

# cargo
cargo install --git https://github.com/telophasehq/tangent tangent-cli

# docker
docker pull ghcr.io/telophasehq/tangent-toolchain
docker run --rm --init ghcr.io/telophasehq/tangent-toolchain <command>

Quick links

License

Apache-2.0. See LICENSE.