Skip to main content

简体中文

Agent Feed

Repository-owned workflow governance for AI coding agents.

Stop AI coding from drifting.
Turn scattered instructions into a reliable workflow pipeline for Codex, Claude Code, Cursor, verification, review, and handoff.

Agent Feed workflow pipeline

License: MIT Python 3.11+ AGENTS.md Protocol Flow Template Model

Why · Problems · Quick Start · How It Works · Usage Guide · Trust Model · Commands · Docs


Your AI coding assistant is not broken. It is usually missing a shared workflow.

Agent Feed installs AGENTS.md plus a standardized .agents/ protocol into your repository, giving Codex, Claude Code, Cursor, verification, review, and handoff one unified source of truth. Teams can then extend that foundation without changing the core protocol by layering in project-specific constraints, domain knowledge, and imported skills from skill-hub.

No more drifting conversations, scope creep, invented architecture decisions, or lost context after compression.

Read the Usage Guide
Setup, first AI prompt, project/domain customization, skill imports, upgrades, and troubleshooting.

💡 Why You'll Feel The Difference

Agent Feed turns the recurring failure modes of AI coding into visible advantages:

  • Focused context: the assistant loads the rules, project constraints, domain docs, and skills needed for the current task instead of flooding the prompt or guessing from stale chat.
  • Scope control: outcome boundaries and Task Briefs keep a small request from turning into an unsolicited redesign.
  • Decision safety: architecture, contract, verification, and source-of-truth choices stop at a human confirmation gate instead of becoming accidental code.
  • Evidence-backed completion: "done" is tied to the verification profile, docs checks, review gates, and the actual task boundary.
  • Clean handoff: Context Capsules and session-state rules preserve only result-affecting conclusions, so long sessions can resume without replaying the whole conversation.
  • Flexible customization: keep the core workflow standardized, then layer in project-specific constraints and imported skills for your language, stack, review style, or team habits.

🎯 Problems It Solves

Pain point Without Agent Feed With Agent Feed
Inconsistent behavior across AI tools Rules live in chat, CLAUDE.md, Cursor rules, and scattered docs. One canonical AGENTS.md plus thin adapters.
Small tasks become redesigns The assistant keeps expanding scope. Outcome boundaries, Task Briefs, and task routing.
Important decisions are invented silently Architecture, contracts, or verification choices appear from chat. Decision gates require human confirmation.
"Done" has weak evidence Tests, docs checks, or review are skipped. Verification and review gates are part of the loop.
Long sessions lose direction Context compression drops active conclusions. Session-state handoff and Context Capsule rules.
Skills or scripts drift unexpectedly Trusted AI assets can change without a clear checkpoint. External trust hashes and stop-before-use checks.
Teams need their own methods Generic prompts do not capture project-specific review or implementation habits. Project/domain layers plus skill-hub imports extend the protocol without replacing the core workflow.

In short: Agent Feed turns chaotic AI-assisted coding into a repeatable, controllable, and team-friendly engineering process.

🚀 Quick Start

Install Agent Feed:

brew install fqmyysjjd/tap/agent-feed
# or
uv tool install agent-feed
# or
pipx install agent-feed
# or
npm install -g @yysjjd/agent-feed

The npm package is a thin wrapper around the Python CLI. It requires Python 3.11+ on the machine and installs the matching PyPI package during npm install.

Initialize a project:

agent-feed init      # install the protocol into the current project
agent-feed check     # validate structure, references, scripts, skills, and adapters
agent-feed status    # see current state and the next recommended action

If the project already has AI instructions, init backs them up into .feed-backup/<timestamp>/ and installs Agent Feed without destroying the old workflow. The generated migration guide tells your AI assistant how to preserve decisive legacy rules into .agents/project/ and .agents/domain/.

🤝 Start AI-Assisted Development

After initialization, open your AI coding assistant in the repository and begin with the following task prompt:

First, review the development guidelines for the project, and then, start to carry out our tasks:

1. [Describe the first concrete result you want to achieve]
2. [Describe the second concrete result you want to achieve]

⚙️ How It Works

Instruction In. Verified Handoff Out.

The core workflow enforces a strict, linear pipeline instead of an open-ended chat:

Agent Feed Workflow Pipeline

The protocol is intentionally split by responsibility while remaining customizable:

