Awais argues that frameworks can add slow-moving abstractions that are difficult to debug. He points to products such as Perplexity, Cursor, v0, Lovable, and Bolt as examples of production agents he says are not built on AI frameworks. He compares AI primitives to Amazon S3: simple building blocks that can support many applications.
Why the Best AI Agents Are Built Without Frameworks (Primitives over Frameworks)
Speaker
Ahmad Awais, a software engineer and Langbase leader, explains how to build production AI agents from primitives rather than frameworks at an AI Engineer talk.
Awais demonstrates a “Chat with PDF” agent built with memory, parsing, chunking, and an LLM. The parser extracts text from PDFs, the chunker prepares it for similarity search, and memory stores it for retrieval. The agent retrieves relevant content and uses it to answer questions across uploaded files.
Awais walks through augmented LLMs with tools, threads, and long-term memory, then shows prompt chaining, routing, and parallel agents. In one router example, a model selects among summary, reasoning, and coding agents built with different LLMs. He also demonstrates an orchestrator that assigns five subtasks to worker agents and combines their results.
An evaluator-optimizer pattern has one agent draft marketing copy and another assess it, provide feedback, and guide a second attempt. Awais also shows examples for deep research, receipt OCR, and image chat, including adding Mistral OCR when the platform lacked an OCR primitive. He argues that using primitives makes it easier to adapt as models and agent workflows change.
Takeaways
- Start with small primitives such as memory, threads, parsing, and tools, then compose the workflow your product needs.
- Keep routing logic explicit: a router can choose among focused agents for summarizing, reasoning, or coding.
- Use parallel workers for independent subtasks, then synthesize their outputs.
- For iterative tasks, let an evaluator return specific feedback that a generator can use to revise its result.
- When a needed capability is missing, connect a focused external tool such as OCR rather than waiting for a framework to provide it.
Mentioned in this talk
Search inside this talk
What was claimed 4
- usesAhmad Awais uses
GPT-3“Greg Brockman himself gave me access to GPT-3”
YouTube Unverified1 source· Talk
- featureprimitives-first product design: Memory, threads, parsing, chunking, and tools
“Primitives are things like memory ... a workflow engine ... a parser ... and a chunker”
YouTube Unverified1 source· Talk
- metricAI agents: 80% of the most complicated AI agents can be built with these patterns
“you can build pretty much 80% of the most complicated AI agents out there”
YouTube Unverified1 source· Talk
- uses
CHAI uses
Mistral OCR
“I found one from Mistral, asked it to use Mistral OCR”
YouTube Unverified1 source· Talk











