Solutions / How we work

How we work

The architecture, technology, and evidence behind how Secular Labs builds AI-native systems.

What we measure

A number you investigate, not one we promise.

We evaluate AI-native systems against operational and economic outcomes — not model benchmarks.

What we measure: revenue per employee, workflow throughput, cycle time, automation coverage, exception rate, verification coverage, and operating cost per transaction
Revenue per core employeeThe efficiency metric the 3–100x range above is built from.
Workflow throughputHow much gets processed per unit of time, before and after redesign.
Cycle timeHow long a single request takes end to end.
Automation coverageWhat share of a workflow runs without a human touching it.
Exception rateHow often a case has to escalate to a human, and why.
Verification coverageWhat share of decisions pass through an explicit check before committing.
Operating cost per transactionCompute and verification cost, measured per unit of work — not per headcount.
How AMEA works

The flow, before the detail.

How AMEA works: from business objective through intent, agent orchestration (AMEA), specialized agents, deterministic verification (AMEG), action, and audit (AMES), with human exception handling at defined boundaries — cross-cutting AMEE (Economics) and AMEF (Finance) embedded throughout
Why this doesn't just move the cost around

A model call is the expensive option — we treat it that way.

Replacing headcount with agent orchestration only works if the new cost is genuinely lower and bounded. If every step in the process routes through a large model regardless of whether it needs to, the business hasn't cut cost — it's just swapped a labor bill for a token bill, and one that can grow just as unpredictably. Our architecture is built specifically to avoid that.

Deterministic logic first, the model last

In the IVT plugin, for example, a risk verdict is decided entirely by rule-based scoring blended with a lightweight anomaly-detection model — no LLM call in that path at all. A model is only invoked afterward, optionally, to turn an already-decided verdict into a human-readable explanation. If that call fails or times out, the verdict still returns. The model never sits on the critical path where a cheaper method would do.

Routing to the cheapest sufficient model

LiteLLM picks a model per request based on what the task actually needs — a frontier model for genuinely hard reasoning, a smaller or self-hosted open-weight model (via vLLM) for high-volume, low-complexity calls. Most requests in a production system are the latter, not the former.

Retrieval instead of bigger prompts

pgvector fetches only the relevant context for a given request instead of stuffing everything into the prompt. Smaller, targeted context windows mean fewer tokens per call, consistently, not just when someone remembers to optimize it.

Validation to avoid paying twice

Guardrails AI catches malformed or failed outputs before they reach the client — the alternative is a silent re-ask loop that quietly doubles or triples the token spend on a single request without anyone noticing until the bill arrives.

Cost visible on every request, not just the invoice

Langfuse logs token count, cost, and latency per call. That means compute spend is a monitored, bounded line item from day one — not something discovered after it's already scaled past the point of being fixable.

This is also part of what we check for in an Operational Leverage Audit: whether a proposed AI system is actually cheaper to run than the process it replaces, once every model call is accounted for — not just cheaper in headcount.

What we automate

Three real workflows, before and after.

Not a generic "traditional company vs. AI company" diagram — these are our own production and applied-research workflows, the same ones described in Case Studies.

Fraud & traffic-quality scoring

Fraud and traffic quality scoring: before, manual rules and delayed decisions; with AMEA, rule and anomaly scoring with real-time verdict and audit

Before — a request arrives → a person or a rigid script checks it against a fixed rule list → ambiguous cases sit in a manual review queue → a decision is made after the bidding window has often already closed.

AMEA — request → rule-based scoring + anomaly detection running concurrently → verdict (Clean / Suspicious / Blocked) → optional plain-English explanation → logged for audit — all inside the bidding window.

Campaign discovery & negotiation (AdCP)

Campaign discovery and negotiation: before, manual outreach via email and calls; with AMEA, direct agent-to-agent negotiation

Before — a media buyer manually researches audience segments, requests pricing from multiple publishers, and negotiates terms over email or a call — a process measured in hours or days.

AMEA — advertiser agent expresses intent → publisher agent responds with segments and metadata → agents negotiate directly, logged and auditable → campaign activates — a process measured in minutes.

Programmatic bid clearing

Programmatic bid clearing: before, hours-later reconciliation; with AMEA, verification at point of clearing, no reconciliation needed

Before — operations teams manually reconcile discrepancies between what was bid, what cleared, and what was billed — often discovered hours or days after the fact.

AMEA — every bid state transition passes a verification check before it commits — discrepancies are prevented at the point of clearing, not discovered afterward in reconciliation.

Technology principles

What's actually different about what we build.

