Skip to content
LanNguyenSiPublic

About

Monorepo workshop for agent-development tooling: orchestrator-workflow and okf-kit ship on npm; slop-detector is the AI-slop linter for PRs.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

agent-dx

A monorepo workshop for agent-development tooling, built while shipping AI-agent coding workflows in practice.

Overview

agent-dx collects the CLIs, linters, and playbooks used to build and review AI-agent coding workflows across this workshop and its sibling repos. It is a folder of independent packages, not an npm workspaces, pnpm, or lerna monorepo: there is no root package.json and no shared root node_modules. Four packages ship on npm today: orchestrator-workflow, okf-kit, agent-primitives, and friction-log. The rest are working tools or documentation packages. See Repo layout and package status for how the packages relate to each other.

Packages

Package What it does npm
orchestrator-workflow Installer for an orchestrator-led agent workflow: .ai/ run state, an AGENTS.md policy section, and subagent definitions with preselected models for Claude Code, Codex, and opencode. published
okf-kit CLI that validates OKF v0.1 knowledge bundles (structure, links, staleness against git history, citation drift), scaffolds a starter bundle with init, and lists which docs claim a changed path with docs-for. published
agent-primitives Agent-first CLI that returns one bounded JSON result per call: mutation-probe and verify runners, a PATH doctor, identifier-drift and commit-hygiene guards, and checkout snapshot/delta, plus an init command that installs its own skill document into a harness's skill directory. published
slop-detector AI-slop linter for PRs: catches leaked tool-call XML, doubled Summary headings, hedging openers, marketing adjectives, and other agent-generated tells across eight rule packs. not published (name taken by an unrelated package; run from a local build)
agent-dev-kit CLI scaffolding for AI agent projects: file layout, hooks, entrypoints. not published
friction-log Capture, query, and infer agent-workflow frictions. SQLite-backed, sink-pluggable, zero-config default. published
git-batch-cli Run safe batch git operations across all repos under a folder: sync, status, dirty checks, fetch, with --strict for automation. not published
mcp-token-audit Ranks tool calls in Claude Code transcripts by approximate token cost per tool name, with an mcp__* share of the total. not published
github-api-tool TypeScript CLI for GitHub API operations (issues, PRs, commits, standup digests), JSON output for agents calling via exec. private
agent-engineering-playbook Guide for building production-ready AI agent systems. doc package
agentic-coding-playbook Practical playbook for teams using AI agents in coding. doc package

Both playbooks are also published as one searchable site: https://lannguyensi.github.io/agent-dx/.

Quick start

Requires Node.js >= 20; friction-log requires Node.js >= 22. CI runs on Node 22.

Try one of the published CLIs directly:

npx orchestrator-workflow init
npx okf-kit check path/to/bundle

For any other package, clone the repo, then build that one package locally:

git clone https://github.com/LanNguyenSi/agent-dx
cd agent-dx/packages/<name>
npm install
npm run build

git-batch-cli is plain JavaScript and has no build step: run npm install && npm link in its directory instead.

Usage

Example: run the AI-slop linter against a Markdown file from a local build.

cd packages/slop-detector && npm install && npm run build && cd ../..
node packages/slop-detector/dist/cli.js check examples/slop-sample.md --explain

Documentation

Development and contributing

See CONTRIBUTING.md for issue and PR conventions, the dev setup per package (npm install, npm run build, npm test), and the release process.

License

MIT, see LICENSE. Experimental: each code package has its own version and its own entry in the shared CI matrix, and APIs may evolve at minor-version bumps.

About

Monorepo workshop for agent-development tooling: orchestrator-workflow and okf-kit ship on npm; slop-detector is the AI-slop linter for PRs.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages