# Agent Context Manager

## Links

- Product page URL: https://www.agentpmt.com/marketplace/agent-context-manager
- Product markdown URL: https://www.agentpmt.com/marketplace/agent-context-manager?format=agent-md
- Product JSON URL: https://www.agentpmt.com/marketplace/agent-context-manager?format=agent-json

## Overview

- Product ID: 6a389fd44cde57baf7edba1b
- Type: core utility
- Unit type: request
- Price: 0 credits
- Categories: AI & Machine Learning, Agent Memory and Context
- Generated at: 2026-07-10T21:13:36.355Z

### Page Description

Give your AI agents a single source of truth. Agent Context Manager lets you create, organize, version, and reuse the knowledge your agents and workflows rely on -- brand guidelines, standard operating procedures, product and pricing facts, tone-of-voice rules, and domain expertise -- so every agent acts on the same up-to-date information. Start from polished public templates, clone them into your private library, and edit once: every agent and workflow that references a document stays in sync automatically. Built-in version history shows exactly what changed, who changed it, and lets you roll back with confidence.

### Agent Description

Manage reusable Agent Context documents -- structured knowledge (brand guidelines, SOPs, product facts, domain rules) that agents and workflows load at runtime. Actions: list and search your private documents and the public template library, fetch a full document body, create and update private documents, archive documents you no longer need, clone a public template into your private context, and review version history. Any authenticated user can call every action. You can only modify your own private documents; only admins manage public templates.

## Details

### Details

Give your AI agents a single source of truth. Agent Context Manager lets you create, organize, version, and reuse the knowledge your agents and workflows rely on -- brand guidelines, standard operating procedures, product and pricing facts, tone-of-voice rules, and domain expertise -- so every agent acts on the same up-to-date information. Start from polished public templates, clone them into your private library, and edit once: every agent and workflow that references a document stays in sync automatically. Built-in version history shows exactly what changed, who changed it, and lets you roll back with confidence.

### Actions

- `list`: List readable Agent Context documents.
- `fetch`: Fetch one readable Agent Context document.
- `create`: Create an Agent Context document.
- `update`: Update editable fields on an Agent Context document.
- `request_unlock`: Request a temporary 30-minute edit unlock for a locked Agent Context document.
- `archive`: Archive an Agent Context document.
- `clone_template`: Clone a public Agent Context template into private context.
- `versions`: List retained versions for a readable Agent Context document.

### Use Cases

Define a brand voice and style guide once and have every content agent follow it. Store standard operating procedures so support and operations agents handle tasks consistently. Keep product catalogs, pricing rules, and policy documents in one place that workflows reference at runtime. Onboard a new agent instantly by attaching a curated set of context documents instead of rewriting prompts. Roll out a company-wide change by editing a single document instead of updating every workflow that uses it. Clone a vetted public template -- such as a customer-support playbook or editorial style guide -- and tailor it to your business. Audit and roll back changes to mission-critical instructions using full version history.

### Workflows Using This Tool

No public workflows currently reference this product.

### Related Content

No related content is currently linked to this product.

## Integration Details

### DynamicMCP

- Setup page URL: https://www.agentpmt.com/dynamic-mcp
- Claude setup guide: https://www.agentpmt.com/dynamic-mcp#platform=claude
- ChatGPT setup guide: https://www.agentpmt.com/dynamic-mcp#platform=chatgpt
- Cursor setup guide: https://www.agentpmt.com/dynamic-mcp#platform=cursor
- Windsurf setup guide: https://www.agentpmt.com/dynamic-mcp#platform=windsurf

Use the local router for command-based MCP clients. It forwards requests to `https://api.agentpmt.com/mcp` and does not execute tools locally.

```bash
npm install -g @agentpmt/mcp-router
agentpmt-setup
```

### REST API

The live page renders cURL, Python, JavaScript, and Node.js examples. Logged-in users see those examples prefilled with their own API and budget credentials.

- Purchase endpoint: https://api.agentpmt.com/products/purchase
- Authorization format: `Bearer <base64(apiKey:budgetKey)>`