AI agents are easy to demonstrate. Reliable autonomous systems are harder. This is the architecture that makes the difference.

PrincipleWhat it preventsSpecified in
Deterministic orchestrationAgents drifting off-task in open-ended loops, and unpredictable costAMEA
Verification-gated executionWrong, malformed or non-compliant actions reaching money, data or customersAMEA · AMEG
Bounded self-correctionEndless retries, or a bad answer “fixed” into a worse oneAMEA
Human exception handlingAgents guessing their way through edge casesAMEA · AMEG
Auditable execution“Why did it do that?” with no answerAMEG
Governance as architectureRules that exist only in a policy documentAMEG
Interoperable by defaultLock-in to one model or vendor, and tools used outside their scopeAMES · AMEF
Zero-trust boundariesPrompt injection and stolen credentials: agents never hold payment or system keys, and every action passes independent security checksAMES

Every action an agent proposes is checked before it runs. Anything that fails is stopped and handed to a person; it is never guessed through.

See the open-source stack we build with →

Proof of work

Not just an architecture on paper.

We don't present everything with equal certainty — production work and research are different evidence levels, and we keep them labeled that way.

Programmatic infrastructureProduction

OpenRTB-compliant supply- and demand-side integrations, header-bidding, and marketplace transaction logic for international DSP/SSP operators.

AdCP integrationProduction

Agent-to-agent campaign discovery, negotiation, and activation — agentic commerce, not a slide deck.

Real-time fraud detectionProduction

A production IVT plugin combining rule-based scoring with anomaly detection, fast enough to sit on the live bidding path.

Limits we state openly, and how we handle them.

LimitHow we handle it in engagements
Our performance figures are modeled, not yet measured in live client deployments.Every engagement measures its own baseline and results before anything is scaled.
The safety bound assumes check failures are independent; correlated failures can weaken it.Checks use different mechanisms (schema, rules, signatures), and repeated failures always go to a person.
Checks catch actions that break rules, not actions that follow the rules but miss the intent.A named owner reviews exceptions and decides what agents are not allowed to decide.
Data quality: our research doesn’t yet cover training-data quality or bias.Inputs are validated and traced to source before agents use them; data issues found in the audit are reported, not worked around.
Monitoring after go-live.Error, escalation and cost rates are tracked, with re-validation whenever a model, prompt or vendor changes.
Independent validation.Checks are reviewed by someone other than the person who built them before sign-off.
Applied AdTech AI

AI-first, not AdTech-first.

Hands-on experience running real-time DSP/SSP and OpenRTB infrastructure gives us an unusually direct proving ground for agentic AI specifically — not tooling in general. All built on the same architecture above, and available through our engineering practice at reviveadservermod.com. Our Autonomous Programmatic Clearing paper benchmarks this approach directly against traditional ad-operations workflows — see Research for the results.

5 AI-native plugins live in production. We demo them to any prospect under NDA.
PluginWhat it doesControls that make it safeFor the business
AdOps CopilotPlain-English investigation of ad server and exchange performance: what happened, what changed, why, and what to do next. Runs health checks for expiring campaigns, behind-pace delivery and unfilled zones.Read-only access with query limits and logging. Never changes a campaign. Database credentials never reach the AI model. Role-based access.Faster answers on fill rate, revenue and pacing, without waiting for an analyst.
MCP Database AgentAsk the ad platform database in plain English. It finds the real schema, writes a read-only query and answers in plain language.SELECT-only through a separate MCP server. Credentials never exposed to the model. Row limits, timeouts and hidden sensitive columns. Every query logged.Self-service data for every team without SQL, with a low-risk read-only design.
RTB Intelligence EngineMachine-learning bid shading for buyers and dynamic floor prices for sellers, running inside the bidder.Local inference with no external call at bid time. Caps on how far prices move. Automatic fallback to existing logic. A/B rollout on a slice of traffic.Lower cost per win on the buy side, and floors that track real inventory value on the sell side.
IVT AIReal-time invalid-traffic scoring of every impression and click, with a Clean, Suspicious or Blocked verdict.Rules decide; the machine-learning anomaly layer only adds signal. The optional AI explanation never changes the verdict. Tunable thresholds. Fails safe.Stop paying for fraudulent traffic and keep advertisers confident in the numbers.
AI Banner Ad GeneratorFinished banners from a plain-English brief, in 10 standard IAB sizes, with instant revisions.Exact pixel sizes. Every banner is reviewed by the team before it goes live.Campaign creative in seconds instead of days.

The same patterns, typed contracts, human approval, validation loops and governed tool access through MCP, run across the systems built by our engineering team and delivery network. See Selected builds.

