I build the infrastructure AI agents run on, and the production systems under it.

5,069
commits · 2026
12.2k
npm installs · month
Step inside ↓

Exit

pi-smart-compact

TypeScript · npm package

stars
40
installs · month
12.2k
release
v10.9.0
(year)
2026

Context management for Pi Coding Agent. It archives noisy tool output, replaces a long history with a verified summary, and adds checkpoints, anchors and project memory.

Compaction runs in four stages: extract, explore, synthesize, verify. The verification gate rejects unsupported facts; the summary passes human review before it is applied.

It triggers itself once context is 80% full and the agent is idle. Memory can live in three backends: local graph, Mnemopi, Hindsight; there is no silent fallback.

150 test files, deterministic release gates. Installed thousands of times a month. Open source, MIT.

agent-mesh

Go · one binary · Homebrew

release
v0.7.0
(year)
2026

The local network where coding agents message each other: one Go binary (agm), a broker over a Unix socket, an NDJSON protocol.

Every message sent is queued and written to disk, so pending mail survives a broker restart. Keyed retries keep the same message from arriving twice.

It installs adapters for ten harnesses; list, task, role and track commands ship in the same binary. No hosted service; everything stays on the local machine.

68 Go files, 43 test files, 279 test functions; standard library only. Open source, MIT.

Wing

TypeScript · multi-agent orchestration

The drawing scrolls sideways →

commits · mine / all
286 / 379
TypeScript files
1,016
(year)
2026

It commands agent fleets over Telegram, Slack, WhatsApp, the console and REST/SSE. Every tool call passes a guardrail before it runs: file path, DSN, shell, rule.

Risky calls wait for approval: low, medium, high, critical. Code execution runs in a sandbox: 10 runs per minute, 64 KB of output.

Built on the Pi agent runtime. 1,016 TypeScript files, 338 test files, 37 route groups, OpenAPI 3.1.

286 of 379 commits on the default branch are mine. Private work; company withheld.

pg-generator

Go CLI · PostgreSQL schema to code

The drawing scrolls sideways →

target languages
4
commits · mine / all
85 / 107
(year)
2026

Reads a PostgreSQL schema: enums, composite types, functions, procedures. Four commands: detect, init, config, generate.

The generated code is deterministic: the same schema gives the same code on every machine. The writer changes only the files in its manifest, in order and atomically, and keeps each file's SHA-256.

I did the port to Go (2026). Today it generates four languages: C#, Go, Rust, TypeScript. It ships as one binary.

46 test files, 13 architecture decision records. 85 of 107 commits on the default branch, across two repos, are mine. Private work; company withheld.

Multi-tenant platform

.NET · C#

The drawing scrolls sideways →

commits · 2026 · all private work
5,069
private product repos
34
per team
2–10

One site per tenant. Settings, localization, layouts, message templates, legal texts and catalogue editors are managed from one place, and so is the life of an account.

My part is that console side: what a tenant or an operator sees and changes, each piece built with its tests.

Company and customer names are withheld, and so is how the platform is put together.

One console for every product

React · TypeScript

The drawing scrolls sideways →

commits · mine / all
947 / 1,258
test files
242
(year)
2026

One back office in place of five. Every product used to have a panel of its own; now one application, one identity and one set of permissions run them all, and a screen in one product behaves like the same screen in another.

Screens follow one pattern across the products, so a product's back office is added quickly and nothing is built twice. I built it in four weeks, with tests, in English, German and Turkish.

947 of 1,258 commits are mine; 31 October–27 November 2026; 242 test files. Private work; the company is withheld, and so is how it is put together.

One site per theme, one core

Nuxt · Vue 3 · React

The drawing scrolls sideways →

commits · mine / all
2,458 / 3,629
(year)
2026

A core written once and a thin site for each theme. Each theme deploys on its own and carries its own brand's look, so a new brand means a small app, not a new site.

It ships with an embedded live widget, a light and dark appearance switch, a consent dialog and the account pages, in eleven languages.