Layer Responsibility
AGENTS.md Repository entry contract, priority order, mandatory gates, and routing.
.agents/rules/ Reusable workflow constraints for boundary, context, testing, review, git, and handoff.
.agents/project/ User-maintained repository constraints such as architecture, layout, milestones, and verification commands.
.agents/domain/ Stable project knowledge: concepts, contracts, and source-of-truth ownership.
.agents/skills/ Task workflows for architecture, implementation, fixes, reviews, and imported/custom methods.
.agents/session-state/ Compact handoff state for context compression, not a transcript or product memory.
.agents/scripts/ Protocol checks, skill indexing, adapter sync, trust checks, and verification entrypoints.
Client adapters CLAUDE.md, .claude/skills/, and .cursor/rules/agent-feed.mdc point tools back to the canonical protocol.

Agent Feed generated assets

The Bottom Line: Agent Feed adds workflow governance without becoming a heavy runtime service. It is tool-neutral (Codex, Claude Code, Cursor), safe and auditable (external hash storage), and extensible without forking (import skills via skill-hub). Reusable protocol rules stay strictly separated from your project-specific constraints.

🌍 Ecosystem Fit

Agent Feed sits beside the AI coding tools and rule formats developers already use.

Tool or format How Agent Feed relates
AGENTS.md Uses AGENTS.md as the canonical entrypoint, then adds rules, skills, checks, adapters, and handoff around it.
Codex Uses AGENTS.md and .agents/skills/ directly.
Claude Code Gets a thin CLAUDE.md adapter and a .claude/skills/ mirror.
Cursor Gets a thin always-on rule that imports @AGENTS.md.
Continue and other AI tooling Can coexist with Agent Feed as the repository-owned workflow layer around local AI-assisted development.

💻 Common Commands

agent-feed                 # interactive menu in a TTY
agent-feed init            # initialize the current project; backs up old AI instructions
agent-feed status          # compact health and drift summary
agent-feed check -a        # run every protocol and adapter check
agent-feed upgrade         # refresh managed assets and report source-specific CLI updates
agent-feed sync -a         # update all supported client adapters
agent-feed index-skills    # regenerate the skill index after local or imported skill changes
agent-feed skills list     # inspect installed local skills
agent-feed skills remove   # remove one or more installed skills and refresh derived assets
agent-feed skill-hub       # browse and import curated public skills for team-specific workflows
agent-feed config check    # validate project and user-level config
agent-feed config prune    # remove stale user-level project records
agent-feed --help          # full CLI reference

All path arguments are optional. When omitted, commands operate on the current directory.

📚 Documentation

  • AI Development Protocol Flow: the full governance loop, trigger points, file responsibilities, and pain points solved.
  • Agent Feed Usage Guide: practical setup, daily workflow, customization, skills, upgrades, and troubleshooting.
  • Template Model: canonical structure, adapters, skill index, project settings, and trust-state ownership.
  • Trust Model: external hash storage, skill trust levels, and custom-skill safety boundaries.
  • Basic Generated Output: the directory layout created by agent-feed init.
  • Live Protocol Example: the real AGENTS.md, CLAUDE.md, .agents/project/, .agents/domain/, and skill index used to develop this repository.

📂 Repository Tour

src/agent_feed/              Python CLI, checks, prompts, adapters, trust, settings, and templates
npm/                         thin npm wrapper that delegates to the Python CLI
package.json                 npm wrapper package contract
docs/                        public protocol and template docs
examples/                    generated output and live protocol examples
tests/                       Python CLI behavior and protocol regression coverage
.agents/                     development protocol for this repository itself

Release files for agent-feed 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-feed 1.1.6
File Size Uploaded
agent_feed-1.1.6.tar.gz 107.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-feed 1.1.6
File Interpreter ABI Platform
agent_feed-1.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 257.5 kB

Release files / agent_feed-1.1.6.tar.gz

Download URL agent_feed-1.1.6.tar.gz
Size 107.7 kB
Tags Source
SHA-256 checksum
How to use checksums
02f7cad807fa69c3abd2a22283e6691f9e18fb055d4e54799b5b3587e14cdd2c
BLAKE2b-256 checksum
How to use checksums
2aaeb3a68ad23383a8bf6c9f31158e660ff2184cc7ce781bc4fad6272e53be6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 8, 2026.

Transparency log

Release files / agent_feed-1.1.6-py3-none-any.whl

Download URL agent_feed-1.1.6-py3-none-any.whl
Size 149.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35afab2e1fb0d55d8ee414b3db3c7cbcaa6973319d5f129109d802fc4d4b9868
BLAKE2b-256 checksum
How to use checksums
2eed18f9e567d9c4a035e7d113f46bd9bd9c0d0e130aa5779c8a5d3ea404ff87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.6 This release

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page