```bash
curl -X POST "https://api.agentpmt.com/products/purchase" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer eW91ci1hcGkta2V5LWhlcmU6eW91ci1idWRnZXQta2V5LWhlcmU=" \
  -d '{
    "product_id": "6a389fd44cde57baf7edba1b",
    "parameters": {
      "action": "list",
      "scope": "private",
      "limit": 100
    }
  }'
```

### Autonomous Agents

Autonomous agents can access this tool through AgentAddress credit balances or direct x402 payments. Use the Autonomous Agent API reference for endpoint shapes after choosing the access pattern below.

- Autonomous Agent API reference URL: https://www.agentpmt.com/docs/api-reference/autonomous-agents
- Autonomous Agent API reference markdown URL: https://www.agentpmt.com/docs/api-reference/autonomous-agents?format=agent-md
- Credit-Based Access Using AgentAddress: https://www.agentpmt.com/docs/autonomous-agents/credit-based-tool-usage-with-agentaddress
- AgentAddress is preferred for persistent file access, stored platform state, and maximum tool use ability across repeated calls.
- Direct x402 is for independent one-off tool calls that do not require shared files or stored platform state.
- Direct x402 public payments: USDC on Base, Arbitrum, Optimism, Polygon, and Avalanche.

#### Product Skill Package

This product has a published Agent Skill package for product-specific operating instructions.

- Skill slug: agent-context-manager
- Version: 1.0.0
- Download SKILL.md: https://raw.githubusercontent.com/AgentPMT/agent-skills/main/skills/agent-context-manager/SKILL.md
- Package source: https://github.com/AgentPMT/agent-skills/tree/main/skills/agent-context-manager
- OpenClaw listing: https://clawhub.ai/agentpmt/agent-context-manager
- OpenClaw install: `openclaw skills install agent-context-manager`
- skills.sh install: `npx skills add AgentPMT/agent-skills --skill agent-context-manager`
- Last published: 2026-07-10T17:26:55.885Z

### Schema

#### Parameters

- Schema type: actions

```json
{
  "actions": {
    "list": {
      "description": "List readable Agent Context documents.",
      "properties": {
        "query": {
          "type": "string",
          "description": "Optional search over title, summary, and tags for list.",
          "required": false
        },
        "scope": {
          "type": "string",
          "description": "List scope. Use all to include owned private documents and public templates.",
          "required": false,
          "default": "private",
          "enum": [
            "private",
            "public_template",
            "all"
          ]
        },
        "include_archived": {
          "type": "boolean",
          "description": "When true, include archived documents in list results.",
          "required": false
        },
        "limit": {
          "type": "integer",
          "description": "Maximum documents to return for list.",
          "required": false,
          "default": 100,
          "minimum": 1,
          "maximum": 200
        }
      }
    },
    "fetch": {
      "description": "Fetch one readable Agent Context document.",
      "properties": {
        "context_document_id": {
          "type": "string",
          "description": "Agent Context document ObjectId. Required for fetch/update/archive/clone_template/versions.",
          "required": true
        }
      }
    },
    "create": {
      "description": "Create an Agent Context document.",
      "properties": {
        "title": {
          "type": "string",
          "description": "Document title for create/update.",
          "required": true
        },
        "summary": {
          "type": "string",
          "description": "Optional short summary for create/update.",
          "required": false
        },
        "body": {
          "type": "string",
          "description": "Document body for create/update.",
          "required": true
        },
        "tags": {
          "type": "array",
          "description": "Optional tags for create/update.",
          "required": false,
          "items": {
            "type": "string",
            "description": ""
          }
        },
        "document_scope": {
          "type": "string",
          "description": "Create-only scope. public_template requires admin JWT.",
          "required": false,
          "default": "private",
          "enum": [
            "private",
            "public_template"
          ]
        },
        "agent_edit_approval_required": {
          "type": "boolean",
          "description": "When true, agents need a user-approved temporary unlock before editing this document.",
          "required": false
        }
      }
    },
    "update": {
      "description": "Update editable fields on an Agent Context document.",
      "properties": {
        "context_document_id": {
          "type": "string",
          "description": "Agent Context document ObjectId. Required for fetch/update/archive/clone_template/versions.",
          "required": true
        },
        "title": {
          "type": "string",
          "description": "Document title for create/update.",
          "required": false
        },
        "summary": {
          "type": "string",
          "description": "Optional short summary for create/update.",
          "required": false
        },
        "body": {
          "type": "string",
          "description": "Document body for create/update.",
          "required": false
        },
        "tags": {
          "type": "array",
          "description": "Optional tags for create/update.",
          "required": false,
          "items": {
            "type": "string",
            "description": ""
          }
        },
        "agent_edit_approval_required": {
          "type": "boolean",
          "description": "When true, agents need a user-approved temporary unlock before editing this document.",
          "required": false
        }
      }
    },
    "request_unlock": {
      "description": "Request a temporary 30-minute edit unlock for a locked Agent Context document.",
      "properties": {
        "context_document_id": {
          "type": "string",
          "description": "Agent Context document ObjectId. Required for fetch/update/archive/clone_template/versions.",
          "required": true
        }
      }
    },
    "archive": {
      "description": "Archive an Agent Context document.",
      "properties": {
        "context_document_id": {
          "type": "string",
          "description": "Agent Context document ObjectId. Required for fetch/update/archive/clone_template/versions.",
          "required": true
        }
      }
    },
    "clone_template": {
      "description": "Clone a public Agent Context template into private context.",
      "properties": {
        "context_document_id": {
          "type": "string",
          "description": "Agent Context document ObjectId. Required for fetch/update/archive/clone_template/versions.",
          "required": true
        }
      }
    },
    "versions": {
      "description": "List retained versions for a readable Agent Context document.",
      "properties": {
        "context_document_id": {
          "type": "string",
          "description": "Agent Context document ObjectId. Required for fetch/update/archive/clone_template/versions.",
          "required": true
        }
      }
    },
    "get_instructions": {
      "description": "Return Agent Context Manager usage guidance."
    }
  }
}
```

