Skip to main content
Configuration is minimal. Two environment variables connect you; everything else has sensible defaults.

Environment Variables

When AMFS_HTTP_URL is set, the SDK and MCP server route all operations through the authenticated HTTP API. No config files, no adapter setup, no database connection strings.

SDK Options

When using the Python SDK directly, pass options to the constructor:
The SDK auto-detects the HTTP adapter when AMFS_HTTP_URL is set — no adapter configuration needed.

Agent Identity

Agents are identified by their agent_id. This determines:
  • Who gets credit for writes (provenance)
  • What shows up in the Dashboard
  • How recall() and my_entries() scope results
MCP agents should call amfs_set_identity at the start of each session. Without it, identity is auto-detected from the IDE environment: SDK and REST clients pass agent_id in the constructor or header.

Scoped API Keys

API keys can be restricted to specific entity paths and permissions:
Create and manage scoped keys in Dashboard → Settings → API Keys. Use the narrowest scope that works — one key per agent or service.

Namespaces

Namespaces isolate memory between environments. Entries in different namespaces don’t see each other. Namespaces are managed through the Dashboard. The default namespace is default.

Next Steps

Quick Start

Write, read, and search memory.

MCP Setup

Connect your IDE to AMFS.

Core Concepts

How AMFS works under the hood.

Environment Variables

Full reference with all options.