Independent by design.Open source / Apache-2.0
hello, world.rs

A gateway you can read,
change, and call your own.

Your traffic.
Your gateway.

An open-source API gateway for teams
who want to understand and own their traffic.

Meet Relay
request → responseRelay / data plane
ClientYour request
RelayRust + Pingora
Your appYour infrastructure
Route. Extend. Inspect.No black box.

A request has a story.
Your gateway should tell it.

At Nexarq, we build AI products and help teams run applications across Cloudflare, hyperscale clouds, and SaaS services such as OpenAI and PlanetScale. A request can cross several systems, while the explanation for what happened is scattered across all of them.

Routing is one part of the job. Understanding why a request failed, what changed, and where to look next is the part that keeps engineers busy.

What if the gateway helped you understand the traffic it handled?

That question became Relay: routing, custom request logic, configuration, and traffic inspection in one place. A gateway you can run on your own infrastructure.

A little Rust.
A real proxy.

Accept an HTTP request on port 8080. Forward it to your local app on port 3000. Let Pingora handle the exchange.

This is a minimal standalone example, showing the foundation Relay builds on.

Download the example

Native Rust process.
The website itself runs on Workers.

main.rsRust / Pingora 0.9
use async_trait::async_trait;use pingora::prelude::*;use pingora::proxy::{http_proxy_service, ProxyHttp, Session};struct Gateway;#[async_trait]impl ProxyHttp for Gateway {    type CTX = ();    fn new_ctx(&self) -> Self::CTX {}    async fn upstream_peer(        &self,        _session: &mut Session,        _ctx: &mut Self::CTX,    ) -> Result<Box<HttpPeer>> {        // Forward the request to your local app.        let app = ("127.0.0.1", 3000);        Ok(Box::new(HttpPeer::new(app, false, String::new())))    }}fn main() {    let mut server = Server::new(None).unwrap();    server.bootstrap();    let mut proxy = http_proxy_service(        &server.configuration, Gateway,    );    proxy.add_tcp("127.0.0.1:8080");    server.add_service(proxy);    server.run_forever();}
localhost:8080 → localhost:3000HTTP

Rust at the core.
Room for your logic.

Pingora / Rust

Memory safety and control over resources, without a garbage collector in the proxy process. Trusted Rust filters run inside the gateway. Change them by rebuilding and deploying it.

workerd / JavaScript

Add custom behavior without rebuilding the proxy. Plugins use familiar Request, Response, and Web Crypto APIs in a separate process, with explicit permissions. Only enabled routes invoke them; the native path stays independent.

A complete product

A Cloudflare Workers control plane and a React console bring configuration and traffic inspection together.

On your path.
On your terms.

A gateway sits on the path to your application. You should be able to read its code, understand its decisions, change its behavior, and keep running it on your terms.

Relay's complete product, including the control plane and console, is open source under Apache-2.0. Core self-hosted operation needs no Nexarq account or AI provider key. Read the license and scope.

What's in it for Nexarq?

We're an AI company and a Cloudflare and Azure services partner. Relay is software we want to build on, use in our work, and help customers operate.

Our business is hosting, implementation, managed operations, and support. Teams running Relay themselves should have a complete product they can own and extend.

Early. Open. Evolving.

Build with us.

Bring your workload, your awkward edge cases,
and your ideas for what a gateway should be.

No cookies. No trackers. No hidden JavaScript.

This site is just HTML and CSS. We don't set cookies, run analytics, load third-party assets, or collect information through forms. No client-side JavaScript, local storage, or tracking pixels.

Worker request logs and traces are disabled. Cloudflare processes network requests to deliver and protect the site; its infrastructure may process connection metadata.