@aglegg/agentflow
v0.1.0
Published
CLI and compiler for AgentFlow .afx agent instruction projects.
Downloads
171
Maintainers
Readme
AgentFlow
First version of AgentFlow.
AgentFlow is a small CLI for keeping agent instruction files in one place.
You write one .afx file, then build the markdown files that different coding
agents read.
Right now it builds:
AGENTS.mdCLAUDE.mdGEMINI.md.agent/dist/manifest.json.agent/dist/policy.json.agent/dist/build-info.json- JSON schemas for the generated files
Try it locally
pnpm install
pnpm test
pnpm buildRun the CLI:
node dist/cli/main.js --helpTry it in another folder. After pnpm build, link the CLI once so agentflow
is on your PATH:
pnpm link --global
mkdir /tmp/agentflow-demo
cd /tmp/agentflow-demo
agentflow initCommands
agentflow init
agentflow build
agentflow check
agentflow validate
agentflow inspect
agentflow lintStatus
This is still early. The current goal is to get the basic compiler working:
parse .afx, validate it, lint it, and generate stable output files.
License
MIT © Andre Glegg
