Operations

Admin Console

Inspect, correct, and operate MemexAI memory files, revisions, access logs, observability, tools, and dreaming.

The MemexAI service includes an admin console at /admin. Use it to make agent memory visible: open the durable memory files, inspect revision history, review access logs, test memory tools, and monitor memory health.

MemexAI admin observability dashboard

Access

In the Docker service, open:

http://localhost:8080/admin

The admin console uses:

  • MEMEX_ADMIN_SECRET for admin routes
  • MEMEX_API_KEY for the Tool Playground

Keep both values out of untrusted browsers. If you expose the console outside a local or private network, put it behind your own authentication and proxy admin API calls server-side. MemexAI also does not authenticate end users; your backend must derive userId from trusted server-side identity.

Files

The Files view is the fastest way to prove that memory exists.

MemexAI admin file browser

What you can do:

  • Browse users/{userId}/... and shared/... memory as a tree
  • Open current memory file contents
  • Edit a file when memory is wrong or stale
  • See file-level reads, writes, revision count, latest actor, and nearby file activity
  • Jump from a file to its revisions and activity trail

Agent tools use virtual paths such as user/profile.md. The admin console shows physical paths such as users/user_123/profile.md so operators can inspect exactly what is stored.

Revisions

Every write creates a mx_revision row.

MemexAI admin revisions panel

Use revisions to answer:

  • What changed?
  • Who or what actor changed it?
  • Why was the change made?
  • Which memory content existed before a correction?
  • Did background dreaming write this, or did a user-facing agent write it?

The Revisions view also includes manual pruning for old revision snapshots. Pruning removes old mx_revision rows only; current files and access logs remain until your application deletes or prunes them separately.

Activity and access logs

Access logs show which files agents touched.

MemexAI admin file activity panel

Use activity to debug:

  • Whether the agent read the file you expected
  • Whether a file is hot, stale, or rarely used
  • Which user scope, actor, or tool call touched memory
  • Whether a behavior issue is a missing write, missing read, or bad prompt context

Observability

The Observability view is the operator dashboard for memory health.

MemexAI admin observability context view with topology, hygiene, activity, top files, and slow calls

It includes:

  • Tool calls
  • Error rate
  • p95 latency
  • Active scopes
  • Read/write ratio
  • SLA watch state
  • Memory topology
  • Memory activity over time
  • Tool latency over time
  • Top accessed files
  • Recent failures and slow calls
  • Per-user memory hygiene when scoped to a user
  • Sanitized observation event stream

Use this view when a product question becomes operational: "Which files are being used?", "Which users have noisy memory?", "Are writes failing?", "Did a new tool route get slow?", or "Which memory nodes are becoming hot?"

Tool Playground

The Tool Playground lets you call MemexAI tools from a local or private operator session before wiring a full app integration.

MemexAI admin tool playground

Use it to:

  • Run raw tools such as memory_list, memory_read, memory_write, and memory_patch
  • Run agentic tools such as memory_memorize and memory_search when a model is configured
  • Inspect JSON responses and errors
  • Copy TypeScript, Python, and framework-specific snippets
  • Verify API keys and service wiring

Without a configured model, memory_search can still use Postgres full-text search, while memory_memorize returns MODEL_NOT_CONFIGURED.

Dreams

The Dreams panel operates background memory consolidation.

MemexAI admin dreams panel

Use it to:

  • Read and update dream cadence, grace period, write budget, and concurrency
  • Pause or resume dreaming globally
  • Pause or resume dreaming for a specific user
  • Inspect per-user dream status, failures, last run time, and files touched
  • Review dream-agent behavior before enabling it broadly

Dreaming is optional. Start conservative, inspect dream-agent revisions, and widen only after quality and cost are clear.

Admin API map

The console is backed by the admin API:

EndpointPurpose
GET /v1/admin/usersList user scopes derived from memory files
GET /v1/admin/filesList memory files
GET /v1/admin/files/*Read one memory file
PUT /v1/admin/files/*Edit one memory file
GET /v1/admin/revisionsList write revisions
POST /v1/admin/revisions/pruneManually prune old revision snapshots
GET /v1/admin/access-logsList access log rows
GET /v1/admin/observability/*Read memory health, topology, activity, and event data
GET /v1/admin/dream/*Read dreaming config and per-user status
PUT /v1/admin/dream/*Update dreaming config or pause state

For production caveats around retention, concurrency, and security boundaries, see Production Considerations and User ID Trust Model.

On this page