happyvertical.com
Open-source platform for vertical AI agents and local knowledge bases.
s-m-r-t.dev
A TypeScript framework for software that people and AI agents operate on equal terms. One typed domain model generates the schema, REST, CLI, MCP, and browser agent tools, with authority enforced down to the database row. 64 packages released daily in lockstep, plus a docs site that doubles as the framework's live test bed.
One Declaration, Four Surfaces
Decorated classes compile at build time into a manifest that is at once the SQL schema, the generated REST, CLI, and MCP servers, the browser-side WebMCP tool set, and the permission catalog. 291 registered objects across 18 manifest-shipping packages.
Authority Agents Cannot Exceed
Every call resolves as a real principal in one tenant under generated Postgres row-level security. Server-side agents run as a persona's bound user with power limited to user RBAC, agent-class ceiling, and persona allow-list. Browser agents run as the signed-in user.
Agents Propose, Humans Confirm
A control-interaction registry lets an agent stage a form value beside the live one, but applying it requires a trusted human gesture. Agent self-improvement is gated the same way: reflection can propose instruction changes, activation stays with a person.
Agents as a Shipped Feature
Persona-configured autonomous agents on cron schedules, backed by a durable job queue with priorities, retries, liveness-based crash recovery, and tenant caps. A conversational harness whose tools are the app's own manifest operations, plus inter-agent dispatch.
Multi-Tenant by Construction
AsyncLocalStorage context with a global interceptor that filters every read path and stamps tenant ids on writes. Hierarchical tenants to depth 10 with opt-in permission inheritance. SvelteKit, Express, and CLI adapters.
Three Databases, One Migration Story
PostgreSQL, SQLite, and DuckDB share schema and migrations, with lock-safe concurrent-index migrations, live-schema parity checks, and a zero-config SQLite runtime so a new app runs before a database exists.
Domain Modules as Batteries
Content governance with versioning and corrections, a nine-contract commerce model with double-entry revenue recognition and fiat plus crypto rails, a double-entry ledger, multi-channel messaging, analytics, and declared-aggregate reports.
Built for Coding Agents Too
Version-matched AGENTS.md in every package, a deterministic build-time knowledge contract, a doctor command, a development MCP server, and 371 Svelte components with 285 in the public reference at 97 percent prop coverage, five themes, and i18n.
Agent Development Control Plane
Private control plane that lets AI coding agents and humans ship to a 69-repository fleet under one enforced lifecycle. Agents lease issues, get independent multi-model review, and produce signed release evidence before a merge queue will accept their work. 16 portable skills, 22 schemas, and a 1,900-assertion test harness in dependency-free Python.
Issue Lease Lifecycle
Designed a claim, heartbeat, and release protocol where agents hold a renewable four-hour lease on an issue, races resolve by GitHub server order, and release evidence is an immutable owner-attributed commit status bound to the exact PR head. Identifiers are selectors, not credentials.
Merge Authority
Wrote a lifecycle check that revalidates every closing issue's released cycle on each PR head and in the merge queue, so a later push or reopened issue always requires a new cycle.
Signed Policy Distribution
Built policy as a signed OCI artifact pinned by digest, with a byte-bound authority substrate, monotonic generations, and channel-aware promotion through canary and smoke rings with rollback. Consumer repositories cannot select their own policy.
Multi-Model Review Roster
Defined four reviewer tiers across GPT and Claude families with risk-scaled floors, an implementer-independent reviewer rule, immutable review packets, and a finding classification scheme. Skills run across seven agent harnesses.
Portable Skills
Shipped 16 agent skills, including implement, ship, review-cycle, and claim-issue, governed by a lock file recording hash, license, permission footprint, and harness matrix.
Hybrid GitOps Platform
Declarative hybrid Kubernetes platform spanning Hetzner Cloud and homelab GPU nodes. One k3s cluster with embedded etcd quorum across cloud and on-prem, provisioned by CDKTF and NixOS and operated through Flux, at about 82 percent lower cost than the managed cluster it replaced.
Layered Bootstrap
CDKTF in TypeScript provisions Hetzner compute, load balancing, and firewalls plus AWS Route53, SES, and S3. NixOS flakes define each host including k3s, GPU drivers, and mesh networking. Flux reconciles system, application, and tenant layers in dependency order.
GitOps at Scale
276 Flux Kustomizations, 51 Helm releases, and 109 namespaces across 66 applications. Image automation opens promotion pull requests instead of committing to main.
Dual Overlay Networking
Tailscale mesh with native k3s VPN auth and a Nebula mesh carrying flannel. Fixed an upstream Nebula version gap and made k3s rebuild its VXLAN device on mesh restart.
Data and Storage
13 CloudNativePG clusters with scheduled barman backups to object storage, Velero, JuiceFS, MinIO and Garage S3, and Hetzner CSI volumes.
GPU Workloads
NVIDIA time-slicing and AMD ROCm device plugins serving vLLM, llama.cpp, Ollama, ComfyUI, TTS, and OCR services on owned hardware.
Secrets and Policy
Separate age key domains for host and cluster secrets under SOPS, template-rendered secrets with checksum guards, 81 network policies, Kyverno and conftest policies, and 48 conformance tests run in CI.
Self-Hosted CI and Cost Controls
Actions Runner Controller scale sets per GitHub organization on owned GPU hardware, 14 workflows including per-host NixOS deploys and manifest validation, plus a GCP AI-spend circuit breaker and cloud cost exporter.
HAVE SDK
The HAVE SDK is an abstraction layer designed to decouple application logic from volatile infrastructure dependencies.
Designed adapter and factory interfaces for AI, database, and cache services. The interfaces isolate business logic from provider implementations.
Built adapters for AI providers, databases, caches, payment systems, and identity services.
Built one interface for chat, streaming, embeddings, vision, text-to-speech, and function calling.
Used AI-assisted development to build lightweight first-party adapters. Consumers install provider dependencies only when needed.
Added AGENT.md context files and an MCP documentation server for SDK integration work.
Used pnpm, Turborepo, ESM, Vitest, Biome, conventional commits, and Changesets to maintain the SDK.
anytown.ai
Multi-tenant SaaS platform running an AI-assisted local news network for small towns. A dashboard tier manages network and publication tenants, provisions each town's static site and infrastructure, and runs a roster of production agents that gather, write, illustrate, broadcast, and monetize local coverage. About 580,000 lines of TypeScript and Svelte with 503 test files, built solo in eight months.
Municipal Coverage Agent
Twelve scraper adapters for real council portal software, LLM-based source discovery with adapter auto-detection, PDF extraction with OCR fallback, and priority scheduling across upcoming, completed, and backfill meetings. Every announcement links to its source document as proof, with extracted facts stored alongside.
Agent Roster as Installable Plugins
Eight production agents covering weather aggregation, sports with play-by-play and AI recaps, AI news-anchor video, social publishing and analytics, two-stage email routing, GitHub project automation, and ad sales. Each agent ships its own admin UI, CLI, MCP tools, and cron methods, and activates per tenant.
News-Anchor Video Pipeline
Separates performer face identity from character role and scene so one face can play many branded roles. Script to voice clone, lip-sync, motion, long-video segmentation with last-frame chaining, and post-production through checked-in ComfyUI graphs on local GPUs.
Monetization
Ad server with sponsorship, standard, and house tiers, budget-weighted selection, immutable delivery events, and fail-closed zone registration. Business subscriptions with a rotating subscriber ad pool, sponsored content with separate commercial and editorial approvals, four-level commission settlement with partner ledgers and payout batches, and Stripe billing.
Governance and Cost Control
Per-tenant moderation policy setting agent versus human approval, daily agent-approved budgets and rates, sensitive categories, and forced review for new partners. Idempotency reservations prevent duplicate paid AI calls.
Platform
174 decorator-generated domain objects, 143 pages, and 440 API endpoints on SvelteKit. PostgreSQL on CloudNativePG with a database per site so towns keep serving if the SaaS tier is down. One image split into web, background worker, and serialized deploy worker roles. Automated per-site AWS provisioning with CDKTF, S3, CloudFront, ACM, and Route53. Kotlin Multiplatform reporter app with an offline write queue.
ergot.io
Tenant-aware media asset management and processing orchestration platform, shipped as a hosted service and an open-source community edition sharing one domain model. Captures from cameras and turntable rigs, runs GPU media pipelines on-prem or in cloud, keeps rights and provenance with every output, and sells licenses through an agent-first marketplace. About 130,000 lines of TypeScript with 759 tests.
Model-Driven Core
50 domain models and about 60 services on the s-m-r-t framework, each declaring its REST, CLI, and MCP exposure. Six apps, six packages, and two agents in a TypeScript monorepo, including a SvelteKit control plane, an Electron capture client, and a Python GPU runtime.
Rights and Provenance Engine
Typed rights contracts covering license tier, territory, exclusivity, derivatives, attribution, and AI-training permission. Rights snapshots carry a precedence-ordered basis chain across nine sources, and every pipeline step declares whether it preserves rights, creates a derivative, or inherits the generative model's own license constraints. A preflight endpoint checks a use before it runs.
Four-Way Execution Placement
Pipeline steps dispatch to the control plane, the capture node itself, a paired GPU worker, or cloud by capability-tag matching with lease-based claiming and heartbeats. NVIDIA, AMD ROCm, and Apple MPS paths.
Media Pipelines
Seventeen pipeline types across TTS with voice cloning, transcription with word timestamps, face embedding and matching, image editing, talking-head and text-to-video generation, 360 conversion, photogrammetry, and Gaussian splat reconstruction. Runs Wan 2.2, LTX-2.3, HunyuanVideo, Whisper, InsightFace, and Qwen3-TTS through ComfyUI workflows.
Offline-First Capture
Device adapters for Sony Camera Remote SDK, gphoto2, Insta360, and a Flipper Zero turntable controller, with a simulator so contributors never need proprietary SDKs. Capture nodes write to SQLite and disk first, then sync immutable checksummed packages. Intake hashes with SHA-256, extracts GPS into a geo index, and stages batches for human curation before assets are minted.
Consumer Surface
About 51 consumer API endpoints, 22 capability scopes on API keys, HMAC-signed outbound webhooks, inbound hooks that pipelines can suspend on, idempotent tenant provisioning, a published SDK, and embeddable Svelte components.
Agent-First Marketplace
Account-less buyers identified by email purchase time-bound or perpetual licenses in a few API calls. Pluggable payment backends for USDC on Base, Bitcoin via BTCPay, and Stripe, signed PDF licenses, and revenue splits paid out in the buyer's currency. Access on sale reuses the tenant asset-sharing rules.