Building · July 2, 2026 · 7 min
Shipping a platform in 48 hours
API, console, SDKs in two languages, billing, and a landing page in a weekend. The constraints that made it possible, and the ones I'd keep anyway.
Detecte, the agent-security platform, went from an empty directory to a running product in about forty-eight hours: a multi-tenant API with twenty-four operations and fourteen tables, a console dashboard with auth and billing, a TypeScript SDK on npm, a Python package on PyPI, a CLI, and a landing site with a live dashboard mockup.
I want to be careful about what that claim means, because "built in a weekend" usually means "demo that fell over on Monday." This did not fall over. It has been iterated on since, but the architecture that shipped on day two is the architecture that is still there.
Here is what made it possible, and which parts I would keep even without a deadline.
Constraint one: the data model came first, on paper
Before writing code I wrote down every noun the system needed and how they related. Workspaces own API keys, agents, and policies. Agents have sessions, baselines, and verifications. Sessions produce decisions; decisions can require approvals; approvals and anomalies can become incidents. Everything writes audit entries. Webhook endpoints have deliveries.
Fourteen tables, drawn once, changed twice. Every route, every SDK method, and every dashboard screen was a view over those tables. Having that settled meant I never had to stop and think about what a thing was while building what it did.
I would keep this without a deadline. Most rework I have seen in platform projects traces back to a data model that was discovered rather than designed.
Constraint two: boring, serverless, managed
Hono on Vercel Functions. Drizzle on Neon Postgres. Clerk for console auth. Stripe for billing. Upstash for rate limiting. Resend for email. Every one of those is a thing I did not have to build, operate, or debug at hour thirty.
The temptation on a greenfield build is to make one interesting infrastructure choice. I made zero. The interesting parts were the verification battery and the anomaly engine, and I wanted every hour to go there.
Constraint three: one schema, three clients
The API was defined with an OpenAPI spec from the start. The TypeScript SDK, the Python package, and the CLI are thin, typed clients over that spec. When a route changed, the spec changed, and the clients followed mechanically.
This is the decision I would most insist on. Shipping SDKs in two languages sounds like it doubles the work. With a schema-first API it adds a few percent. And "developers can integrate from either runtime" is a very different product claim than "we have a REST API."
Constraint four: the hard part got the time
The KYA verification battery (adversarial probes, heuristic checks, an LLM judge, score aggregation, a signed credential) is the reason the product exists. The anomaly engine (per-agent baselines, multi-signal composite scoring, allow/flag/escalate) is the reason it is worth paying for.
Those two modules got roughly half the total hours. Everything else was assembled from the boring, managed pieces above. If you look at where time goes on a fast build and it is not going to the part that is actually novel, the build is in trouble.
Constraint five: ship the whole surface, thinly
The landing page is one page plus a changelog and a security page. The console has the screens you need to onboard, create a policy, see incidents, manage keys, and pay, and not one more. The CLI does the three things a developer does in the first ten minutes.
But all of them exist. The thing I have learned from launches is that a missing surface is much more damaging than a thin one. A developer who wants a CLI and finds none leaves. A developer who finds a CLI with three commands uses them and asks for the fourth.
Would I do it again
Yes, with the same five constraints and no deadline. Design the data model on paper. Choose boring infrastructure. Define the API as a schema and generate the clients. Spend the hours on the novel part. Ship every surface, thin.
The forty-eight hours were not the point. The point was that the constraints which make a weekend build possible are the same constraints that make a year-long build sane. The deadline just made it impossible to skip them.
Written by
Samuel Ojerinde · AI Software Engineer