Skip to main content
The Asgard AI platform architecture, its components and how data moves through it

Architecture

The platform​

Asgard AI is an enterprise SaaS platform for building LLM applications, aimed at generative AI. Three products sit at its centre:

ProductWhere it sitsWhat it does
Odin StudioThe AI enablement consoleVisual workflow design, AI resource management, version control
Mimir Data InsightAI data insightGenerative analysis, intelligent queries, decisions from data
Sindri Agent HubThe agent execution engineConversation, AI agent dispatch, fast deployment

The architecture​

Core concepts​

Project and workflow​

  • Project: the top-level unit, holding one or more workflows
  • Workflow: how an AI application runs, built by connecting processors
  • Processor: the smallest unit of execution inside a workflow

Channel and session​

  • Channel: the conversation between a user and the AI, identified by customChannelId
  • Session: the memory of a conversation within one channel, kept until it is reset by hand

Knowledge base (RAG)​

  • Accepts manually uploaded documents, a web crawler and a database loader
  • Builds a vector index automatically, for the Retrieve Knowledge processor to query
  • Supports segment settings and tag management

How a request flows​

A typical AI conversation request goes through the following.

The processors​

CategoryProcessorWhat it does
FlowEntryWhere the workflow starts
ExitWhere the workflow ends
RouterConditional branching
MessagePush MessageSends a message
Listen MessageReceives user input
ModelLLM CompletionCalls a large language model
Stream LLM CompletionA streamed AI response
Generate EmbeddingTurns text into vectors
QuerySQLQueries a database
Retrieve KnowledgeSearches a knowledge base
ActionUpdate ContextUpdates the value of a variable
Execute ScriptRuns JavaScript
APIHTTP RequestCalls an external API
AutoToolValidate PayloadValidates the input
ResponseFormats what is returned

Ways to integrate​

Asgard supports several, covered in the integration documentation:

MethodWhat it isWhere it fits
REST APICalling the SSE API directlyBack-end integration, a custom front end
Asgard SDKThe JavaScript / React SDKGetting a web application connected quickly
iFrameAn embedded chat windowAdding chat to an existing site quickly
Bot PlatformLINE / Slack / Discord / TelegramMessaging platforms
MCP ServerModel Context ProtocolExtending an AI agent's tools

Next​