Skip to main content

REFERENCE

Developer Reference

Authentication, APIs, SDKs, Flow Agent processors and parameter resolution, in full.

Architecture

The Asgard AI platform architecture, its components and how data moves through it

  1. 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
  2. The architecture​

  3. 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
  4. How a request flows​

    A typical AI conversation request goes through the following.

  5. 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
  6. 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
  7. Next​

Ready to get started?

Want to see how Asgard fits your team? Talk to us.

Contact us