NewOpenTier v0.1.0-beta is now available

Intelligent Knowledge

Built for Action

OpenTier turns organizational knowledge into real-time, actionable intelligence. It's secure by design, fast by default, and built to scale with your business.

OPENTIER SYSTEM
How does OpenTier scale?

SYSTEM OUTPUT · SIMULATION MODE

Scalable Intelligence

OpenTier combines the performance of Rust with the intelligence of Python,
creating a production-ready platform that scales with your needs.

Client
Rust Gateway
gRPC
Python Engine
PostgreSQL

Control Layer

Rust handles authentication, rate limiting, streaming, and all public-facing APIs with blazing-fast performance and memory safety.

gRPC Bridge

Strongly-typed contracts ensure clean separation and enable independent evolution of both layers without breaking changes.

Cognition Layer

Python powers all intelligence: RAG, embeddings, chat orchestration, and ML inference, isolated from public traffic.

Rust-Powered Gateway

Lightning-fast API gateway built with Rust for maximum performance, security, and reliability.

Intelligent RAG System

Advanced retrieval-augmented generation with pgvector for semantic search and context-aware responses.

Real-Time Streaming

Server-sent events and gRPC streaming for instant, responsive chat experiences.

Enterprise Security

OAuth 2.0, session management, rate limiting, and role-based access control built-in.

Layered Architecture

Clean separation between control (Rust) and cognition (Python) for predictable scaling.

Vector Database

PostgreSQL with pgvector extension for efficient embedding storage and similarity search.

Smart Ingestion

Automated data pipelines for cleaning, normalizing, and embedding your knowledge base.

Production Ready

Built-in observability, metrics, tracing, and backpressure handling for reliable operations.

Powered By Modern Technologies

Tokio
SQLAlchemy
Tokio
SQLAlchemy
Tokio
SQLAlchemy
Tokio
SQLAlchemy

Up and running in 3 steps

Rust gateway, Python intelligence engine, and Postgres —> runs locally via Docker Compose.

01

Clone & Configure

Grab the repo and configure your environment — DB credentials, LLM API keys, and OAuth secrets.

git clone https://github.com/Celestial-0/OpenTier
cd OpenTier/server
cp .env.example .env
02

Run the Stack

One command spins up PostgreSQL, runs migrations, then starts the Rust gateway and Python intelligence engine.

docker compose up

# PostgreSQL + pgvec  → :5432
# Migrations          → auto
# Python intelligence → :50051
# Rust API gateway    → :4000
03

Query the API

Hit the local Rust gateway directly from any HTTP client once the stack is live.

curl http://localhost:4000/v1/chat \
  -H "Authorization: Bearer <token>" \
  -d '{"message": "Summarize the docs"}'

Ready to deploy?

Read the full self-hosting guide or browse the source on GitHub.

Common Questions

Everything you need to know about integrating and deploying OpenTier.

Get in touch

We'd love to hear from you

Have a question, feedback, or partnership inquiry?
Drop us a message and our team will get back to you.

Get in touch

Send us a message

Have a question, enterprise inquiry, or just want to say hi? We typically respond within 24 hours.

Enterprise & Partnerships

Custom deployments, SLAs, and dedicated support.

Open Source Contributions

PRs, issues, and RFC discussions welcome on GitHub.

Technical Questions

Integration help, architecture reviews, and debugging.