Skip to content

RailProtocol/web-platform

Repository files navigation

RailProtocol Platform Frontend

The infrastructure platform for OpenClaw AI agents. Deploy faster. Run cheaper. Scale confidently.

RailProtocol is a developer-first infrastructure platform built for OpenClaw AI agents. It handles deployment, caching, orchestration, cost control, and observability — so teams can focus on building agent behavior rather than managing infrastructure.


Tech Stack

  • Framework: Next.js (App Router) + React 19
  • Language: TypeScript
  • Styling: Tailwind CSS v4
  • Components: shadcn/ui, Base UI, Lucide React
  • Build: Standalone Next.js output

Getting Started

Prerequisites

  • Node.js 18+
  • npm

Install dependencies

npm install

Configure environment

Copy the example below into a .env file at the project root:

NEXT_PUBLIC_API_URL="https://api.railprotocol.org"

Run the development server

npm run dev

Open http://localhost:3000 in your browser.


Scripts

Command Description
npm run dev Start the development server
npm run build Build for production
npm start Start the production server
npm run lint Run ESLint
npm run typecheck Run TypeScript type checking
npm run check Lint + typecheck + build

Project Structure

src/
├── app/                  # Next.js App Router pages
│   ├── page.tsx          # Landing page
│   ├── dashboard/        # Dashboard (authenticated)
│   ├── sign-up/          # Sign-up page
│   ├── log-in/           # Log-in page
│   └── layout.tsx        # Root layout
│
├── components/
│   ├── dashboard/        # Dashboard shell, sidebar, tabs
│   │   └── tabs/         # Overview, Agents, Logs, Cost, Settings
│   ├── ui/               # Base UI components (Button, etc.)
│   └── *.tsx             # Landing page sections
│
├── hooks/                # Custom React hooks
└── lib/
    └── utils.ts          # Shared utilities (cn)

Features

Landing Page

  • Hero section with key performance stats (90% cost reduction, 85% latency improvement)
  • Platform feature showcase: One-Command Deployment, Prompt Caching, Model Router, Multi-Agent Orchestration
  • Reliability section: Durable Execution, Observability
  • Developer experience section: SDK docs, CLI, config-as-code
  • Customer testimonials and CTA

Dashboard

  • Overview — Agent health, request volume, cache hit rate, monthly spend, recent runs
  • Agents — List, filter, and manage deployed agents; toggle status; deploy new agents
  • Cost — Spend tracking, per-agent and per-model breakdowns, invoice history
  • Logs — Agent log streaming and traces
  • Settings — Platform configuration

Auth

  • Sign-up with password strength validation
  • Log-in with error handling

About

Rail Protocol Web Platform

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors