IInvest Like the Best
← All frameworks
Innovation

Model-Agnostic Modular AI Architecture

Build for a technology landscape you cannot forecast

Difficulty
Advanced
Time to result
~months to results
Steps
6
Confidence
85%

Jack Kokko's answer to planning a product roadmap when nobody — not even frontier labs — knows what the next model will do: make both the system and the organization swappable. Rather than betting the product on one model, AlphaSense builds a modular orchestration layer that can route any task to whatever model is currently best at it (bigger context, multimodal, lower latency, cheaper), backed by a proprietary semantic search engine that feeds the generative layer. The organizational half matters as much: a team structured to be agile, continuously reading research papers and filtering signal upward, so a capability shift becomes a fast pivot rather than a rewrite. The strategic premise is that fast model progress is an accelerant for a startup that can absorb it, and a threat for anyone hard-wired to one vendor.

Origin

Grew out of a decade of building semantic search over paywalled financial content before generative models existed, then absorbing GPT-class models without abandoning the search engine underneath.

Core principles

  • 01Expect the unexpected — assume frequent, unforecastable capability jumps
  • 02Stay agnostic: any LLM should be pluggable for any task
  • 03Own a defensible layer beneath the model (search, proprietary data, UX)
  • 04Modularity in systems must be matched by agility in the org chart
  • 05Track research at the paper level, not just at the product-release level

How to run it

  1. 1

    Assume the roadmap will be disrupted

    Start from the premise that neither you nor the frontier labs know what the next breakthrough will be, so planning must optimize for reaction speed rather than forecast accuracy.

    Pro tip Treat 'a better model just shipped' as a scheduled event, not an emergency.

  2. 2

    Build a model-agnostic layer

    Create a system that can use any LLM available and swap which model performs which task, so a new model that is better at multimodal, longer context, or lower latency can be adopted quickly.

    Pro tip Task-level routing beats vendor-level standardization: different models win at different jobs.

  3. 3

    Keep the components modular and orchestrated

    Decompose the pipeline into modules you can re-sequence — interpretation and planning, retrieval, generation, checking, cleanup — so intelligence can be added or relocated without rebuilding the product.

    Pro tip Lower latency buys you room to insert more intelligence into the same user-perceived response time.

  4. 4

    Anchor the generative layer on a proprietary retrieval engine

    Use a semantic search engine over hard-to-assemble content to find the right information, then feed it to the generative layer for conversation and summarization. The retrieval quality, not the model, is the durable advantage.

    Pro tip The harder your corpus was to assemble, the less a general model can commoditize you.

    Watch out Generic RAG demos are deceptively easy to build and hard to make robust — Google itself retreated from enterprise search.

  5. 5

    Structure the organization for agility

    Organize teams so they can react to new developments quickly, with people whose job is to read everything credible — including research papers — and separate real, deployable advances from directional hints.

    Pro tip Build a filtering funnel: teams read everything and escalate roughly one in ten items that are genuinely impactful.

  6. 6

    Ship to consumer-grade expectations

    Because users experience frontier capabilities in consumer tools first, treat each public model leap as a new baseline your professional product is expected to match.

    Pro tip Speed of absorption is the startup's structural advantage over incumbents.

In the wild

LLMs as an accelerator, not a disruption

When generative models arrived, AlphaSense treated them as 'brains in a box' to deploy across many use cases rather than as a replacement for its existing engine. The first months went into obvious wins — document summarization and cross-company, cross-industry insight synthesis that had previously been too tedious — while preserving the sentence- and snippet-level provenance users relied on. The pre-existing semantic index became the feeder for the generative layer.

→ Kokko describes the shift as 'a massive accelerator for our roadmap' that moved the company much closer to its original vision of a machine you can talk to and get answers from.

Sequencing models around a reasoning task

For a research question like the market landscape for semaglutides, AlphaSense builds planning into its own system: the question is decomposed into market size, players, growth rates and similar sub-questions. One model interprets and plans the work, another does it, another checks it, and another cleans it up for the user — a sequence with guardrails rather than a single call.

→ The orchestration produces reliable answers today, while remaining ready to collapse steps into a single model if native reasoning improves enough.

Common mistakes

Hard-wiring the product to one model

If a specific vendor and context window are baked into the architecture, every capability leap becomes a rewrite instead of a configuration change — and competitors absorb the leap faster than you do.

Mistaking a good demo for a robust system

GenAI makes impressive internal-search demos easy, which is why funded IT projects attempt problems even Google abandoned. Kokko's point is that the new leaps also bring new difficulties across all components of a real software system.

Dropping provenance to look more magical

Removing snippet-level citations to deliver a cleaner answer destroys the ability of professional users to validate before making seven-figure or bigger bets.

Is it for you?

Best for

Product and engineering leaders building AI-native software on top of third-party frontier models.

Not ideal for

Teams whose differentiation is the model itself rather than data, workflow, and user trust.

From the transcript

“you have to try to, in my mind, organize your team and the org structure to be agile because you just have to expect the…”

Jack

“you want your systems to be more modular so you can orchestrate all this in a much more flexible and agile way and then have…”

Jack

“Right now you have to build a lot of guardrails around LLMs and have a sequence of those models where one is interpreting what work…”

Jack

From the episode

Jack Kokko - Building AlphaSense - [Invest Like the Best, EP.404]

→