Skip to main content

CLI for installing AGENTS.md, .agents rules, AI coding workflows, and client adapters into software projects.

Project description

简体中文

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_feed-1.1.6.tar.gz (107.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_feed-1.1.6-py3-none-any.whl (149.8 kB view details)

Uploaded Python 3

File details

Details for the file agent_feed-1.1.6.tar.gz.

File metadata

  • Download URL: agent_feed-1.1.6.tar.gz
  • Upload date:
  • Size: 107.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_feed-1.1.6.tar.gz
Algorithm Hash digest
SHA256 02f7cad807fa69c3abd2a22283e6691f9e18fb055d4e54799b5b3587e14cdd2c
MD5 4e680e3592f8de53e3b4cb122d20149c
BLAKE2b-256 2aaeb3a68ad23383a8bf6c9f31158e660ff2184cc7ce781bc4fad6272e53be6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_feed-1.1.6.tar.gz:

Publisher: publish.yml on fqmyysjjd/agent-feed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agent_feed-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: agent_feed-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 149.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_feed-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 35afab2e1fb0d55d8ee414b3db3c7cbcaa6973319d5f129109d802fc4d4b9868
MD5 de1c8037240649a0fb8cac0cad59d759
BLAKE2b-256 2eed18f9e567d9c4a035e7d113f46bd9bd9c0d0e130aa5779c8a5d3ea404ff87

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_feed-1.1.6-py3-none-any.whl:

Publisher: publish.yml on fqmyysjjd/agent-feed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page