Skip to content

pnxt — Agent-Native Programming

A net-new programming paradigm built exclusively for LLMs and AI agents. Moving beyond human-readable syntax toward structured, verifiable, graph-based program representations.

Why a New Paradigm?

Traditional programming languages are optimized for human cognition — visual hierarchy, short-term memory, lexical parsing. LLMs excel at structural data manipulation (JSON/graphs) but struggle with implicit control flow and loop-state tracking.

pnxt designs an execution environment where LLMs orchestrate logic graphs rather than generate syntax. In the Agent-Native Programming (ANP) paradigm, AI agents are first-class entities with identity, memory, state, and tools — not just coding assistants bolted onto existing workflows.


The Three Pillars

Agent-Computer Interface

Structured protocols for agent-to-system communication with versioned capabilities, clear error handling, and recovery patterns. Agents negotiate what they can do, not just what they’re told.

Semantic Memory

Persistent, evolving memory — working, semantic, and episodic — that makes agents more valuable in their hundredth session than their first. Memory is the foundation of coherent agency.

Natural Language

Natural language as the primary interface for task specification, progress reporting, and collaboration. Human partnership, not replacement.


Theoretical Foundations

HoTT Typed Tokenization

Code as categorical objects, morphisms, and paths — built on Homotopy Type Theory for mathematical rigor.

VPIR

Verifiable Programmatic Intermediate Representation with mechanically verifiable reasoning chains.

Dataflow Process Networks

Actors communicating via FIFO channels, eliminating imperative loops in favor of declarative data flow.

LLMbda Calculus

Lambda calculus with Information Flow Control for noninterference guarantees.

SMT Solvers

Z3/CVC5 for constraint satisfaction and formal verification of agent behaviors.

Bridge Grammar

Constrained-decoding JSON schema forcing LLMs to output valid VPIR nodes.


Key Principles


Project Status

PhaseFocusStatus
Phase 1Core Architecture, State Separation & FFIComplete
Phase 2Bridge Layer & Mathematical SpecComplete
Phase 3Deep analysis of pillars, patterns, and architectureComplete
Phase 4Infrastructure prototype & empirical evaluationComplete
Phase 5Paradigm Foundation (DPN, VPIR, Bridge Grammar, HoTT, Z3)Complete
Phase 6Integration & Deepening (9 sprints — self-hosting, categorical tokenization)Complete
Phase 7Self-Hosting Paradigm (handler library, VPIR authoring, reliable bridge grammar)In Progress