2,458 of 3,629 commits are mine; September–November 2026. Private work; the company is withheld, and so is the structure underneath.

One contract, three frameworks

TypeScript · React · Vue · Svelte

The drawing scrolls sideways →

commits · all mine
1,514
design languages × frameworks
9 × 3
(year)
2026

A design system whose components share one contract and one theme model, and are written natively in React, Vue and Svelte. A button, a table or a form behaves the same in all three, because it is the same design built three times, not one component wrapped three ways.

Nine design languages run on it. That they stay identical is left to automated tests, not to review, and every theme has to pass measured contrast and accessibility checks before it ships.

1,514 commits on all branches as of November 2026; all mine. Private work: this sheet shows what the system is for, not how it is built.

Brand-to-palette engine

TypeScript · design-token engine

The drawing scrolls sideways →

commits · mine / all
113 / 165
(year)
2026

A few brand colours in, a complete theme out: every colour a product needs, with its contrast measured rather than judged by eye. One label went from 1.73:1 to 5.23:1 that way.

A theme that was saved stays valid as the system grows. Publishing a theme needs no deploy.

113 of 165 commits on the default branch are mine; September–November 2026. Private work; the company is withheld, and so is how the engine works inside.

Autonomous news editor

Astro · SQLite · TypeScript

The drawing scrolls sideways →

commits · mine / all
165 / 201
(year)
2026

An Astro SSR site backed by a live SQLite database: an autonomous editor (built on Pi) periodically researches AI, science and technology stories, generates multilingual text and media, and writes the database; the site reads it at request time.

My work is the production and publishing pipeline: the daily recap, video triggered by high-impact stories, the timeline quantised to frames, VTT sidecar subtitles, podcast RSS and og:video; S3 upload and publish, a spend cap, model key failover.

Source discovery (GitHub trending, dev.to), a Telegram notification channel, a PWA, Cmd+K, a global audio player, an AA contrast pass and design tokens.

165 of 201 commits on the default branch are mine; July–September 2026. The code is private; the site is live.

Load balancer

Rust · Pingora · Consul

The drawing scrolls sideways →

commits · mine / all
93 / 150
Rust files
58
(year)
2026

Fabio-style dynamic routing on a modern Rust data plane: it watches Consul or a static route file and hot-reloads an in-memory route table.

The hot path takes no lock: each request looks its route up in an immutable snapshot swapped with ArcSwap. It carries HTTP, gRPC, WebSocket and TCP.

Health check and circuit breaker: 15 s, a 50% threshold, 30 s. Three pickers: round-robin, random, least connections. 27 routes on the admin API.

93 of 150 commits on the default branch are mine; 58 Rust files, 297 test functions, 4 end-to-end test files. Open source, MIT.

A network that listens for genre

CNN · graduation project

The drawing scrolls sideways →

accuracy · own test set
89–91%
samples
10,000+
(year)
2022

Graduation project. A convolutional neural network trained on a dataset built from the first 3 seconds and 30-second slices of songs.

89–91% accuracy on my own test set. It was put forward for publication with TÜBİTAK.

The code is lost; the figures are the project's own measurements.

Neural networks, from scratch

C# · personal work

The drawing scrolls sideways →

(year)
2021

A neural network written without a library: forward pass, error, backpropagation. 8 inputs, 10 hidden neurons, 1 output; sigmoid.

Data is read, columns are scaled to 0–1, and 70% is split for training and 30% for testing. The loop runs for a hundred epochs or until mean absolute error reaches 3%; learning rate 0.01, momentum 0.02.

Ten C# files. 2021.

pg_ask

Rust · PostgreSQL extension

The drawing scrolls sideways →

commits · mine / all
32 / 82
(year)
2026

An extension written with pgrx: you ask with SELECT ask.ask('…'). The agent reads the schema, plans SQL, runs it in the same transaction and composes the answer; at most 24 turns.

Each tool runs in its own subtransaction with a timeout and read-only set. The SQL guard uses a real parser: read-only verbs, a single statement, banned functions are rejected.

