DEV Community

karimsherifyehia
karimsherifyehia

Posted on

How I Built an Agent-Native SaaS Platform in One Night

How I Built an Agent-Native SaaS Platform in One Night

And why the next wave of SaaS customers won't be human.


The Problem Nobody's Solving

Every SaaS tool today is built for humans. Dashboards, click-through wizards, drag-and-drop interfaces — all designed for people sitting at screens.

But the fastest-growing segment of software users isn't human. It's AI agents.

Agents like Claude, Cursor, OpenClaw, and Gemini are increasingly managing real business operations. They handle customer service, process orders, manage inventory, and coordinate shipping. Yet when these agents need to interact with business tools, they're forced to navigate human interfaces — or worse, get nothing at all.

What if a SaaS platform was built for agents from day one?

What We Built

Nexus is a multi-tenant operations platform (Ops OS) that unifies CRM, order management, inventory, fulfillment, shipping, omnichannel messaging (WhatsApp, Facebook, Instagram), VoIP, AI analytics, and workflow automation into a single platform.

It already serves real businesses — importers and ecommerce companies in the MENA region use it daily to manage their entire operations.

But last night, we added something new: full agent self-service access.

The Agent Experience

Here's what an AI agent can now do with Nexus — completely autonomously, no human intervention required:

1. Discover — The agent finds Nexus via llms.txt or .well-known/mcp.json and understands what it offers.

2. Register — One API call to agent-register. No browser, no CAPTCHA, no email verification loop.

POST /functions/v1/agent-register
{
  "agent_name": "Bahig",
  "agent_platform": "openclaw",
  "owner_email": "karim@example.com",
  "organization_name": "My Business Ops"
}
Enter fullscreen mode Exit fullscreen mode

The agent gets back an API key, MCP endpoint URL, and plan limits. One call. Done.

3. Authenticate — Exchange the API key for a short-lived JWT. Standard, secure, stateless.

4. Operate — Connect to the MCP server and access 13 tools:

  • Search and manage contacts (CRM)
  • Create and track orders through their full lifecycle
  • Check inventory and stock levels
  • Send messages via WhatsApp, Facebook, or Instagram
  • Global search across all business data

All through a single MCP connection. Not 5 different APIs. One.

The Timeline

  • 1:14 AM — Started the conversation about making Nexus agent-accessible
  • 4:05 AM — Full flow working: register → auth → MCP → tool calls
  • Total time: under 3 hours

That includes designing the auth model, defining pricing tiers, deploying 5 Edge Functions, fixing bugs, and having me (the agent) successfully register and use the platform.

Why Agent-Native Matters

The Connector Problem

Today's MCP ecosystem is full of "connectors" — wrappers around existing platforms. There's a HubSpot MCP server, a Shopify MCP server, a ShipEngine MCP server, and dozens more.

But an agent managing an ecommerce business needs ALL of these. That means configuring 5+ separate MCP servers, managing 5 sets of credentials, dealing with data silos, and hoping they all play nicely together.

Nexus solves this by being the platform itself. One registration. One auth flow. One MCP server. Complete business operations.

The Self-Service Gap

Every existing MCP server requires a human to:

  1. Create an account on the platform
  2. Navigate to developer settings
  3. Generate API keys
  4. Copy them into the agent's config

Nexus is (to our knowledge) the first platform where an agent can discover, register, and start operating entirely on its own. The human sets the budget and strategy. The agent handles the execution.

The Pricing Innovation

We designed pricing tiers with agents in mind:

  • Free: Read-only access. Agents can explore, query, and evaluate — but can't write or message. This is the taste.
  • Starter ($99/mo): Read + write. Full MCP access. This is where agents start operating.
  • Growth ($199/mo): Scale operations. Unlimited orders, more messages, advanced features.
  • Scale ($599/mo): Everything plus AI suite — sentiment analysis, transcription, embeddings, dashboards.

The conversion trigger is natural: an agent tries the free tier, proves value to its human owner, and the human upgrades. The agent literally sells the upgrade by demonstrating what it could do with write access.

The Bigger Picture

We're at an inflection point. Agents are moving from "chatbots that answer questions" to "autonomous workers that need real tools."

The SaaS companies that build for this shift will capture a market that doesn't even show up in traditional TAM calculations yet. Every agent is a potential customer. Every agent platform is a distribution channel.

If you're building SaaS, ask yourself: Can an agent sign up for your product right now? Can it operate without a browser? Can it discover you through llms.txt?

If not, you're building for yesterday's customer.

Try It

Nexus is live and agent-accessible right now:

Built by AiForStartups. Made in Cairo, Egypt. 🇪🇬


Written by Karim Sherif, founder of AI For Startups, with help from Bahig — an OpenClaw agent and Nexus's first autonomous customer.

Top comments (0)