You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@ncoderz/awa

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ncoderz/awa

awa is an Agent Workflow for AIs. It is also a CLI tool to powerfully manage agent workflow files using templates.

latest
Source
npmnpm
Version
1.9.0
Version published
Weekly downloads
268
-79.38%
Maintainers
1
Weekly downloads
 
Created
Source

awa

CI npm version License: BSD-3-Clause

Structured, traceable AI development.

awa is an Agent Workflow for AIs. It provides a Spec-Driven Design (SDD) workflow with full end-to-end traceability, with tools to enforced consistency and help the AI follow the connections. It is also a powerful templating tool for agent configuration files.

awa was written by awa (AI-assisted development using its own workflows). The workflows themselves are designed and crafted by a human who uses Copilot. If something is wrong, let's fix it together.

Documentation · Quick Start · CLI Reference

The Problem

AI agents produce output that looks right but isn't connected. Requirements live in one place, implementation in another, tests in a third — nothing links them. The AI doesn't know when it has drifted from the original intent. You don't either, until something breaks.

Agent configuration files diverge too: copy-pasted between projects, modified by hand, silently out of date.

How awa Solves It

awa provides a structured SDD workflow:

ARCHITECTURE → FEAT → REQUIREMENTS → DESIGN → TASKS → CODE & TESTS → DOCUMENTATION

Every code and test artifact carries an explicit traceability marker (@awa-impl, @awa-test, @awa-component) that links it back to its originating requirement and acceptance criterion. Any line of code traces back to why it was written. Any requirement traces forward to the tests that verify it.

awa check enforces this chain — validating spec structure via YAML schemas and ensuring every acceptance criterion maps to code and tests. awa trace assembles the chain into context so AI agents can navigate it rather than guess.

Agent configuration files are generated from templates — and can be added to your project or updated consistently with a single awa init call.

SDD & Traceability Features

  • Structured workflow with full traceability - every requirement, acceptance critera and property test has an ID, every line of code links back via @awa-component, @awa-impl and @awa-test code markers
  • awa check - allows AI or humans to enforces spec structure via YAML schemas, and to validate traceability markers against spec IDs
  • awa trace - allows AI or humans to explore traceability chains and quickly assemble context from specs, code, and tests
  • Agent-agnostic - Copilot, Claude, Cursor, Windsurf, and more from a single template set

Template Bootstrap Features

  • Eta templates with conditionals, loops, and partials for AI configuration files
  • Feature flags and presets — turn content on/off per project
  • Template overlays — layer customizations without forking
  • awa template diff — shows exactly what changed before you commit; --watch re-diffs on template changes
  • awa template test — verifies templates against fixtures and snapshots
  • awa template features — discovers available feature flags and presets
  • Multi-target configuration — for generating different agent setups in one command
  • Git or local — template sources (GitHub, GitLab, Bitbucket, or local path)
  • --json and --summary — flags for CI integration

See the full documentation for details.

Quick Start

Install

npm install -g @ncoderz/awa

Or use with npx:

npx @ncoderz/awa init .

Initialise Project

# Current directory, default template
awa init .

# With specific features
awa init . --features copilot claude cursor

See the Quick Start guide for more.

Several tools address AI-assisted development workflows. Each brings different strengths:

ToolDescriptionRuntime
awaTemplated agent config generation with spec-driven workflow and traceabilityNode + CLI
KiroIDE with built-in spec-driven development and agent hooksStandalone IDE + CLI
Spec KitPython CLI for structured specs with broad agent support (18+)Python 3.11+ / uv
BMAD MethodAgile workflow with role-based AI personasShell / Python / yq
AI RPI ProtocolZero-dependency markdown rules for disciplined AI developmentNone (markdown only)

What each tool does well

  • Kiro — Deep IDE integration with agent hooks that trigger on file save, giving a seamless spec-driven experience without leaving your editor
  • Spec Kit — Supports 18+ agents out of the box and brings GitHub's backing; great if you work in Python and want broad compatibility
  • BMAD Method — Role-based AI personas (architect, PM, developer) that mirror agile team structures, useful for larger or more formal projects
  • AI RPI Protocol — Works instantly with no tooling to install; a simple, proven mental model for disciplined AI-assisted development

Where awa fits

awa focuses on two things other tools don't combine: end-to-end traceability (every line of code links back to a requirement via @awa-impl / @awa-test markers, validated by awa check) and templateable agent configuration (feature flags, presets, overlays, diff detection). It's agent-agnostic — one template set generates config for Copilot, Claude, Cursor, Windsurf, and more.

Development

Prerequisites

  • Node.js 24+
  • npm

Setup

npm install
npm run build

Scripts

CommandDescription
npm run buildBuild for production (dist/)
npm run devRun CLI in development mode
npm testRun tests
npm run test:watchRun tests in watch mode
npm run test:coverageRun tests with coverage
npm run checkRun awa check on this project
npm run lintCheck code with ESLint
npm run lint:fixFix linting issues
npm run formatFormat code with Prettier
npm run typecheckTypeScript type checking
npm run gen:exampleGenerate example template to outputs/example
npm run gen:awaGenerate awa templates to outputs/awa
npm run gen:awa:thisGenerate awa templates to current directory
npm run diff:awa:thisDiff awa templates against current directory

Community

License

© 2025-26 ncoderz Ltd. Released under the BSD 3-Clause License.

Acknowledgments

  • Eta — Lightweight templating engine
  • commander — CLI framework
  • degit — Git repository fetching

Keywords

cli

FAQs

Package last updated on 13 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts