# agent guild

> Local-first shared memory and task handoff protocol for persistent agent work cycles and session isolation.

agent guild is a paid AI agent skill on Agensi by 大谦世界, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [大谦世界](https://www.agensi.io/creators/dqsjqian)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-guild
- Tags: productivity, python, automation, agent-memory, task-management

## About this skill

Context window limits and session resets often cause agents to lose track of multi-step work. You end up repeating instructions or manually copying progress between chats.

### What it does
- **Persistent memory** manages long-term facts, identities, and rules across different sessions and agents.
- **Task checkpointing** saves the full state of active work including goals, decisions, and evidence into isolated task packages.
- **Opt-in resumption** prevents context pollution by listing pending tasks and only loading one when explicitly selected.
- **Cross-agent messaging** enables structured communication between different agent identities without duplicating entire contexts.
- **History management** enforces a configurable storage budget (default 1GiB) with preview-first maintenance plans to prevent bloat.

### How it works
1. **Bootstrap identity** by loading agent-specific rules and universal preferences without injecting old task data.
2. **List pending work** using metadata-only queries to show active tasks and their status for user selection.
3. **Resume task context** to pull in the specific history, attachments, and next actions for the chosen work item.
4. **Checkpoint progress** during the session to save milestones, changed files, and updated implementation details.
5. **Archive on completion** to move the entire task package to a long-term storage directory for audit and reference.

### Frameworks & tools
The skill is built with a Python 3.9+ CLI and utilizes standard library modules. It operates entirely on local filesystem storage within `~/.agent-guild/` or a custom directory.

### Why this beats prompting it yourself
Manual prompts for "remembering" things are fragile and often get truncated or ignored as conversations grow. This skill provides a structured CLI-backed protocol that ensures work state is saved to disk, not just held in volatile model context.

### Use cases
- Manage long-running software migrations across multiple days and sessions.
- Handoff complex research tasks from one specialized agent to another.
- Maintain a consistent persona and set of coding standards across all local projects.
- Audit past decisions by reviewing archived task packages and implementation evidence.

### Known limitations
Does not provide distributed locking for multi-device sync or automated credential management. Requires Python 3.9+ available on the host machine.

## Requires

- Python
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the agent guild skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does Agent Guild prevent agents from losing track of long-term projects?

Agent Guild functions as a local protocol that manages task state and long-term memory outside of the model's context window. It prevents "context drift" by allowing agents to save their progress to disk and resume specific tasks with all relevant history and rules intact.

### Which AI agents or frameworks are compatible with this skill?

This skill is designed to be framework-agnostic and works with any AI agent capable of executing Python 3.9+ CLI commands. Because it relies on a local filesystem protocol rather than specific API integrations, you can use it to coordinate work between different models or platforms.

### Where is my task data and memory stored?

All data, including task checkpoints and agent identities, is stored locally on your machine (defaulting to `~/.agent-guild/`). It does not require a cloud subscription or external database, ensuring your work cycles remain private and under your control.

### What is included in the purchase and how do I get started?

Installation is straightforward via a Python-based setup, and the package includes the core CLI tool, the handoff protocol documentation, and pre-configured templates for agent identities. Once installed, you can immediately begin checkpointing tasks and managing persistent memory.

### How is this different from just asking an agent to remember things in a prompt?

Unlike simple prompts that get buried as a conversation grows, this skill provides a structured storage budget and "preview-first" maintenance. It allows you to load only the specific task data you need, preventing the performance degradation and "hallucinations" caused by overloaded context windows.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
