VOOZH about

URL: https://thenewstack.io/yes-orchestration-is-for-ai-too/

⇱ Yes, Orchestration Is for AI, Too - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-07-02 08:00:40
Yes, Orchestration Is for AI, Too
sponsor-boomi,sponsored-post-contributed,
AI / Databases / Large Language Models

Yes, Orchestration Is for AI, Too

Making AI practical is dependent upon integrating, automating and coordinating this transformative technology within existing systems and processes.
Jul 2nd, 2024 8:00am by Michael Bachman
👁 Featued image for: Yes, Orchestration Is for AI, Too
Featured image by Ant Rozetsky on Unsplash.
Boomi sponsored this post.

AI is creating a seismic shift in software development. Yet, as AI revolutionizes our approach, fundamental software development principles are more important than ever. The role of the developer is transforming, driven by market demands, executive mandates and requests from business operators to incorporate AI into software systems.

Among the many facets of AI and the software development lifecycle (SDLC) we could explore — such as security, AI-assisted programming (copilots), AIOps and model instruction tuning — there is another critical element to factor in: pipeline orchestration. To leverage large language models (LLMs) efficiently, effectively and practically, we must develop a comprehensive understanding of data management, processes and prompting techniques.

While this article isn’t exhaustive, it aims to provide a solid foundation for developing practical, AI-infused applications for both front- and back-office use cases.

Key Concepts

Before diving deeper, let’s define some essential terms:

  • LLMs (large language models): Advanced AI models trained on vast amounts of text data, capable of understanding and generating human-like text.
  • RAG (retrieval-augmented generation): A technique that combines information retrieval with text generation to produce more accurate and contextually relevant responses.
  • Hallucinations: Instances where AI models generate false or nonsensical information.
  • Agents: Autonomous programs that complete tasks based on goals, often utilizing LLMs for natural language understanding and generation.
  • Event-driven architecture: A software design pattern where the flow of the program is determined by events such as user actions, sensor outputs or messages from other programs.
  • Governance: The framework for managing, securing and controlling access to data and AI systems.
  • Semantic retrieval: The process of finding information based on meaning and context rather than exact keyword matches.
  • Syntactic retrieval: Information retrieval based on the structure and format of data rather than its meaning.

The Foundation: Data and Processes

Data is at the core of any practical AI implementation. The ability to integrate, manage and leverage various types of data is crucial. This includes structured data (relational databases), semi-structured data (document databases, key-value stores) and unstructured data (files, images, videos and audio).

Integrating AI with existing systems of record is critical for businesses. This involves creating, reading and persisting data across different storage systems. It’s also essential to expose and make accessible APIs for consuming data through frontend applications or services, connecting to backend datastores and creating processes that transform, filter, enrich and move data through pipelines to achieve desired outcomes.

Vector databases play a crucial role in storing and retrieving data for LLMs, particularly for semantic search and retrieval. Additionally, exposing large data endpoints from data lakes, warehouses and marts is necessary for AI systems to access and utilize enterprise data effectively.

Event-Driven Architecture

As AI becomes more prevalent, the scale of communication between API endpoints is growing at an astronomical rate. The current API economy is just the tip of the iceberg compared to what we can expect in an AI-infused future.

Enter AI agents: autonomous, often ephemeral programs that complete tasks based on goals, without explicit instructions on how to plan, reason or create rules. These agents, powered by language models, will be ubiquitous, getting and putting data in place, writing code, scanning, filtering and performing various actions. As agents proliferate, they will require massively scalable communication networks.

This is where event-driven architecture (EDA) comes into play. Evolved from the publish-subscribe (pub/sub) pattern, modern EDA offers robust capabilities for handling massive scale, guaranteeing message delivery, deduplicating messages and connecting to various endpoints. Some EDA implementations can even trace data lineage, scale to many nested topics and offer flexible data persistence options.

EDA provides the type of communication network that Internet of Things (IoT) devices use, and AI agents communicate similarly. As agents pop in and out of existence, they will require a robust data network for communication, making EDA an ideal solution.

Governance and API Management

As agents consume data from various sources, API management becomes critical. Gateways must control access to applications’ or endpoints’ data, managing not only who or what has access but also the amount and frequency of access. This is crucial for both monetization opportunities and defending against unauthorized data access.

Validating and Controlling LLM Outputs

LLMs are known to hallucinate, producing false or nonsensical information. For most organizations not developing their own foundation models, controlling the LLM’s response to prompts can be challenging. However, you can control the data and prompts fed to the LLM, as well as how the model’s output is processed and presented to the end user.

Validating data within a retrieval-augmented generation (RAG) process allows for harmonization, canonization and vector embedding of your corporate data before presenting it to the LLM. This approach helps ensure that when combining your proprietary data with the LLM’s knowledge, you maintain control over the inputs.

Evaluating data after the LLM responds is also possible and often advisable. Ranking agents can observe the answers given to a consumer before the information is presented, adding an additional layer of quality control.

Human Interaction and Continuous Learning

The human element remains crucial in AI ecosystems. Interfaces such as chatbots or frontend applications allow users to interact with the orchestrated systems around the LLM. By creating endpoints within processes that enable humans to validate answers, you can help the orchestrated systems learn and improve from external, human interactions.

The Critical Role of Orchestration

All these elements — data management, process control, event-driven communication, governance, validation and human interaction — require orchestration. An LLM on its own is not grounded; it needs a carefully orchestrated ecosystem to function effectively and reliably in real-world applications.

Orchestration involves:

  1. Integration: Connecting dissimilar applications, creating abstractions and exposing APIs for data consumption.
  2. Automation: Streamlining processes and reducing manual intervention in data and AI workflows.
  3. Coordination: Ensuring that different components of the AI system work together seamlessly.
  4. Monitoring and optimization: Continuously assessing system performance and making necessary adjustments.

By focusing on orchestration, organizations can create AI systems that are not only powerful but also practical, reliable and aligned with business objectives.

Conclusion

As we navigate the exciting frontier of AI in software development, it’s clear that the principles of orchestration are more critical than ever. The ability to effectively integrate, automate and coordinate various components of AI systems will distinguish successful implementations from those that fall short.

For developers, understanding and mastering orchestration is key to harnessing the full potential of AI. By grounding our approach in solid orchestration practices, we can create AI-infused applications that are not just innovative, but also practical and valuable for businesses across industries.

As you embark on your AI journey, remember that the true power of these technologies lies not in the models themselves, but in how we orchestrate them within our existing systems and processes. With careful attention to data management, communication architectures, governance and human interaction, we can build AI systems that will transform the way we work and create value.

Want to learn more? Register now for “Unleashing the Power of GenAI with Enterprise Low-Code Orchestration,” a free online webinar hosted by The New Stack with Boomi’s Michael Bachman as our special guest. 

Boomi powers the future of business with intelligent integration and automation. As a category-leading, global SaaS company, Boomi celebrates more than 20,000 customers and 800 partners who use Boomi to connect their applications, data, and people. For more information, visit boomi.com.
Learn More
TRENDING STORIES
Mike Bachman, affectionately dubbed "Bachman" by peers, is Boomi's Head of Architecture and AI Strategy. With over two decades of expertise, he has assisted executives and their teams in overcoming complex obstacles through innovative tech solutions. Bachman's background encompasses AI...
Read more from Michael Bachman
Boomi sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
👁 Image
To benefit from AI, effective API management is crucial. Our guide covers 5 key points to make your business AI-ready.