Skip to content
/ soat Public

SOAT is an open-source framework designed to provide persistent memory capabilities for autonomous AI agents.

License

Notifications You must be signed in to change notification settings

ttoss/soat

Repository files navigation

SOAT (Source of Agentic Truth)

SOAT Banner

License: MIT

SOAT is an open-source framework designed to provide persistent memory capabilities for autonomous AI agents. It orchestrates the ingestion, storage, and retrieval of context using semantic search and vector embeddings.

Why SOAT?

Sophisticated AI agents require a scalable substrate to maintain state and recall context. SOAT provides that infrastructure by treating memory as a semantic cosmos rather than a flat datastore.

  • Persistent Context: Ingests and persists Documents and Files across agent lifecycles.
  • Semantic Recall: Instant illumination of relevant context via high-dimensional vector similarity.
  • MCP Native: First-class support for the Model Context Protocol, enabling seamless integration with agent runtimes.
  • Interoperable: Standard REST API for universal application access.

Core Resources

SOAT exposes two primary resources for constructing agentic memory:

Documents

The fundamental unit of textual memory. Documents are ingested, atomized, and vectorized to enable granular semantic retrieval.

  • Ingestion: Raw text processing with automatic embedding generation.
  • Indexing: Optimized generic text storage for high-recall queries.

Files

Management of binary assets and unstructured data blobs.

  • Storage: Persistent handling of file objects.
  • Association: Linking binary assets to semantic context.

Featured Features

Integration & Protocols

  • MCP Server: Full Model Context Protocol implementation for direct LLM connection.
  • REST API: Robust HTTP endpoints for system-to-system integration.
  • Vector Engine: Powered by pgvector for efficient high-dimensional similarity search.

Packages

Package Description
@soat/server Core memory server (MCP + REST).
@soat/cli Command-line management interface.

Documentation

Read the Full Documentation – System architecture, API references, and deployment guides.

Getting Started

The quickest way to get started is using Docker Compose.

  1. Clone the repository

    git clone https://github.com/ttoss/soat.git
    cd soat
  2. Follow the Getting Started Guide to spin up the server and database using Docker Compose.

Architecture

┌─────────────────┐     ┌─────────────────┐
│   AI Agents     │     │  Applications   │
└────────┬────────┘     └────────┬────────┘
         │                       │
         │ MCP Protocol          │ REST API
         │                       │
         └───────────┬───────────┘
                     │
              ┌──────▼──────┐
              │ SOAT Server │
              └──────┬──────┘
                     │
         ┌───────────┴───────────┐
         │                       │
    ┌────▼────┐           ┌──────▼──────┐
    │ Ollama  │           │ PostgreSQL  │
    │(Embed)  │           │ + pgvector  │
    └─────────┘           └─────────────┘

Contributing

We welcome contributions! Please feel free to submit issues and pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • ttoss - For the HTTP server and MCP packages
  • pgvector - PostgreSQL vector similarity search
  • Ollama - Local LLM and embedding models

About

SOAT is an open-source framework designed to provide persistent memory capabilities for autonomous AI agents.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages