Get in touch

Let's talk.

Leave your details and we'll reach out personally. Early access, pricing, crypto payments — whatever brought you here.

Coming soon.

Medjat isn't open to the public yet. Join early access and we'll reach out personally when your spot is ready.

Get Early Access

No card required  ·  Limited spots

Getting Started Overview Quick Start Reference Memory Types API Reference SDKs Platform Limits & Access Legal Privacy Policy Terms of Use
Overview

Medjat Memory Infrastructure

Medjat gives AI agents structured memory across sessions, agents, and time. One API call to store. One to recall. Everything else is handled.

What it solves

Most agents are stateless by default. Every session starts from scratch with no history, no user preferences, no learned context. Building memory in-house means wiring together storage, retrieval, TTL management, semantic search, and deletion flows. Medjat packages all of that into a single runtime.

Core concepts

Memory is agent scoped. Each agent has its own isolated memory space. No cross-agent bleed by default. Memories have types, retention rules, and can be recalled semantically or by key. Every delete operation produces audit friendly metadata.

Five memory types

Working · Episodic · Semantic · Procedural · Archival. Each with different retention defaults, suited to different data lifetimes. See Memory Types →

Quick Start

From zero to first recall

Get a memory stored and recalled in under 10 lines. Works the same in Python and TypeScript.

1. Install the SDK
# Python pip install medjat # TypeScript npm install @medjat/sdk
2. Initialise the client
from medjat import MedjatClient client = MedjatClient( base_url="https://medjat.dev", # your project runtime URL api_key="mj_live_...", agent_id="agent_01" )
3. Store a memory
client.memory.store( content="User prefers dark mode and concise responses", type="semantic" )
4. Recall it later
results = client.memory.recall( query="user preferences", type="semantic", limit=5 ) for m in results: print(m.content)
Auth header (raw HTTP)
x-api-key: mj_live_... x-medjat-agent-id: agent_01 # required in strict mode
Memory Types

Five types. Five lifetimes.

Each type is built for a different kind of data. You pick the type, Medjat handles retention and expiry.

working
Short-lived live context. Active session state, in flight task data, scratch memory.
Default 8h TTL
episodic
Event and session memories. What happened, when, and in what order.
Configurable TTL
semantic
Durable facts and knowledge. User preferences, learned truths, domain knowledge.
Default 365d TTL
procedural
Instructions, workflows, and how-to memory. How the agent should behave or execute tasks.
Default 180d TTL
archival
Long term records. Persistent unless explicitly deleted. No automatic expiry.
No TTL · Persistent

TTL defaults are runtime-configurable via environment variables. Override per-request by passing ttl_seconds on store.

API Reference

Core methods

All operations go through client.memory. Base URL is your project runtime, local or cloud.

client.memory.store(content, type, ttl_seconds?, metadata?)
Stores a memory of the given type. Returns a memory ID and confirmation. TTL is optional and defaults to the type's runtime default.
client.memory.recall(query, type?, limit?, threshold?)
Semantically recalls memories matching the query. Optionally filter by type. Returns ranked results with content, score, and metadata.
client.memory.forget(memory_id)
Deletes a specific memory. Returns a signed deletion receipt for audit purposes. GDPR compliant by design.
client.memory.stats()
Returns memory counts by type, storage usage, TTL state, and runtime telemetry for the current agent scope.
client.memory.summarise(type?, since?)
Generates a structured summary of stored memories, useful for context injection into prompts at session start.
Authentication
x-api-key: mj_live_... # required on all requests x-medjat-agent-id: agent_01 # required in strict-mode runtimes

Service keys use the mj_service_... prefix. Agent keys (mj_live_...) are scoped to a specific agent identity.

SDKs

Python & TypeScript

Both SDKs are built on the same REST API and share identical method signatures. Real code, not vapor. Public package release is coming at launch.

Pre launch preview
Python
pip install medjat from medjat import MedjatClient client = MedjatClient( base_url="https://medjat.dev", api_key="mj_live_...", agent_id="agent_01" ) client.memory.store("User timezone is UTC+10", type="semantic")
TypeScript
npm install @medjat/sdk import { MedjatClient } from '@medjat/sdk' const client = new MedjatClient({ baseUrl: 'https://medjat.dev', apiKey: 'mj_live_...', agentId: 'agent_01' }) await client.memory.store('User timezone is UTC+10', { type: 'semantic' })

Both packages are in pre launch development. The API surface is stable. Packaging and public release follow at launch.

Limits & Access

Early access & quotas

Medjat is pre launch. Early access users get direct runtime access ahead of public release.

Current status

Early access is open. Leave your details and we'll reach out personally. We onboard in small batches so we can actually support you.

Quotas

Free tier limits will be published at launch. Early access runs on preview quotas, generous enough to build with and sized to keep the runtime stable. If you hit a wall, contact us directly.

What you get at access

Memory API, all 5 types: store / recall / forget / stats / summarise
Agent scoping, isolated per agent memory out of the box
Local dev runtime, run the full stack locally with no cloud dependency
Python and TypeScript SDKs, pre release builds
Deletion receipts, signed records on every forget
Runtime telemetry, latency, memory counts, TTL state

Legal

Privacy Policy

Effective date: March 21, 2026  ·  Contact: privacy@medjat.dev

1. What we collect

When you use our early access form, we may collect your email address, any social handles you provide, and any message or notes you submit. We may also collect basic technical logs (request timestamps, IP metadata) for security and debugging.

2. Why we collect it

We use this information to manage and review early access requests, contact you about access and onboarding, and keep the service secure. We do not sell your personal data.

3. Your rights

Although Medjat operates outside the EU/UK, we provide GDPR-style rights to all users: access, correction, deletion, and objection to processing. To exercise any of these rights, email privacy@medjat.dev.

4. Retention

We keep early access submissions only as long as needed for access operations, product communications, and security recordkeeping. On deletion request, we delete your personal data unless limited retention is legally required.

5. Sharing

We share data only with service providers required to operate the product (hosting, analytics, email tools), under appropriate safeguards.

6. International processing

Your information may be processed in Thailand and in infrastructure regions used by our service providers.

7. Changes

We may update this policy as the product evolves. Updates will be posted here with a new effective date.

Contact

Privacy requests: privacy@medjat.dev
General legal: legal@medjat.dev

Legal

Terms of Use

Effective date: March 21, 2026  ·  Contact: legal@medjat.dev

1. Pre launch status

Medjat is a pre launch beta product. Features may change, break, or be removed at any time. We do not guarantee uptime, availability, or compatibility during pre launch.

2. Eligibility and access

You must provide accurate information for early access. Access is limited, revocable, and non-transferable unless we explicitly allow otherwise.

3. Acceptable use

You agree not to abuse, disrupt, or interfere with the service; circumvent auth, rate limits, or security controls; use Medjat for illegal content, malware, phishing, or fraud; scrape or attempt unauthorized access to data or systems; or reverse engineer private/internal endpoints.

4. API limits and fair use

Use is subject to rate limits and quotas that may change without notice. We may throttle, suspend, or revoke access to protect reliability and security.

5. Your content

You are responsible for all data and content you submit. You confirm you have rights to submit that content and that your use complies with applicable law.

6. Intellectual property

Medjat's software, branding, and documentation are owned by Medjat and protected by applicable IP laws. These Terms grant a limited right to use the service, not ownership.

7. Suspension and termination

We may suspend or revoke access at any time, including for policy violations, abuse risk, security issues, or capacity constraints.

8. Disclaimers

The service is provided "as is" and "as available." To the maximum extent permitted by law, we disclaim all warranties, express or implied.

9. Limitation of liability

Medjat will not be liable for indirect, incidental, consequential, or punitive damages, or loss of data, profits, or goodwill. Total liability is limited to amounts paid in the prior 12 months, or USD $100 if nothing was paid.

10. Governing law

These Terms are governed by the laws of Thailand, without regard to conflict-of-law rules.

Contact

Legal and terms: legal@medjat.dev
Privacy requests: privacy@medjat.dev

Memory Infrastructure v0.9 · Durable Memory Layer for AI Agents · Recall · Retention · Retrieval
Memory Infrastructure for AI Agents
Your agents forget everything between sessions. Medjat makes them remember.
Memory API · Python SDK · TypeScript SDK · CLI · Dashboard
Durable. Structured. Fast.
scroll
Memory Infrastructure

Your agents forget everything.Medjat makes them remember.

Ingest, recall, and isolate memory across sessions with a single API.

Get Early Access
Working Memory
Episodic Memory
Semantic Memory
Procedural Memory
Archival Memory
Redis · PostgreSQL · pgvector
Confidence Scoring
Retention Policies
GDPR Deletion
Agent Scoping
Working Memory
Episodic Memory
Semantic Memory
Procedural Memory
Archival Memory
Redis · PostgreSQL · pgvector
Confidence Scoring
Retention Policies
GDPR Deletion
Agent Scoping
5
Memory Types
Working, Episodic, Semantic, Procedural, Archival. Each with distinct storage, retrieval, and retention behaviour.
Sessions Retained
No session limit. No data loss between conversations. The agent you ship today remembers everything tomorrow.
2
Storage Layers
Redis for under 5ms live context. PostgreSQL with pgvector for semantic and long term recall. Both, not one or the other.
5
2
Memory Types
Sessions Retained
Storage Layers
Working, Episodic, Semantic, Procedural, Archival. Each with distinct storage, retrieval, and retention behaviour.
No session limit. No data loss between conversations. The agent you ship today remembers everything tomorrow.
Redis for under 5ms live context. PostgreSQL with pgvector for semantic and long term recall. Both, not one or the other.
5
Memory Types
Working, Episodic, Semantic, Procedural, Archival. Each with distinct storage and retention behaviour.
Sessions Retained
No session limit. No data loss between conversations. Compounds over time.
2
Storage Layers
Redis for under 5ms live context. PostgreSQL with pgvector for semantic recall.
Memory Infrastructure

How memory
actually flows.

01WorkingRedis · <5ms
Live context and hot cache. Active session state, in-flight task data, scratch memory.
02EpisodicPostgres · Configurable
Full conversation history. What happened, when, and in what order.
03Semanticpgvector · 365d
Facts and concepts embedded at write time. Ranked confidence scoring on recall.
04ProceduralPersistent · 180d
Learned rules and agent behaviour patterns. Survives all sessions, compounds over time.
05ArchivalNo TTL · Permanent
Cold storage with no TTL. Full fidelity retained forever. GDPR deletion on request.

Memory Infrastructure · General Ledger
Debit · What Enters
Balance · Recall
Credit · What Returns
Input Layer · Pipeline
Core Engine
Output Layer · Agent
01
Session · Real Time
Redis
Live context · hot cache
Working memory · <5ms write
Working
Memory
recall(session)
Latency
< 5ms
Instant · always hot
Zero cold start
02
Conversations · Events
Episodic Ingest
What happened · when
Full conversation history
Episodic
Memory
recall(history)
Storage
Postgres
Durable · queryable
Structured retention
03
Documents · Knowledge
Semantic Ingest
Facts · concepts · relations
Embedded at write time
Semantic
Memory
recall(similar)
Engine
pgvector
Cosine similarity
Ranked confidence score
04
Behaviours · Patterns
Procedural Ingest
How to act · learned rules
Agent behaviour patterns
Procedural
Memory
recall(rules)
Retention
Persistent
Survives all sessions
Compounds over time
05
Long Term · Permanent
Archival Ingest
Cold storage · no TTL
Full fidelity retained
Archival
Memory
recall(archive)
Expiry
None
No data loss · ever
GDPR deletion on request
Total Input
∞ sessions · all types
RECALL ENGINE
Total Output
ranked · confident · fast
Medjat Memory Infrastructure · General Ledger · Sheet 01 of 01
Medjat Memory System · Live Session
v2.4.1 · API connected
medjat · live memory system
// medjat memory system · ambient mode
// watching live memory operations...
medjat
Recall
Low-latency
Redis backed working memory for fast retrieval.
Stack
Redis + PostgreSQL
Hot context in Redis. Long term semantic memory in PostgreSQL with pgvector.
Isolation
Per agent scope
Memory is scoped to each agent by default. No cross-agent bleed.
Deletion
Controlled
Delete and forget operations with audit friendly metadata.
Runtime
Local + hosted
Run locally for development, or connect to hosted runtime environments.
SDKs
API-first
REST API live now. Python and TypeScript SDKs in progress.

Memory is where most AI agents quietly break down.
Medjat is where that stops being your problem.

Build agents that keep memory

Stop rebuilding
memory plumbing.
Start shipping behavior that compounds.

What you get now
Memory API · Local dev mode · Agent scoped memory · Semantic recall · Retention + forgetting controls · Deletion operations · Runtime telemetry.
What you stop rebuilding
Storage orchestration, recall pipelines, retention logic, deletion flows, and the operational glue between them.
Integration time
From first API call to working memory flow in under an hour.
Make your agent remember

Stop rebuilding
the infrastructure.
Start shipping.

What you get immediately
Memory API · Python and TypeScript SDKs · CLI · Analytics dashboard · Local dev mode · All 5 memory types · Retention controls · GDPR deletion flows.
What you stop building
Storage, semantic search, relevance ranking, TTL management, deletion workflows, observability, and all the glue between them.
Integration time
Under one hour.
remember
Starter
$0
/ month · no card
  • 10,000 memories
  • Memory API + SDKs
  • Local dev mode
  • Community support
Start free
Enterprise
Custom
/ your scale
  • Unlimited storage
  • Dedicated infra + SLA
  • SSO + audit logs
  • Dedicated support
Talk to us