Eleven open reference designs for Pakistani industry. Explore the ontologies →

Pakistan Stack

Transforming the state owned enterprises and government institutions of Pakistan.

Our ambitious goal is to save $2 billion in automated decision making.

Sovereign models. Deployed inside your walls.

Hover the graph · every point is an ontology object

Scroll to explore↓

Why we are building Pakistan Stack.

Muhammad Umar · Cofounder, Pakistan Stack

Meet Aineko

Describe your operation. Aineko builds the ontology.

Aineko is the coding agent inside Hyper Ontology. Tell it how your business works and it writes the objects, the lifecycles and the working application, while your engineers review every step.

Hyper Ontology · Mining Safety

Maintenance Work Order

Also known as Repair Ticket Service Order · Domain: Operations and Maintenance

workOrderNumberSingle linelabel
faultDescriptionText
orderStatusChoicegoverned
priorityLevelChoice
affectedHaulTruckLink→ Haul Truck
affectedShovelLoaderLink→ Shovel Loader
faultyCameraLink→ Fixed Camera

Lifecycle of a Maintenance Work Order

The server enforces every move. Nothing else is allowed.

unassignedAssignassignedStart Workin_progressCompletecompleted
in_progressWait for Partswaiting_on_partsStart Workin_progress
any open stateCancelcancelled

Agents read the ontology before they act

What exists · what it means · what may be called

CallStart work on the work order
RefusedCannot 'Start Work': orderStatus is 'unassigned', allowed from: assigned, waiting_on_parts
CallAssign the work order
Doneunassigned → assigned
CallStart work on the work order
Doneassigned → in_progress

Ontology as Code

Versioned, reviewed and run like everything else your engineers own

src/
  models/        every object
  modules/       an API per object
  kinetics/      lifecycle rules
  validation/    every request
  mcp/           gateway for agents
  migrations/
  seeders/
// kinetics/maintenanceWorkOrder.ts
if (order.orderStatus !== 'unassigned') {
  throw badRequest(
    `Cannot 'Assign': orderStatus is
     '${order.orderStatus}'`,
    'KINETICS_INVALID_TRANSITION');
}
return order.update(
  { orderStatus: 'assigned' });

Illustrative session · a mining safety ontology built on Hyper Ontology

The idea

What databases are to humans, ontologies are to agents.

A database stores rows for people who already know what they mean. An ontology holds the meaning itself: the things your business runs on, how they connect and what may be done to them. Give an agent a database and it guesses. Give it an ontology and it resolves.

11reference designs for Pakistan
6industries modelled
154ontology objects published
11papers, each with a DOI

Open research by CodeNinja Atoms. Open papers, open object models, open data.

For enterprise engineering teams

The foundation for your ontology factory.

Model, build, review and ship the software your operation runs on, with coding agents that work from your ontology.

01 Control

Sovereign, open weight intelligence

Control where the system runs, how it learns and which models it uses. Nothing leaves your perimeter.

02 Governance

Trusted, governed change

Every action routes to a rule, a model or a person. Every change to the model is reviewed before it reaches the business.

03 Value

Software you own outright

What your team builds stays an asset on your books: the ontology, the applications and the memory.

§01 The platform

One agent, one ontology, and everything built on it.

Each part has its own page. Start with Aineko to watch an ontology being built.

What changes · State owned enterprises and government institutions

Autonomy for every institution. Bureaucracy out of every decision.

One governed picture of the operation. Agents decide what the rules already cover. People decide the rest.

Autonomy

Institutions that run themselves

Your own teams model the operation and own the ontology. No dependence on software you cannot read or change.

Less bureaucracy

Rules in place of approval chains

Approvals, lifecycles and permissions become kinetics. Routine cases close on the rule. Only real exceptions reach a person.

Automated decisions

Millions of dollars, decided on the record

Procurement, billing, maintenance and losses decided by governed rules and agents, each traceable to the rule, the data and the person accountable.

§02 Point of view

Enterprise software is not a coding problem. It is a meaning problem.

Agents can already write code faster than any team. What they cannot know is what an order, a meter or a work permit means inside your company. That knowledge is the real asset, and today it lives in vendor schemas and in people's heads.

01

Code is no longer the bottleneck. Meaning is.

The teams that win will be the ones whose agents understand the business they are building for.

02

Agents without an ontology produce more software, not better operations.

Speed pointed at the wrong model only gets you to the wrong system sooner.

03

The model of your business belongs on your balance sheet.

It should be an asset your engineers own and improve, never a license you renew.

§03 Build, never rent

The software you buy was modelled on someone else's business.

An imported platform arrives with its own idea of an order, a customer and a shift. You pay to bend your company to fit it, then pay again every year to keep it. With coding agents, building your own model is now the cheaper path.

Buying a platformPakistan Stack
ModelThe vendor's objectsYour objects, your words
OwnershipA license you renewOntology as Code, in your repository
TalentTheir consultants fly inYour engineers, with agents
DataLeaves your perimeterNever leaves your walls
ModelsA rented endpoint abroadOpen weights on your hardware
ChangeWait for their roadmapShip it this week

§04 · Ontologies by industry

An ontology for every industry that runs Pakistan.

Each one starts from a reference design built for a Pakistani operation and published in the open: what to sense, where each model runs, what the object model holds and who approves every action.

Start here

Bring one operation and one team. Ship your first ontology.

Start with a guided trial on your own data, inside your own walls.