Skip to main content

Sovant Memory-as-a-Service Python SDK

Project description

Sovant Python SDK

AI Infrastructure: Memory-as-a-Service for AI systems.
The official Python client for the Sovant Memory API.

PyPI version Documentation GitHub


What is Sovant?

Sovant is an AI infrastructure company providing the memory layer for AI systems.
Our platform makes it simple to persist, search, and manage conversational/context data securely across sessions, channels, and applications.

  • Problem: Most AI systems forget once a session ends → compliance risk, knowledge loss, poor UX.
  • Solution: Sovant provides a Memory-as-a-Service API — store, retrieve, and search memories with audit-ready controls.
  • Built for: Developers & enterprises building AI agents, copilots, or compliance-driven apps that need persistent context.

Installation

pip install sovant

60-Second Quickstart

from sovant import Sovant, MemoryCreate, SearchQuery

client = Sovant(api_key="YOUR_API_KEY")

# Create a memory
created = client.memory_create(MemoryCreate(
    content="User prefers morning meetings",
    type="preference",
    tags=["customer:123"],
    # metadata={"source": "crm"},
    # thread_id="00000000-0000-0000-0000-000000000000",
))
print(created)

# Search memories
results = client.memory_search(SearchQuery(
    query="meeting preferences",
    topK=3,
    # tags=["customer:123"],
    # thread_id="...",
))
print(results)

Features

  • Memory CRUD — create, retrieve, update (PATCH/PUT), delete
  • Semantic Search — full-text/semantic with topK and filters
  • Threads — group related memories via thread_id (REST API)
  • Batch Operations (Beta) — atomic multi-operation requests
  • Compliance-ready — audit trails, PDPA/GDPR-friendly design
  • SDKs — official Python & TypeScript clients + REST reference

SDKs & Documentation

API Overview

Endpoints Summary

  • POST /api/v1/memory — Create memory
  • GET /api/v1/memory — List memories
  • GET /api/v1/memories/{id} — Get by ID
  • PATCH | PUT /api/v1/memories/{id} — Update
  • DELETE /api/v1/memories/{id} — Delete
  • GET /api/v1/memory/search — Search
  • POST /api/v1/memory/batch — Batch (Beta)

Auth: Bearer token in the Authorization header.

Field Mapping Note

  • API expects: content (required), optional type, tags, metadata, thread_id.
  • SDK convenience: Some client methods may accept data and map it to content internally.
  • Deprecated: subject is ignored by the API. Use thread_id, tags, or metadata for grouping.

Status of Advanced Features

  • Batch API: Available, marked Beta (contract may evolve).
  • Threads: Fully supported via REST API.
  • Webhooks / Personalization / Multi-Channel Sync: Coming soon.

Versioning & Changelog

  • Stable baseline: 1.0.3
  • See CHANGELOG.md in the repo for details.

License

MIT © Sovant AI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sovant-1.0.3.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sovant-1.0.3-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file sovant-1.0.3.tar.gz.

File metadata

  • Download URL: sovant-1.0.3.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for sovant-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4cb88155cd1ec28b0f5fa3a0253c8f2cc575fbe16699c6de044cf8006f4853b8
MD5 d6481f354893dbd1aa51465c2f1604b2
BLAKE2b-256 a56ccc299d80ce8c3d30cce81c6a3d6fda70f6dff906641b0a375b3607d20e4d

See more details on using hashes here.

File details

Details for the file sovant-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: sovant-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for sovant-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0872445f2189e4e4a39df82108320bdb7e23b3f323332b39be2e4f46ed13aa1d
MD5 c82f17f4ee53dda7e083d3a505ae73f4
BLAKE2b-256 452e5703ac9f0d325da0b05b3ca59888f5bdae639bd5d488ba47bc5cd7738ecc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page