hooman
AGENTS.md15 starsChanged 4 months agoMITView on GitHub
Hooman is a local-first AI agent toolkit written in TypeScript. It ships as a Node.js CLI (hooman) and library (hoomanjs), built around the Strands Agents SDK and Ink. Main surfaces: Root package: Sub-packages: CI/workflows: Root package: VS Code extension (src/vscode/):
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
15 rules. About 0 are common, 6 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 117
Default verification for root code changes:
- Distinctive: line 145
Follow existing naming and file layout patterns.
- Distinctive: line 147
Prefer editing existing modules over creating parallel abstractions unless the repository already has a clear sibling pattern.
- Very specific: line 173
Prefer compact controls (small padding, text-[11px]–text-xs for chrome actions)
- Very specific: line 174
Prefer small rounded corners (rounded-md / 0.375rem).
- Very specific: line 175
Prefer sentence case for user-facing labels and commands (Keep all, New chat, Open settings…), not Title Case
- Distinctive: line 176
Keep primary vs secondary button roles consistent: solid primary for the main affirmative action, secondary/outline for supporting actions, …
- Very specific: line 179
When adding UI, reuse existing button/token classes rather than hardcoding hex or one-off Tailwind color utilities (text-cyan-400, …
- Very specific: line 181
Use muted (#9ba5a8 / theme.muted / text-muted) for secondary labels, hints, chrome text, and other low-emphasis surface elements — not host …
- Very specific: line 195
Avoid stray console.* output in shared/runtime paths.
- Very specific: line 200
Do not commit secrets. The repo contains configuration paths that may reference local credentials, but secrets belong in user-local config …
- Distinctive: line 207
After making any code changes, you MUST rebuild the affected package(s) before considering the task done:
- Very specific: line 211
If you touch src/vscode/, verify from src/vscode/ separately.
- Very specific: line 213
Do not edit reference/ during ordinary feature work.
- Distinctive: line 214
Keep AGENTS guidance factual and derived from the repository, not assumptions.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hooman — AI agent toolkit
Hooman is a local-first AI agent toolkit written in TypeScript. It ships as a Node.js CLI (hooman) and library (hoomanjs), built around the Strands Agents SDK and Ink.
- Package:
hoomanjs - Runtime: Node.js
>= 24(.nvmrc=24) - Module system: ES modules (
"type": "module") - Root build output:
dist/
Project overview
Main surfaces:
hooman/hooman chat— interactive Ink chat UI (no args runs setup when~/.hooman/config.jsonis missing)hooman setup— first-run wizard (inference + search → writeconfig.json)hooman exec "prompt"— one-shot agent runhooman daemon— channel-driven MCP automationhooman acp— Agent Client Protocol server over stdiosrc/vscode/— separate VS Code extension package backed byhooman acpdocs/— separate Astro/Starlight documentation site
Repository layout
src/cli.ts— CLI entrypoint; compiled todist/cli.jsand exposed as thehoomanbinsrc/index.ts— flat public library APIsrc/core/— shared runtime codeagent/— bootstrap and invocation looptools/— built-in tools (filesystem, grep, fetch, web search, time, todo, etc.)shell/— shell tool and background job manager (shell/shell_output/shell_stop)models/— provider integrationsmcp/— MCP config, transports, OAuth, tool bridgingmodes/—agent,ask,plan, anddesignmode logicprompts/— system and static prompt assetsskills/— skills registry and built-in skills (includeshooman-design)sessions/,state/,memory/,approvals/,utils/— session/state helpers and supporting infrastructure (includesonboarding-config.ts,models-prefetch.ts,search-probe.ts, design delivery export underutils/export-design.ts/export-figma.ts/export-sketch.ts)
src/chat/— Ink chat UIsrc/onboarding/— Ink first-run setup UI (hooman setup)src/configure/— configuration UI used from chatsrc/exec/— exec-mode approvals and questionssrc/daemon/— daemon command support (dashboard/observable store + types,ui/Ink dashboard rendered on an interactive TTY;--no-dashboardor a non-TTY stdout falls back to plain stderr logs)src/acp/— ACP server implementationsrc/vscode/— self-contained VS Code extension package; excluded from the root TypeScript builddocs/— self-contained docs package; excluded from the root TypeScript buildscripts/copy-bundled-assets.mjs— copies prompt and skill Markdown assets intodist/reference/— vendored reference code; do not edit for normal feature work
Key configuration files
Root package:
package.json— npm package metadata, root scripts, runtime/dependency definitionspackage-lock.json— npm lockfile; use npm, not pnpm/yarn/bun for repo worktsconfig.json— strict TypeScript config for the root package; excludessrc/vscode/**.nvmrc— Node 24
Sub-packages:
src/vscode/package.json— VS Code extension package and scriptsdocs/package.json— Astro docs package and scripts
CI/workflows:
.github/workflows/ci.yml— typecheck, Prettier check, root build, and VS Code compile on pushes tomain(and manual dispatch).github/workflows/docs.yml— builds and deploysdocs/to GitHub Pages on pushes tomainthat touchdocs/**.github/workflows/cd.yml— onv*tags: publish npm, VS Code Marketplace, and CLI release bundles / GitHub release in parallel
Build and run commands
Root package:
npm install
npm run dev -- --help
npm run dev -- exec "your prompt"
npm run dev -- chat
npm run typecheck
npm run build
npm run start
node dist/cli.js --helpNotes:
npm run buildrunstsc -p tsconfig.jsonand thennode scripts/copy-bundled-assets.mjsnpm run startruns the built CLI fromdist/cli.jsnpm linkcan be used to link thehoomanCLI locally
VS Code extension (src/vscode/):
cd src/vscode
npm install
npm run compile
npm run typecheck
npm run packageDocs site (docs/):
cd docs
npm install
npm run dev
npm run typecheck
npm run buildTesting and verification
There is no root test framework configured.
Verified from the repository:
- root
package.jsonhas notestscript - root verification is build-based
Default verification for root code changes:
npm run typecheck
npm run build
node dist/cli.js --helpFor src/vscode/ changes, run its local checks from that directory:
npm run typecheck
npm run compileFor docs/ changes, run from docs/:
npm run typecheck
npm run buildCode style and implementation conventions
- TypeScript is strict (
strict,noUnusedLocals,noUnusedParameters,noImplicitOverride,noUncheckedIndexedAccessare enabled). - The root package uses
module: "NodeNext"/moduleResolution: "NodeNext". - Internal TypeScript imports use
.jsextensions in source files. - JSX is enabled with
react-jsx; Ink UI code uses React. - Follow existing naming and file layout patterns; many modules use kebab-case filenames.
- Prompt and skill Markdown files under
src/core/prompts/andsrc/core/skills/built-in/are runtime assets and must stay in sync with code that loads them. - Prefer editing existing modules over creating parallel abstractions unless the repository already has a clear sibling pattern.
UI design guidelines
Apply these consistently across CLI Ink (src/chat/, src/onboarding/, src/configure/), the VS Code extension webview and host chrome (src/vscode/), and docs brand tokens (docs/).
Brand palette (do not invent ad-hoc accents):
| Role | Hex |
| Primary | #0091cd |
| Secondary | #56a0d3 |
| Warning | #ecb731 |
| Error | #ee4c58 |
| Success | #8ec06c |
| Info | #c4dff6 |
| Muted | #9ba5a8 |
Token sources of truth:
- CLI Ink:
src/core/theme.ts(theme.primary,theme.secondary, …) — import and use these instead of named ANSI colors like"cyan"/"red" - VS Code webview:
src/vscode/webview/index.css(@theme+.btn/.btn-primary/.btn-secondary/.btn-ghost) - Docs:
docs/src/styles/tokens.css
Component rules:
- Prefer compact controls (small padding,
text-[11px]–text-xsfor chrome actions) - Prefer small rounded corners (
rounded-md/0.375rem); avoid pill buttons (rounded-full) for actions — reserve full rounding for dots, progress bars, and decorative blurs - Prefer sentence case for user-facing labels and commands (
Keep all,New chat,Open settings…), not Title Case - Keep primary vs secondary button roles consistent: solid primary for the main affirmative action, secondary/outline for supporting actions, ghost for low-emphasis text actions
- In settings/MCP/skills toolbars, keep adjacent inputs and buttons the same height (
h-8/ shared control classes inSettingsEditorView) - Open
instructions.mdin VS Code’s default Markdown editor (not a custom webview editor) - When adding UI, reuse existing button/token classes rather than hardcoding hex or one-off Tailwind color utilities (
text-cyan-400,bg-yellow-500, etc.) - Surfaces (backgrounds, borders, fonts) in the VS Code webview may still follow host
--vscode-*chrome; semantic accents (buttons, success/error/warning/info, muted, links) should use the brand tokens above - Use muted (
#9ba5a8/theme.muted/text-muted) for secondary labels, hints, chrome text, and other low-emphasis surface elements — not host gray or ANSI"gray"
Runtime and operational notes
AGENTS.mdfiles are discovered by walking from the git root down to the current working directory. Keep this file concise and high-signal because it is prompt input.- Project-local runtime overlays live under
.hooman/(config.json,mcp.json) and are separate fromAGENTS.mddiscovery. DESIGN.mdis discovered the same way asAGENTS.md(git root → cwd walk) and injected into the system prompt when present.- Design mode writes HTML artifacts under
.hooman/design/<slug>/(entryindex.html). Strict workflow: intake (brand/fresh/reference) → clarify → shell (5 best-fit + other) → theme (DESIGN.mdor 5 directions + other) → build →preview_design(keep open) → visual QA (export_designimages +launch_subagentkind: "design-review") → human review → ask export format → delivery export → thenstop_design_preview. Delivery formats:pdf/images-to-pdf/ PowerPoint-readypptx/ Figma-readyfigma/figma-deck/ Sketch-readysketch(seehooman-designskill for export details). Needsnpx playwright install chromiumonce. Preview is auto-approved under.hooman/design/; read review shots withbinary: true. src/vscode/is intentionally isolated from the root build/typecheck; do not assume root commands validate it.stdoutdiscipline matters:acpuses stdout for JSON-RPCexecuses stdout for agent outputchatowns the Ink framedaemonowns the Ink frame too when stdout is an interactive TTY (its dashboard); otherwise (piped/redirected/non-TTY, or--no-dashboard) it stays plain-log like the other commands Avoid strayconsole.*output in shared/runtime paths; seesrc/core/utils/logging.tsand how it is applied insrc/cli.ts.
reference/is for reading only unless the task explicitly targets vendored reference material.
Security and release notes
- Do not commit secrets. The repo contains configuration paths that may reference local credentials, but secrets belong in user-local config under
~/.hooman/or environment variables, not source files. - Publishing is tag-driven (only docs and CI run on push to
main):- npm, VS Code Marketplace, and CLI release bundles publish from
v*tags via.github/workflows/cd.yml
- npm, VS Code Marketplace, and CLI release bundles publish from
- Docs deploy from
mainwhendocs/**changes via.github/workflows/docs.yml
Practical guidance for agents
- After making any code changes, you MUST rebuild the affected package(s) before considering the task done:
- Root package (
src/**outsidesrc/vscode/anddocs/): runnpm run buildin the project root. The VS Code extension runs the compileddist/cli.js(viahooman.acp.command), sosrc/edits are not picked up untildist/is rebuilt. - VS Code extension (
src/vscode/**): runnpm run compilefromsrc/vscode/.
- Root package (
- For normal root-package code changes, verify with
npm run typecheckandnpm run build. - If you touch
src/vscode/, verify fromsrc/vscode/separately. - If you touch
docs/, verify fromdocs/separately. - Do not edit
reference/during ordinary feature work. - Keep AGENTS guidance factual and derived from the repository, not assumptions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

