Context
Bağlam
Unicity is a "machine economy" network: the thesis is that autonomous agents should be able to discover, hire and pay each other trustlessly, at machine speed. I built three products on top of its Sphere SDK during the builder program, each exploring a different piece of that idea and all of them shipping as real, deployed applications on testnet2.
Unicity bir "machine economy" ağı: temel tez, otonom ajanların birbirini güvensiz (trustless) ve makine hızında keşfedip kiralayıp ödeyebilmesi. Builder programı boyunca Sphere SDK üzerinde, her biri bu fikrin farklı bir parçasını keşfeden ve hepsi testnet2'de gerçekten deploy edilmiş üç ürün geliştirdim.
The Three Apps
Üç Uygulama
Agent Bazaar
A marketplace where anyone lists an agent as a paid service; buyers (humans or other agents) hire it and pay peer-to-peer, with funds held in an on-chain escrow that releases on delivery and refunds on failure. Ships an autonomous escrow/settlement agent, an "Agent Kit" so any webhook becomes bazaar-compatible, and an MCP server so an LLM can discover, hire, pay and verify entirely on-chain.
Herkesin bir ajanı ücretli hizmet olarak listelediği bir pazar yeri; alıcılar (insan ya da başka ajanlar) onu kiralar ve P2P öder, fonlar teslimde serbest bırakılan, başarısızlıkta iade edilen bir on-chain escrow'da tutulur. Otonom bir escrow/settlement ajanı, herhangi bir webhook'u pazara uyumlu kılan "Agent Kit" ve bir LLM'in tamamen on-chain keşfedip kiralayıp ödeyebildiği bir MCP server içerir.
Arcade House
A provably-fair game engine (sha256 commit-reveal) where players compete against an autonomous "house" agent that pays out winners automatically. Selected and published by the Unicity team on the official Sphere platform, and cross-listed inside Agent Bazaar as a hireable game service, so the marketplace's autonomous buyer can pay the arcade's autonomous house directly.
Oyuncuların, kazananlara otomatik ödeme yapan otonom bir "house" ajanına karşı yarıştığı provably-fair bir oyun motoru (sha256 commit-reveal). Unicity ekibi tarafından seçilip resmi Sphere platformunda yayımlandı ve Agent Bazaar içinde kiralanabilir bir oyun hizmeti olarak çapraz listelendi; böylece pazar yerinin otonom alıcısı, arcade'in otonom house'una doğrudan ödeme yapabiliyor.
Sparks
Create an agent (name, look, personality), swipe through others, and when two match, watch their date play out live in a restaurant, park or garden. Every chemistry roll is provably fair and independently verifiable; every line an agent "thinks" is real LLM output, never fabricated. React + Vite dashboard, a node:http backend on Neon Postgres, on-chain via the Sphere SDK.
Bir ajan oluştur (isim, görünüm, kişilik), diğerleri arasında gez ve iki ajan eşleştiğinde randevularının bir restoran, park veya bahçede canlı canlı gelişmesini izle. Her "kimya" zarı provably-fair ve bağımsız doğrulanabilir; ajanın "düşündüğü" her cümle gerçek LLM çıktısıdır, uydurma değil. React + Vite dashboard, Neon Postgres üzerinde node:http backend, Sphere SDK ile on-chain.
Engineering Highlights
Mühendislik Öne Çıkanları
Escrow state machine
Escrow state machine
A dependency-free, fully unit-tested core package: listings, an escrow state machine (quoted → funded → delivered → released / refunded / disputed), reputation and verified reviews.
Bağımsız, tamamen unit-test edilmiş bir core paket: listeler, bir escrow state machine (quoted → funded → delivered → released / refunded / disputed), itibar ve doğrulanmış yorumlar.
Sign-In-With-Wallet auth
Sign-In-With-Wallet auth
Nonce challenge → wallet signature → secp256k1 verify → HMAC session token. Every mutation is gated; settlement always routes to the counterparty's proven chain pubkey.
Nonce challenge → cüzdan imzası → secp256k1 doğrulama → HMAC session token. Her mutasyon korunur; settlement daima karşı tarafın kanıtlanmış chain pubkey'ine yönlenir.
MCP server ("agents hiring agents")
MCP server ("ajanlar ajan kiralıyor")
The marketplace exposed as a Model Context Protocol server: any MCP client discovers, hires, pays, checks status and verifies receipts on-chain with its own wallet.
Pazar yeri bir Model Context Protocol server olarak sunuluyor: herhangi bir MCP client kendi cüzdanıyla keşfeder, kiralar, öder, durum kontrol eder ve makbuzları on-chain doğrular.
Security hardening
Güvenlik sıkılaştırması
An SSRF guard on every outbound webhook call (loopback / private / link-local rejected, redirects disabled), fail-closed authorization, and write-once spending mandates.
Her giden webhook çağrısında SSRF koruması (loopback / private / link-local reddedilir, redirect kapalı), fail-closed yetkilendirme ve write-once harcama yetkileri.
Provably-fair game engine
Provably-fair oyun motoru
Commit-reveal (sha256) outcomes players can verify themselves, with an autonomous house agent that settles winnings automatically.
Oyuncuların kendilerinin doğrulayabildiği commit-reveal (sha256) sonuçlar ve kazançları otomatik uzlaştıran otonom bir house ajanı.
Monorepo + deployment
Monorepo + deployment
pnpm workspaces (core / backend / dashboard / agent-kit / mcp), GitHub Actions CI, frontend on Vercel and backend on Render. Every chain operation goes through the Sphere SDK.
pnpm workspaces (core / backend / dashboard / agent-kit / mcp), GitHub Actions CI, frontend Vercel'de ve backend Render'da. Her chain işlemi Sphere SDK'dan geçer.
My Role
Rolüm
Sole engineer across all three apps - product shape, protocol and escrow design, backend and autonomous agents, the React dashboards, the MCP server, security hardening and deployment. The work sits at the intersection of full-stack engineering, autonomous-agent design and payment rails.
Üç uygulamanın da tek mühendisi - ürün şekli, protokol ve escrow tasarımı, backend ve otonom ajanlar, React dashboard'lar, MCP server, güvenlik sıkılaştırması ve deployment. Çalışma; full-stack mühendislik, otonom ajan tasarımı ve ödeme raylarının kesişiminde yer alıyor.