Agentic systems are just query engines for unstructured data
daft.ai·15h·
Discuss: Hacker News
Flag this post

“Imperative” and “declarative” are paradigms we use to describe programming languages. An imperative language requires you to lay out the steps; a declarative language doesn’t.

A declarative language allows developers to declare the intended results – the “what” – while allowing the underlying engine to determine the actual steps to execute – the “how”.

I am struck by how familiar this pattern feels for working with AI systems today. In modern LLMs and agentic systems, the user declares the intended output by supplying context and a prompt. Perhaps LLM prompts, like SQL, are an equivalent shift towards the declarative model for operating over unstructured and multimodal data.

SQL for unstructured data

The textbook example of a declarative language is SQL, a language that d…

Similar Posts

Loading similar posts...