Skip to content
Karti
Work

Project · 2026 · Agent-native CRM for GPU capacity

PIG

A CRM for companies that buy GPU capacity and sell it, where margin, utilisation, idle inventory, research burn and break-even pricing all derive from one ledger.

Role
Built the domain ledger, the supply and demand pipelines, the agent task queues and the RL environments.
Stack
TypeScript · PostgreSQL · Python
Status
Private, no public link
SUPPLYCommitmentsDEMANDAllocationsONE LEDGER · 47 TABLESTypeScript · PostgreSQLDERIVEDMargin · utilisation · idle inventoryResearch burn · break-even pricingAGENTSTask queuesRL ENVS · 2Rollouts
FIG. 01: One ledger, everything derived from it

table TypeScript / PostgreSQL ledger

47

guess–answer pairs checked for engine parity in CI

21.2M

playable RL environments with recorded rollouts

2

01 · What it is

PIG joins capacity commitments to demand allocations in one ledger. Margin, utilisation, idle inventory, internal research burn and break-even pricing are derived from that same source of truth.

02 · How it works

  1. 01

    One ledger

    47-table TypeScript / PostgreSQL ledger joining capacity commitments to demand allocations.

  2. 02

    Pipelines on top of it

    Supply and demand pipelines, capacity matching, contract and SLA obligations, and export-control decisions recorded on the allocation edge.

  3. 03

    Agent-native

    Agents work from evidence-bound facts and task queues, built into the CRM rather than bolted on.

  4. 04

    RL environments

    Two playable RL environments with real recorded rollouts, editable reward weights, blind comparisons and browser-side re-scoring. CI proves the Python and TypeScript engines agree across all 21.2M guess–answer pairs.

ENGINEPythonENGINETypeScriptAGREEIN CI21.2MGUESS–ANSWER PAIRS
FIG. 02: Engine parity, proved in CI

03 · Stack and links

  • TypeScript
  • PostgreSQL
  • RL environments
  • Agents