Memorylayer

Hosted memory runtime for agents

Integrations

One memory surface for every agent client.

Memorylayer keeps the contract simple: HTTP routes for common operations, a hosted MCP bridge for higher-level tools, and starter skills for agent behavior.

6

copyable client snippets

12

integration recipes for real clients

2

starter skills for agent bootstrapping

codex claude ci custom
01 / Codex
Project handoff by default

Load compact context before code edits and save a checkpoint before the session ends.

02 / Claude
Skill-based startup

Download a workspace skill that teaches Claude which URLs, headers, and handoff tools to use.

03 / CI workers
Remember build state

Batch ingest logs, flaky test notes, deploy results, and rollback context from automation.

04 / Custom tools
Use the manifest

Generate lightweight clients from routes, examples, SDK snippets, and MCP tool schemas.

Direct APISearch, remember, ingest, export, audit, usage, and status routes.
MCP bridgeOne POST target for retrieval, graph, curation, handoff, and memory health tools.
SkillsMarkdown instructions that make agents use memory consistently.

Client patterns.

Different clients can share the same workspace without sharing the same key.

Codex sessions

Use recent recall and handoff snapshots to make coding sessions resume from the real project state.

recall_contextsession_checkpoint

Claude projects

Install a workspace-specific skill and route memory calls through the hosted bridge.

skillsmcp

GitHub Actions

Send build summaries, failing test clusters, and deploy outcomes through batch ingestion.

ingestautomation

Local scripts

Fetch `.env` output, use curl or requests, and avoid building a custom config format.

envcurl

Dashboards

Render service manifests, route examples, usage summaries, and recent memory exports inside internal tools.

manifestjson

Background agents

Poll context, run work, write findings, and checkpoint on a schedule without a browser session.

workerhandoff

Connection contract.

These endpoints are enough to wire most clients.

/connect
Full workspace client profile with service URLs, startup calls, skill links, and bridge metadata.
/env
Copyable environment variables for local scripts, launchers, and worker processes.
/mcp/tools
Workspace-scoped tool catalog with argument hints and descriptions.
/mcp
Single authenticated bridge for higher-level Engram memory tools.

Starter assets.

Use these to bootstrap clients without writing docs from scratch.

Skill JSON

workspace-memory

Use the hosted workspace memory service for project recall, remember, and recent context.

/workspace-memory.md

session-handoff

Capture the minimum high-value handoff state before stopping work.

/session-handoff.md

Recipes.

Each recipe maps to a client action you can test with curl.

Examples JSON

Codex-style handoff

Load bootstrap Recall recent context Work normally Remember outcome
curl -H "Authorization: Bearer $MEMORYLAYER_KEY" "$MEMORYLAYER_URL/api/workspaces/$SLUG/bootstrap"

Hosted MCP bridge

List bridge tools POST tool name and args Store audit trail
curl -X POST -H "Authorization: Bearer $MEMORYLAYER_KEY" -H "Content-Type: application/json" -d '{"tool":"recall_recent","args":{"limit":5}}' "$MEMORYLAYER_URL/api/workspaces/$SLUG/mcp"

Ingestion pipeline

Create a service key POST memories Watch usage events
curl -X POST -H "Authorization: Bearer $MEMORYLAYER_KEY" -H "Content-Type: application/json" -d '{"source_name":"handoff.md","items":["Deployment completed","Follow up on billing UI"],"layer":"episodic","memory_type":"fact"}' "$MEMORYLAYER_URL/api/workspaces/$SLUG/ingest"

Usage monitor

Poll usage endpoint Group by route Rotate quiet or noisy keys
curl -H "Authorization: Bearer $MEMORYLAYER_KEY" "$MEMORYLAYER_URL/api/workspaces/$SLUG/usage"