Linux 软件免费装
Banner图

BotCreds Agent Memory

开发者 jboydston
botcreds
更新时间 2026年11月7日 06:15
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

rest-api memory mcp ai-agents vector-search

下载

3.1.0 3.0.4 3.2.0 2.0.10 2.0.9 2.2.0 2.3.3 2.3.4

详情介绍:

BotCreds Agent Memory gives your AI agents a persistent, structured memory store accessible via WordPress REST API and MCP (Model Context Protocol). Two modes of operation: Conversation archive and sync (3.1): Save explicitly selected original conversation text outside a chat tool, with resumable uploads, session records, artifact references and compaction checkpoints. Retrieve original passages and search archive text within an explicitly enrolled scope. The included reference client reads operator-reviewed JSONL files; it is not an automatic OpenClaw or Claude Code collector. Manually delete a conversation and its managed archive/checkpoint/session/artifact records, with permanent deletion markers that prevent stale clients from re-uploading it. No automatic age-based forgetting is enabled. Independent curated KV memory, external files and backups are not deleted by archive deletion. In 3.2, managed derived memories tied to deleted sources are purged as described below. Archive access is separate from shared-memory grants: a host administrator must explicitly enroll each scope/user, including administrators, using wp agent-memory archive-scope project/name USER_ID. Server sync operations require InnoDB tables. Checkpoints verify submitted archive ranges, not completeness of native client capture. No original conversations are captured or uploaded automatically. Suggestions and evidence-backed memory (3.2): Agent Memory → Suggestions provides original-source selection, optional WordPress AI Client/Connectors generation, an evidence-linked review inbox, immutable revisions, and explicit application of approved facts/decisions to current shared memory. Approval alone does not publish a memory. Generated Skill files are never installed or executed. Archive scopes require explicit host enrollment, separate from curated-memory grants, including for administrators. Native generation requires compatible WordPress AI Client/Connectors APIs and a configured provider; basic storage/search and external proposal clients do not. Applying a suggestion publishes into the shared curated store, whose readers may differ from archive participants. Source deletion also purges managed derived memory. Automatic conversation capture is not included. Key features: Built for AI agents, by AI agents. Use this plugin for one human and their agents, or for trusted family/group participants who deliberately share and collaborate on memory. It is not a private-vault hosting service for mutually untrusted users. Memory is API-first; only administrators can browse raw memory in wp-admin. Full and prefix grants include reading, modifying, overwriting, deleting and linking shared entries.

安装:

  1. Upload the botcreds-agent-memory folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. (Optional) Go to Agent Memory → Settings and add your OpenAI API key to enable vector mode.
  4. As an administrator, open Users → Edit User → Agent Memory Access for each nonadmin participant and explicitly choose Full shared-store API access or API access to listed prefixes only. Unconfigured users have no memory access. Administrators remain unrestricted.
  5. Create a WordPress Application Password for the authorized participant account under Users → Profile → Application Passwords. Use a dedicated nonadmin account for an agent that does not need administrator rights.
  6. Use the REST API at /wp-json/botcreds-memory/v1/ with Basic Auth.

升级注意事项:

3.2.0 Adds evidence-linked suggestions and explicit reviewed-memory application. Archive enrollment is separate from memory grants. Applying publishes to the shared store; source deletion purges managed derived memory. Automatic conversation capture is not included. 3.1.0 Adds opt-in conversation archives, checkpoint/session/artifact records, original-text retrieval and manual deletion. Archive scopes require explicit host enrollment, separate from memory grants. Automatic capture and age-based forgetting are not included. 3.0.4 Nonadmin API access now requires an explicit grant under Users → Edit User → Agent Memory Access. Existing nonempty prefix grants stay scoped; blank-prefix users must be reauthorized. Admin access is unchanged. Back up before upgrading. 3.0.3 Fixes scoped namespace/tag disclosure. Back up before upgrading and restart MCP clients to refresh cached tools. Prefixes are literal: use qa-restricted/, not qa-restricted/*. 2.0.8 Fixes a fatal error on settings pages. Update recommended. 2.0.4 Security update: unauthenticated frontend HTML requests now return 403. 2.0.0 Initial release. Install and activate to get started.

常见问题:

Do I need an OpenAI API key?

No. Without a key, the plugin works in KV (key-value) mode with text-based search. An OpenAI key enables semantic vector search via embeddings.

How does authentication work?

The plugin uses WordPress authentication, including Application Passwords with HTTP Basic Auth. Authentication alone does not grant memory access: nonadmins also need an explicit full-store or prefix grant from an administrator. All credentials for a WordPress account share that account's memory grant. A person holding an agent credential can make the same API calls; agent-only is an intended workflow, not proof of software identity.

Can I restrict which keys a user can access?

Yes. Go to Users → Edit User → Agent Memory Access, select API access to listed prefixes only, and enter literal, case-sensitive prefixes such as family/. An empty prefix list grants no access; full-store access must be explicitly selected. An explicit No memory access selection overrides retained prefix settings. Existing nonempty prefix grants from earlier versions remain scoped, but previously blank/unconfigured nonadmin accounts are now denied until an administrator grants access. Administrator accounts remain unrestricted.

What is MCP?

MCP (Model Context Protocol) is a standard for AI agents to discover and use tools. The plugin exposes an authenticated MCP manifest (GET) and JSON-RPC tool calls (POST) at /wp-json/botcreds-memory/v1/mcp.

How are embeddings generated?

When you save an entry and an OpenAI key is configured, the plugin schedules a WP-Cron event to generate the embedding asynchronously. Existing entries can be backfilled from the Settings page.

What embedding model is used?

By default, text-embedding-3-small (1536 dimensions). You can change this in the Settings page.

更新日志:

3.2.0 3.1.0 3.0.4 3.0.3 3.0.2 3.0.1 3.0.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0