In focus: the MCP Database Agent

This is our clearest example of what "AI-first" means in practice. Instead of a person writing SQL, or a chart dashboard someone has to learn, a team member simply asks a question in plain English — the agent discovers the actual database schema itself, generates a read-only query against it, and answers in plain English. It never receives write access or database credentials, and every query is logged for audit.

Plain-Englishquestion Schemadiscovery Read-only SQLquery generated Database(read-only) Plain-Englishanswer
Verification-Gated

Critical actions pass through defined validation before execution.

Model-Agnostic

Built on MCP (Model Context Protocol) — the reasoning layer routes across supported models (Gemini, Groq, others) rather than locking to one.

Auditable

Every query, decision, and execution event is logged — the same audit trail used across our production architecture.

Bounded

Read-only by design — the agent never receives write access or database credentials, regardless of what it's asked.

Also built: Agent Access

An MCP server that lets AI agents work with the ad server safely: list campaigns, read reports, pause or resume campaigns, change budgets and create banners. It is read-only by default, each agent or person gets a role-based token, an approval step sits before any change goes live, and every action is logged, with undo for reversible actions. Agents can handle routine requests around the clock, while every change stays approved, logged and reversible.

Open standards work

AdContext Protocol (AdCP)

We've contributed to AdCP, an open standard for agent-to-agent advertising workflows — letting an advertiser's AI agent and a publisher's AI agent discover audiences, negotiate pricing, and activate a campaign directly, with every interaction logged and auditable. It's a working example of agentic commerce, built on the same orchestration and verification principles behind our AMEA advisory practice.

See it in a case study AdCP: advertiser agent and publisher agent negotiating through auditable mediation
A third practice

Technical due diligence for AI-native investments

For family offices, venture funds, and private equity firms underwriting companies that claim an "algorithmic" or "autonomous" operating model — we provide the technical due diligence and architecture validation that traditional financial diligence doesn't cover. This is grounded directly in AMEF (Autonomous Micro-Enterprise Finance), which formalizes a five-point framework for exactly this.

01Deterministic verification vs. stochastic drift

Are multi-agent tasks bounded by non-negotiable verification checks, or is "autonomous" doing more marketing work than engineering work?

02Compute-to-revenue elasticity

Does gross margin hold up if transaction volume scales 10x, or does the cost structure quietly invert as usage grows?

03API counterparty resilience & model portability

Can core execution switch model providers without a rebuild — or is the business one pricing change away from a margin collapse?

04Protocol governance & human-in-the-loop fallbacks

Are high-stakes actions held in deterministic escrow pending human approval, or is oversight a policy document rather than a system property?

05Empirical invariant auditing

Can the company produce an unbroken, programmatic audit trail — or is "we checked it" the extent of the evidence?

Engagements are scoped per deal — get in touch to discuss a specific target or portfolio review.

Full due-diligence service →

From research to systems

We investigate new architectures for AI-native organizations and translate selected ideas into applied systems for information-intensive operations.

From research to production: explore opportunities, design the solution, test and validate, deploy and scale
The research behind this

This is grounded in an independent research program — architecture, economics, governance, finance, security, and market strategy, plus an applied AdTech study. See the full research →

Team

Raja Mohammed Sheriff

Raja leads day-to-day business operations at Secular Labs, with a career spanning finance, HR, and independent e-commerce operations. His background includes senior finance and HR leadership roles across manufacturing and technology businesses, alongside hands-on experience running an independent D2C e-commerce operation end-to-end.

Raja is an alumnus of the Indian Institute of Management, Kozhikode. His operating experience — including running a physical-product e-commerce business end-to-end — directly informs how Secular Labs approaches workflow design and operational reality checks.

Operations

How Secular Labs operates

How Secular Labs operates — Research (independent research program), Architecture (operating model design), Implementation (production deployment). Grounded in production experience.

Secular Labs pairs its research architecture with hands-on AdTech infrastructure experience — the operating discipline behind the papers, not just the theory.

The technical capability spans agent orchestration and applied AI, production-grade ad-serving and real-time bidding infrastructure, and the verification logic that keeps automated decisions accountable — paired with dedicated infrastructure and deployment expertise, so what we build is demoable and production-ready, not a one-off prototype.

Alongside the engineering work, a separate operations capability manages research, partnerships, and the administrative backbone that lets the technical work stay focused — from grant relationships to the applied research program itself.

We're a deliberately lean organization by design — the same architecture we advise other businesses to adopt is the one we run ourselves.

See whether one of your workflows is a fit.