Architecture

Unbody Architecture

If software is becoming more like humans—able to think, speak, and act—then the backend that powers it needs to work like a brain. That’s why Unbody is built on four functional layers that mirror how intelligent systems (or humans) operate:

  • Perception (Knowledge Fabrication): how it sees and understands the world
  • Memory (Storage and Persistent Memory): what it knows and remembers
  • Reasoning (AI & Autonomy): how it thinks, decides, and plans
  • Action (APIs & Middleware Control Plane): how it interacts with others and takes initiative

Each layer in the Unbody stack corresponds to a set of modular components that work together to turn raw data into structured knowledge, reason over that knowledge, and expose it to the outside world via powerful APIs.

Unbody is built primarily in Node.js, with a clean modular structure and plugin-friendly design. Each component can be extended, replaced, or deployed independently.

General Workflow

At a high level, the flow of data in Unbody looks like this:

  1. Knowledge Fabrication or Indexing— the process of transforming and processing raw content into enriched, structured knowledge.
  2. Using the Knowledge Base — once data is indexed, interact with it through Unbody’s Content API and build intelligent features on top.

Unbody also offers standalone Generative APIs, including text, JSON, and image generation. These can be used independently or applied within the content API flow (e.g. for RAG or summarization).

🌳 Perception (Knowledge Fabrication)

Where raw content becomes structured, enriched knowledge.

Includes:

📂 Memory (Persistent Storage & Vector Memory)

Stores all enriched data for future retrieval and reasoning.

Includes:

  • Vector Stores: Cloud version currently uses Weaviate as the only vector store. Possiblty of modular vector stores is introduced in our open-source version.
  • File Storage: Cloud version only one singular built-in cloud storage. Possiblty of modular storage is introduced in our open-source version.
  • Media CDN: Only avaiable on Cloud. Read more: Image, Video, and Audio

🧠 Reasoning (AI Modules & Autonomy)

Adds intelligence through generation, decision-making, and context-aware behavior.

Generative modules can be used independently or embedded in Content API queries to create agentic flows like RAG.

🌐 Action (APIs & Middleware Control Plane)

Interfaces to interact with your knowledge base and trigger workflows.

Projects & Configuration

Every instance of Unbody is called a Project. A project defines a schema, vectorizer, and set of data sources to build your knowledge base.

⚠️

Limitation: Project settings cannot currently be edited after creation (e.g. schema or vectorizer). This is a known limitation and a fix is in progress.

Deployment Models

Unbody can be deployed in two modes:

  • Unbody Cloud: Fully managed, with built-in storage, scaling, CDN, and zero-setup APIs
  • Unbody OSS: Self-hosted and open-source, with modular plugin support and full control
©2024 Unbody