The AI hype is over; now it’s all about putting it into practice: many companies and public authorities are trialling generative AI, but only a few applications manage to make the leap to reliable, long-term operation. To achieve this, those in charge must protect sensitive data, ensure results are traceable, and retain control over models, infrastructure and processes. In this interview, Milos Rusic, co-founder and CEO of deepset, explains how open architectures help in this regard and what role the open-source framework Haystack plays on the journey from prototype to a productive, autonomous AI application. He discusses suitable use cases, technical and organisational requirements, and the collaboration between deepset and Materna during implementation.
Mr Rusic, generative AI has made its way into many organisations, but it often remains limited to isolated experiments. Where do companies and public authorities stand today on the journey from AI hype to productive application?
The days when a demo was enough to impress anyone are over. By now, almost every organisation has seen what a language model is capable of. The real question is a different one: how do I integrate it securely with my data, my processes and my existing systems, in such a way that I can rely on it in day-to-day operations? This is where most projects fail – not because of the model itself. The European Commission’s AI@EC initiative, for example, demonstrates that it is possible, even under the stringent requirements of a public authority.
What distinguishes a promising AI prototype from an application that works reliably in day-to-day use, can be operated on a long-term basis and creates measurable added value?
A prototype demonstrates that an idea is technically feasible. A production-ready application must also function reliably with real users, incomplete data and changing requirements. This requires more than just a good model: reliable data retrieval, clear access rights and the ability to intervene if something goes wrong. Equally important is a measurable benefit: shorter processing times, better response quality or less manual effort in relation to the total operating costs. If teams cannot explain how an application works or demonstrate its long-term benefits, it is not yet ready for production.
Which use cases are particularly suitable for getting started, and what criteria should organisations use to decide whether a use case is economically viable and scalable?
It is best to start with a clearly defined problem, accessible knowledge and a measurable outcome. Knowledge-intensive, recurring processes – such as internal information searches, enquiries regarding regulations or document-heavy application procedures – are particularly well suited. AI can support staff in these areas without making far-reaching decisions independently. In the district of Borken, a solution based on the Haystack Enterprise Platform has reduced the time taken to process applications for care assistance by a third. When evaluating such solutions, teams should consider the frequency of the task, time saved, accuracy, integration effort and costs per successful outcome. And because the architecture is reusable, such a solution can be adapted for other services and local authorities.
With Haystack, deepset has developed an open-source framework for production-ready AI applications, RAG systems and agents. How does Haystack bridge the gap between a language model and a reliably functioning enterprise application?
A language model has broad capabilities, but does not automatically know an organisation’s current information, authorisations or business rules. Haystack provides the orchestration around the model: it enables relevant knowledge to be retrieved, tools and systems to be integrated, logic and safeguards to be applied, and results and outputs to be evaluated.
This enables teams to turn a single model into a structured AI application that takes the organisation’s context into account. Because Haystack is open source and model-agnostic, prototypes can be developed quickly and systems continuously improved without being permanently tied to a single model provider.
Haystack relies on modular, traceable pipelines and freely combinable components. How does this approach help organisations to bring together models, data sources and tools in a controlled manner and keep the functioning of their AI application transparent?
A good AI application is almost never just a model call. It must search through sources, weight results, interact with internal systems, adhere to rules, and only at the very end does the model formulate a response. If all of this happens inside a black box, nobody knows where the fault lies when something goes wrong. That is why, in Haystack, we make each of these steps visible and interchangeable. If a better model becomes available next month, you swap out the model rather than the entire application. In a market that moves so quickly, this isn’t a technical nicety, but a prerequisite for maintaining control.
Data protection, robust results and traceability are crucial, particularly in sensitive or regulated sectors. How can Haystack be used to control data access, context and outputs in such a way as to minimise errors and hallucinations as much as possible?
Reliability begins even before an answer is generated. With Haystack, organisations can use retrieval and metadata filters to limit which documents enter the model’s context and tailor access to their authorisation rules. Responses can be based on relevant sources, cited with source references and verified by evaluators or guardrails. Uncertain cases can be forwarded for human review. This reduces the risk of hallucinations and facilitates error analysis, but does not guarantee error-free results. Sensitive use cases require continuous evaluation and clearly defined boundaries regarding what information agents are permitted to access and what actions they are permitted to carry out. The more sensitive the use case, the more clearly it must be regulated what an agent is permitted to see and what it is permitted to do.
What does AI sovereignty mean for you in practical terms, and how do Haystack’s open architecture, the freedom to choose models and infrastructure, and the option of cloud or on-premises operation contribute to this?
For us, AI sovereignty means the practical freedom to assemble, operate and modify an AI system according to our own specifications. Sovereignty is often reduced to the question of where the data is stored, but for us it is about more than that: organisations should be able to control their models, information, infrastructure and the behaviour of their agents. The open-source Haystack framework enables users to freely choose and combine models, data sources and tools without being dependent on a single provider. The Haystack Enterprise Platform also supports deployments in a managed cloud, self-hosted and on-premises, right through to fully isolated (air-gapped) environments. Sovereignty does not mean rejecting innovation, but rather being able to utilise it without relinquishing control.
What mechanisms do organisations need to test, monitor and further develop AI applications whilst they are in operation, and how does the Haystack Enterprise Platform support governance, role- and permission-based models, and auditability?
Once an agent is up and running, simply saying ‘it works’ is no longer enough. You need to know why it does what it does, what it costs, and whether it changes over time. Without this visibility, you can neither audit an AI system nor operate it cost-effectively, and in the public sector in particular, neither of these is negotiable. That is precisely why we built the Haystack Enterprise Platform: every execution is traceable, changes can be tested against quality targets before deployment, and permissions and versions are clearly documented. This isn’t the glamorous side of AI, but it is the part that determines whether it holds up in everyday use.
The path to production requires more than just technology. How should platform providers, integration partners and user organisations work together, and how do deepset and Materna complement each other in the development and integration of productive AI solutions based on Haystack?
No single provider can bring AI into the public sector on its own. AI systems emerge through the interaction of several stakeholders. Technology providers must provide a flexible, secure foundation. Integration partners connect this to existing systems and operational requirements. User organisations define workflows, success criteria and governance requirements. This is precisely where deepset and Materna complement each other: deepset contributes Haystack as well as its expertise in the development and operation of AI applications. Materna has extensive experience with public administration processes, system integration and long-term operation. Together, we can turn sophisticated AI technology into solutions that work in practice.
If you could give three recommendations to organisations that are currently still navigating the gap between pilot projects and live operation, what would they be, and what role can Haystack play in this journey?
Firstly: Choose a specific workflow with a measurable goal, rather than looking for an application just for the sake of the technology. Secondly: Think about live operation right from the start. Governance, data access, evaluation, security and operational responsibilities cannot simply be added as an afterthought at the end. Thirdly: Keep the architecture open and continuously improve quality, performance and costs as usage increases. Haystack supports all three steps with reusable, modular building blocks that link organisational knowledge, models and tools. The Haystack Enterprise Platform complements the operational controls required for deployment, governance and scaling. By starting this way, you’re not just building an application, but the capability to build the next one more quickly.