Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tybritelabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Galactic Core

The Programmable Commerce Platform by Tybrite Labs Galactic Core is the programmable interface layer that transforms GalacticOS into a globally accessible Backend-as-a-Service (BaaS) for commerce. Rather than rebuilding commerce logic from scratch, Galactic Core re-exposes the operational depth of a production-grade retail system through clean, versioned REST APIs.

Why Galactic Core?

Instead of building commerce software, you are building on commerce infrastructure. This programmable foundation allows developers to leverage years of operational hardening through simple API calls:

Operational Depth

Inventory with reorder logic, automatic double-entry accounting, and order reconciliation.

Global Velocity

Edge-optimized delivery with 10-50ms response times and three-tier caching (Edge → Redis → DB).

Unified Logic

Centralized business rules—no data silos or duplicated logic across different sales channels.

Auditability

Every state change is tracked and traceable, providing a complete audit trail of commerce operations.

Platform Pillars

Our architecture is divided into five main functional pillars, accessible via our REST endpoints:

Core Commerce

High-performance products, collections, orders, and customer management.

Discovery

AI-powered semantic search and product recommendations using embeddings.

Checkout & Logistics

Multi-provider payments (Stripe, M-Pesa, etc.), shipping, and dynamic pricing.

Experience & Support

Customer authentication, gift cards, promotions, and headless messaging.

Performance & Reliability

Galactic Core is designed for high-scale, production-grade applications:
  • Ultra-Low Latency: Responses are served from the edge to ensure maximum performance globally.
  • Idempotency: All write operations (like order creation) support idempotency keys to prevent duplicates on retry.
  • Field Filtering: Most list endpoints support the fields parameter, allowing you to reduce payload size by up to 90%.

Authentication

All API requests require an API key in the Authorization header. We support two distinct key types for security:
  • Publishable Keys (pk_...): Safe for client-side use in websites and mobile apps. Limited to read-only operations.
  • Secret Keys (sk_...): For secure, backend-only environments. grants full read/write access.
Authorization: Bearer tybrite_sk_live_YOUR_KEY