29 functions, 6 tools; the background worker drains its queue with SKIP LOCKED and rolls back abandoned work.

32 of 82 commits are mine. Open source.

B2B order portal

.NET · PostgreSQL

The drawing scrolls sideways →

A partner orders from the catalogue; the order flow stays in the portal end to end.

.NET and PostgreSQL.

Customer name withheld.

SLA and KPI analytics

.NET · Neo4j · chat interface

The drawing scrolls sideways →

(year)
2022

KPIs, categories, questions and time periods are modelled as a graph (Neo4j); the user asks through a chat interface.

The remaining code: a read-only API, 7 GETs. Graph chain KPI → category → subcategory → time period → period detail; question and severity nodes hang off the KPI.

Two backends: the SLA core and the identity service above.

2022. Company name withheld.

Data and databases

PostgreSQL · SQL Server · Redis

The drawing scrolls sideways →

Raw-SQL migration discipline; schema evolution across hundreds of migrations.

Indexing and query tuning.

Redis for cache and the SignalR backplane.

Platform and GitOps

Kubernetes · Argo CD · Kustomize · SOPS

The drawing scrolls sideways →

GitOps on Kubernetes with Argo CD and Kustomize.

Secrets under SOPS/age; self-hosted git and CI.

Docker at every layer.

Identity and authorization service

.NET · FastEndpoints · EF Core · PostgreSQL

The drawing scrolls sideways →

C# files
228
projects
13
layers
5
(year)
2022

An identity server written from scratch for one company: org chart and employee management, LDAP integration, user management, JWT and refresh tokens.

The surviving copy is the service's cleaned template: 7 endpoints on FastEndpoints, CQRS, EF Core code first (3 migrations), AutoMapper, FluentValidation, scheduled jobs with Quartz, a Redis cache.

Access token 24 hours, refresh token 48 hours. Soft delete: deleted accounts are filtered out in queries.

Written in 2022. The surviving copy has 228 C# files, 13 projects, 5 layers. Company name withheld.

From document to test plan

Web application · AI test design

The drawing scrolls sideways →

Reads the given documents and builds the hierarchy: epic, feature, user story, acceptance criteria.

Continues down the same chain into test suites, test plans and test steps.

I worked on it for a long stretch. The source is not mine to show; product name withheld.

Catalogue

What hangs on the wall and what stays in storage. Open-source figures were read from GitHub and npm at build time; private shares are commits I authored on the default branch of local clones, and pull requests are not counted.

Blue dot: in production or in use

I Agent infrastructure 4 works

  1. 1

    TypeScript · npm package · on the wall · 2026

    stars
    40
    installs · month
    12.2k
    release
    v10.9.0

    Context management for AI coding agents: recoverable cleanup, verified compaction, session navigation and project memory.

  2. 2

    Go · one binary · Homebrew · on the wall · 2026

    release
    v0.7.0

    The local network where coding agents message each other: ten harnesses, one Go binary, a Unix socket.

    Source ↗
  3. 3

    TypeScript · multi-agent orchestration · on the wall · 2026

    commits · mine / all
    286 / 379
    TypeScript files
    1,016

    A security-first orchestration layer that commands squadrons of agents and inspects every tool call before it runs.

  4. 4

    Go CLI · PostgreSQL schema to code · on the wall · 2026

    target languages
    4
    commits · mine / all
    85 / 107

    Reads PostgreSQL enums, composite types, functions and procedures and generates deterministic code for C#, Go, Rust and TypeScript.

