image
Akan.js
Docs
DocsConventionsReferencesCheatsheet
English
image
Akan.js
Akan.js v2 docs are now available.View the v1 docs
DocsConventionsReferencesCheatsheet
Released under the MIT License
Official Akan.js Consulting onAkansoft
Copyright © 2026 Akan.js All rights reserved.
System managed bybassman
CLI Reference
• Commands
• Workspace
• Application
• Library
• Module
• Scalar
• Package
• Page
• Cloud
• Context
• Agent
• Guideline
AkanJS Reference
• akanjs/base
• akanjs/common
• akanjs/constant
• akanjs/fetch
• akanjs/signal
• akanjs/server
• akanjs/client
• akanjs/webkit
UI Reference
• Overview
• Core
• Display
• Forms
• Overlays
• System
CLI Reference
• Commands
• Workspace
• Application
• Library
• Module
• Scalar
• Package
• Page
• Cloud
• Context
• Agent
• Guideline
AkanJS Reference
• akanjs/base
• akanjs/common
• akanjs/constant
• akanjs/fetch
• akanjs/signal
• akanjs/server
• akanjs/client
• akanjs/webkit
UI Reference
• Overview
• Core
• Display
• Forms
• Overlays
• System
Next
Commands

Agent CLI

Agent commands install project guidance files for coding assistants. They are intentionally separate from the MCP server: rules are persistent project instructions, while MCP provides live read-only context.
Use this after creating a workspace or when you want Cursor, Claude Code, Codex-style agents, and similar tools to follow Akan conventions consistently.

agent

Install Akan agent rules for editors and coding agents. The generated files summarize workspace shape, module abstract rules, generated file boundaries, validation commands, and the compact framework guideline.
Signature
Arguments
ArgumentTypeRequiredDefaultDescription
targetStringnoallRule target. Use cursor, agents-md, claude, or all.
target
Type
String
Required
no
Default
all
Description
Rule target. Use cursor, agents-md, claude, or all.
Options
OptionTypeDefaultEnum / FlagDescription
--forceBooleanfalse-Overwrite existing rule files. Without this flag, existing files are protected.
--force
Type
Boolean
Default
false
Enum / Flag
-
Description
Overwrite existing rule files. Without this flag, existing files are protected.
Notes
NameDescription
cursorWrites `.cursor/rules/akan.mdc`.
agents-mdWrites `AGENTS.md` for generic agent clients such as Codex-style tools.
claudeWrites `CLAUDE.md` for Claude Code style project guidance.
abstract ruleGenerated rules tell agents to read `*.abstract.md` before module behavior changes and update it when public behavior or workflows change.
cursor
Description
Writes `.cursor/rules/akan.mdc`.
agents-md
Description
Writes `AGENTS.md` for generic agent clients such as Codex-style tools.
claude
Description
Writes `CLAUDE.md` for Claude Code style project guidance.
abstract rule
Description
Generated rules tell agents to read `*.abstract.md` before module behavior changes and update it when public behavior or workflows change.
Examples
Agent CLI
agent