### Usage Instructions

# Agent Context Manager

Agent Context Manager stores and maintains reusable **Agent Context documents** -- the persistent knowledge your AI agents and workflows draw on every time they run (brand guidelines, SOPs, product facts, tone rules, domain expertise). Maintain a document once and every agent or workflow that references it stays in sync.

## Document fields
- **title** (required) -- short, descriptive name.
- **summary** (optional) -- one-line overview shown in lists and pickers.
- **body** (required) -- the full knowledge the agent should load. Markdown is supported.
- **tags** (optional) -- keywords for search and organization.
- **scope** -- `private` (yours to create and edit) or `public_template` (admin-managed, available for anyone to clone).

## Actions
- **list** -- list and search readable documents. Use `scope: private` (default), `public_template`, or `all`. Supports `query`, `include_archived`, and `limit`.
- **fetch** -- retrieve one document's full body by `context_document_id`.
- **create** -- create a private document (title and body required). Creating a `public_template` requires admin access.
- **update** -- edit title, summary, body, or tags on a document you own.
- **archive** -- retire a document so it can no longer be attached, while keeping its history.
- **clone_template** -- copy a public template into your private library so you can customize it. The clone tracks the template it came from.
- **versions** -- review retained revisions (who changed what and when) so you can compare and roll back.

## Permissions
- Any authenticated user can run every action.
- You can only modify your own private documents.
- Only admins create or edit public templates.

## Best practices
- Keep each document focused on one topic (one for brand voice, one for return policy) so agents load only what they need.
- Start from a public template when one fits, then clone and tailor it.
- Edit the shared document rather than duplicating knowledge across workflows -- one update propagates everywhere.
- Use clear titles and tags so documents are easy to find and attach.
- Rely on version history before large edits; you can always roll back.

### Additional Product Content

## Agent Context Manager

AI agents are only as good as the context they are given. Agent Context Manager is the system of record for that context -- a place to write, organize, version, and reuse the knowledge your agents and workflows depend on. Instead of pasting the same instructions into every agent and re-explaining your brand, your policies, and your product details over and over, you maintain them once as reusable **Agent Context documents** and reference them everywhere.

### What is an Agent Context document?

An Agent Context document is a structured, reusable piece of knowledge that agents and workflows load at runtime. Each document has a title, an optional summary, a body (your actual content, written in Markdown), and tags for organization. Typical documents include brand voice and style guides, standard operating procedures, product catalogs and pricing rules, compliance and policy language, and domain expertise that your agents need to act correctly.