II Production systems 7 works

  1. 5

    .NET · C# · on the wall

    commits · 2026 · all private work
    5,069
    private product repos
    34
    per team
    2–10

    One site per tenant: settings, localization, catalogues and account lifecycle, all managed from one place.

  2. 6

    React · TypeScript · on the wall · 2026

    commits · mine / all
    947 / 1,258
    test files
    242

    One back office in place of five: one identity, one interface, and the same way of working in every product.

  3. 7

    Nuxt · Vue 3 · React · on the wall · 2026

    commits · mine / all
    2,458 / 3,629

    A core written once and thin theme apps; each theme deploys on its own. An embedded live widget, appearance switch and consent dialog.

  4. 8

    TypeScript · React · Vue · Svelte · on the wall · 2026

    commits · all mine
    1,514
    design languages × frameworks
    9 × 3

    A design system whose components share one contract, one theme model and one set of behaviours, written natively in three frameworks.

  5. 9

    TypeScript · design-token engine · on the wall · 2026

    commits · mine / all
    113 / 165

    A complete theme from a few brand colours, with its contrast measured. Publishing a theme needs no deploy.

  6. 10

    Astro · SQLite · TypeScript · on the wall · 2026

    commits · mine / all
    165 / 201

    Researches AI, science and technology news on its own; produces and publishes multilingual text, images, speech and video. The Astro SSR site reads a live SQLite database.

  7. 11

    Rust · Pingora · Consul · on the wall · 2026

    commits · mine / all
    93 / 150
    Rust files
    58

    A load balancer on Cloudflare's Pingora whose hot path takes no lock, thanks to a lock-free route table.

    Source ↗

III Early work 2 works

  1. 12

    CNN · graduation project · on the wall · 2022

    accuracy · own test set
    89–91%
    samples
    10,000+

    Give it a song and it names the genre: a convolutional network trained on more than 10,000 samples cut into 3- and 30-second slices.

  2. 13

    C# · personal work · on the wall · 2021

    A neural network written by hand, without a library: forward pass and backpropagation.

In storage 7 works

  1. 14

    Rust · PostgreSQL extension · in storage · 2026

    commits · mine / all
    32 / 82

    Ask your PostgreSQL database in natural language: an agent that reads the schema, plans SQL and answers from inside the database.

    Source ↗
  2. 15

    .NET · PostgreSQL · in storage

    A closed portal where partners order from a catalogue and complete the flow inside the portal.

  3. 16

    .NET · Neo4j · chat interface · in storage · 2022

    A product that answers SLA and KPI questions over chat; KPIs are modelled as a graph and the analysis is supported by machine learning.

  4. 17

    PostgreSQL · SQL Server · Redis · in storage

    Schema evolution across hundreds of migrations; indexing, query tuning, Redis cache and the SignalR backplane.

  5. 18

    Kubernetes · Argo CD · Kustomize · SOPS · in storage

    GitOps deployment, self-hosted git and CI, secrets under SOPS/age.

  6. 19

    .NET · FastEndpoints · EF Core · PostgreSQL · in storage · 2022

    C# files
    228
    projects
    13
    layers
    5

    From the org chart to the user, from LDAP to access: an identity server written from scratch for one company.

  7. 20

    Web application · AI test design · in storage

    Turns given documents into epics, features and user stories with acceptance criteria, then test suites, test plans and test steps.

My desk

The two machines the work runs on, as they are: a ThinkPad on CachyOS and a Mac. The shell tools and the agents are the same; one private repository installs the setup on both.

niri lays windows in columns you scroll sideways, with no title bars; column widths are ⅓, ½ and ⅔. Gap 16, corner radius 20. The Noctalia bar sits on top.
Machine
ThinkPad X1 Carbon Gen 14 · Core Ultra 7 · 31 GB; and a Mac
System
CachyOS (Arch-based) · Linux 7.3 · Wayland; macOS
Desktop
niri 26.04 · Noctalia shell
Shell
fish (Linux) · zsh (macOS) · starship · Ghostty
Editor
Gram (Linux) · Neovim (macOS)
Runtimes
through mise: Go, Rust, Node, Bun, Python, .NET
Containers
rootless nerdctl (Linux) · OrbStack (macOS)
Agents
pi · omp · agent-mesh · herdr
Secrets
encrypted with age + sops; decrypted as the shell starts

The numbers were measured on the ThinkPad in November 2026.

Contact

Leave a line about collaboration, contract work or open source. I usually reply within 24 hours.

Write an email

alper@alpertarhan.dev