### Private documents and public templates

Documents come in two scopes. **Private documents** belong to you -- you create and edit them, and only you can change them. **Public templates** are admin-curated starting points anyone can clone. When you clone a template, you get a private copy to customize while a link back to the original is preserved for reference.

### Write once, stay in sync everywhere

The same document can be attached to many agents and many workflows. Because they all reference the source document, editing it once updates every place that uses it. Roll out a new policy, a tone change, or a product update by editing a single document instead of hunting through every workflow.

### Full version history

Every change is tracked. Version history shows what changed, which fields were edited, and when -- so you can review the evolution of a critical instruction and roll back with confidence if an edit does not land the way you expected.

### Key capabilities

1.  Create and update private context documents with Markdown bodies.
2.  Browse and search a library of public templates, then clone the ones you want.
3.  List and search your documents by title, summary, and tags.
4.  Archive documents you no longer use while keeping their history.
5.  Review retained versions and roll back changes.

### Who it is for

Marketing and content teams enforcing a consistent brand voice, operations and support teams standardizing how agents handle tasks, and anyone building multi-agent systems who needs a reliable, central source of truth for the knowledge their agents act on.

### Frequently Asked Questions

#### How do I connect this tool to an external agent?

- Page URL: https://www.agentpmt.com/faq
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md

You can install the local MCP server by opening a terminal and running:

```
npm install -g @agentpmt/mcp-router
agentpmt-setup
```

This will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.

Alternatively you can connect to the hosted version with this config block, no installation required:

```
{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}
```

[View MCP Connection Instructions](/docs/mcp-reference/connection) for more details.

#### How does an external agent use this tool?

- Page URL: https://www.agentpmt.com/faq
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md

After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:

> Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get\_instructions' so you know how to use the tool search interface. Then call action 'get\_schema' with tool\_id 6a389fd44cde57baf7edba1b ("Agent Context Manager"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it

The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.

#### Can I reuse one document across multiple agents and workflows?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb86497efaebb5d5013e
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb86497efaebb5d5013e
- Tags: Product Specific

Yes. That is the point. Attach the same document anywhere it is needed, and edit it once to update every agent and workflow that references it -- no more updating the same instructions in many places.

#### Does it keep version history and can I roll back?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb86497efaebb5d5013f
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb86497efaebb5d5013f
- Tags: Product Specific

Yes. Every change is recorded with the fields that changed and when. You can review retained revisions and roll back to an earlier version if an edit does not work out.

#### How do my agents and workflows actually use these documents?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb86497efaebb5d5013c
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb86497efaebb5d5013c
- Tags: Product Specific

You attach a document to an agent or workflow, and its content is provided to the agent as context when it runs. Because agents reference the source document, you maintain the knowledge in one place rather than copying it into every prompt.

#### How is this different from writing instructions directly into each agent's prompt?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb87497efaebb5d50141
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb87497efaebb5d50141
- Tags: Product Specific

Inline prompt instructions are duplicated and drift out of sync across agents. Agent Context documents are a single source of truth: one edit propagates to everything that references the document, and every change is versioned and reversible.

#### What is an Agent Context document?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb86497efaebb5d5013b
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb86497efaebb5d5013b
- Tags: Product Specific

It is a reusable, structured piece of knowledge -- a title, optional summary, a Markdown body, and tags -- that your AI agents and workflows load at runtime. Common examples are brand voice guides, standard operating procedures, product and pricing facts, and policy or compliance language.

#### What is the difference between a private document and a public template?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb86497efaebb5d5013d
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb86497efaebb5d5013d
- Tags: Product Specific

Private documents are yours -- you create and edit them, and only you can modify them. Public templates are admin-curated starting points that anyone can clone into their private library and then customize.

#### Who can see or edit my context documents?

- Page URL: https://www.agentpmt.com/faq#faq-6a3afb87497efaebb5d50140
- Markdown URL: https://www.agentpmt.com/faq?format=agent-md#faq-6a3afb87497efaebb5d50140
- Tags: Product Specific

You can only modify your own private documents. Any authenticated user can run every action of the tool, but private documents stay under their owner's control, and only admins manage the shared public templates.

### Dependencies

This product has no public dependency products.