afyx-engineering-kit
v1.2.1
Published
Universal cross-platform CLI installer and lifecycle manager for AFYX Engineering Kit
Maintainers
Readme
AFYX Engineering Kit
Kit version 1.2.1. Stable v1 is the release line. Check the Git tag and npm registry for publication status. The Kit tarball includes Windows PowerShell scripts and a Graph command launcher. Verify its source revision and SHA-256 before running it. Release notes
See the changelog for the v1.2.0 changes and contributing guide for branch and verification requirements.
Local-first engineering intelligence, adaptive guidance, and evidence-driven validation for AI coding agents.
Individually Reliable. Collectively Solid.
Evidence-Led Guidance. Bounded Scopes. Strict Integrity. Reproducible Acceptance.
Standalone by Design. Integrated by Contract. Activated by Need.
AFYX Engineering Kit unites six independent engineering products in a modular ecosystem for AI-assisted software development. Use each product on its own or combine eligible capabilities through shared installation and routing contracts. The design prioritizes source evidence, permission boundaries, focused validation, and failure isolation over unqualified automation claims.
Distribution targets: Windows x64, Linux x64, macOS ARM64, and macOS Intel. Verify the checksum and manifest for your Graph bundle. The external macOS pilot remains pending. Provider integration depends on the host and its permissions.
Graph, Forge, Context Engine, and Engineering Expert provide four foundational engineering pillars. Efficient Coding and Odoo Engineering are equally recognized standalone products, not merely auxiliary documentation.
AFYX Engineering Kit uses the Afyx MIT license (Copyright (c) 2026 Afyx)
with zero third-party attributions, zero third-party license notices, and zero
external runtime dependencies.
Provenance review
Why Afyx
Ordinary coding assistants can generate plausible changes while leaving the engineer to establish repository structure, impact, version-specific behavior, and acceptance evidence. Afyx adds reusable engineering controls around that workflow:
- Structural repository intelligence with verifiable file, symbol, call-path, dependency, impact, and index-health evidence.
- Cross-disciplinary engineering orchestration that selects only the product, architecture, security, data, reliability, implementation, ERP, or QA guidance relevant to the task.
- Fail-closed evaluation contracts for controlled engineering comparison and evidence handling.
- Optional context reduction with exact-original recovery, never replacing the original when doing so would be unsafe or more expensive.
- Transactional installation and recovery with ownership boundaries, preview, verification, backup, update, and uninstall behavior shared across platforms.
Afyx is aimed at engineers and technical owners who value source evidence, bounded change, explicit limitations, and reproducible acceptance more than unqualified automation claims.
Six standalone Afyx products
The ecosystem consists of six independently usable products. Each provides a distinct engineering capability; no product requires the whole Kit. An installed capability is selected only when relevant, healthy, and authorized.
| Product | Core capability | Implementation and maturity |
|---|---|---|
| Afyx Graph | Local indexing, structural code intelligence, symbol/dependency navigation, impact and affected-test analysis, CLI and optional MCP. | Standalone Node.js runtime · Technical Alpha; static evidence requires runtime/test verification. |
| Afyx Forge | Deterministic task classification, engineering policies, bounded plans, and diagnostics through Forge Core; distinct evaluation infrastructure. | Standalone Node.js CLI/API v0.1.0 · Technical Alpha; bounded local assistive planning approved, not autonomous code changes; historical 36-cell evaluation remains NOT_RUN. |
| Afyx Efficient Coding | Evidence-led coding, debugging, refactoring, focused validation, and engineering reporting. | Standalone agent skill v1.2.2 · Implemented; guidance, not an execution engine. |
| Afyx Odoo Engineering | Odoo-specific ORM, views, security, module development, migration, and troubleshooting. | Standalone agent skill v1.2.0 · Implemented; reference coverage Odoo 10–20, with target-version verification required. |
| Afyx Context Engine (ACE) | Conservative context reduction, local storage, integrity checks, and exact-original recovery. | Standalone Node.js runtime v0.1.0 · Technical Alpha; explicit Kit selection, no universal savings guarantee. |
| Afyx Engineering Expert | Adaptive engineering guidance across 13 disciplines and six optional workflows. | Standalone agent skill v0.1.1 · Implemented; final D.6 substantive acceptance remains pending. |
Platform services and supporting utilities
The cross-platform installer, updater, verifier, doctor, and capability router are shared Kit infrastructure, not separate products. Optional Windows Afyx Codex Usage Tracking is a seventh registered observability utility, not one of the six primary engineering products.
The component registry is authoritative for installable IDs, presets, supported platforms, and ownership. Consult the Component Guide for detailed functionality and limitations.
Kit and component versions
The Kit version is 1.2.1. Independent component versions
track their individual CLI and contract compatibility. The Kit version tracks
distribution and installer releases, so a component can retain its version
while the Kit evolves. Check the release notes for distribution status.
| Component | Version |
|---|---|
| Graph | 1.2.1 |
| Context | 0.1.0 |
| Forge | 0.1.0 |
| Efficient Coding | 1.2.2 |
| Odoo Engineering | 1.2.0 |
| Engineering Expert | 0.1.1 |
| Usage Intelligence | 1.0.0 |
| Platform | Lifecycle and host requirements | |---|---| | Windows | PowerShell installer, optional Usage Intelligence, Node.js for Graph and Context | | WSL2/Linux | Bash installer, Node.js for Graph or Context, POSIX identity for Forge ACL evidence | | macOS | Bash installer, Node.js for Graph or Context, external installed-host pilot pending |
Git is required for source self-update. Graph and Context require Node.js
>=22.5.0. For an offline POSIX update preview, run
./update.sh --skip-self-update --dry-run --skip-provider-configuration.
The Bash Graph installer requires attestation for GitHub release downloads.
Use --require-attestation for other archive sources. An authenticated GitHub
CLI must verify the exact archive before promotion. The installer advises a new Codex session after
successful changes to reachable MCP configuration.
To preview opt-in pruning of verified skill backups, run
./uninstall.sh --component afyx-engineering-expert --prune-backups --dry-run
or use -PruneBackups -WhatIf on Windows. Five completed verified backups
per selected skill remain. Use --purge-backups or -PurgeBackups to remove
all completed verified backups in scope after confirmation. Both operations
retain active rollback and unowned backups.
The read-only auditor scans supported
source and configuration files, including comments and bounded generated
content. Findings report rule and location with source text redacted. It
refuses symlink traversal and reports partial coverage separately. Use
node scripts/afyx-security-auditor.mjs --help for file-count and scope options.
Its heuristics require review. See component lifecycle
for installation and recovery, and the provenance review
for the upstream attribution policy and comparator evidence.
How the products fit together
flowchart TB
H["Engineer or AI coding host"]
K["Afyx Kit lifecycle and capability router"]
G["Afyx Graph"]
F["Afyx Forge"]
EC["Afyx Efficient Coding"]
O["Afyx Odoo Engineering"]
ACE["Afyx Context Engine"]
E["Afyx Engineering Expert"]
H --> K
K -.-> G
K -.-> F
K -.-> EC
K -.-> O
K -.-> ACE
K -.-> EDiagram legend: The solid arrow shows the Kit entry point; dashed arrows mean optional, task-scoped selection, not automatic activation or a claim that every provider integration has passed acceptance. Every Afyx product can also run independently through its advertised interface. Installation alone does not imply execution; user-disabled capabilities remain disabled.
Registry-based routing and interaction contracts have source-level implementations. Full installed-host interoperability is not claimed as accepted. Graph-to-ACE automatic MCP interception remains default OFF; Forge Core offers assistive plans and has no autonomous execution authority. The interoperability contract distinguishes approved target behavior from proven current behavior.
Current product status
The Kit follows the Stable v1 release line. Verify publisher authenticity against an attestation for the specific artifact you install.
- Graph, the Kit lifecycle, ACE, Efficient Coding, Odoo Engineering, and Engineering Expert have implemented runtime or skill contracts with regression evidence appropriate to their respective interfaces.
- ACE and Forge are included in the Full preset; Minimal and Recommended omit them. Installation does not grant autonomous execution. Healthy installed ACE is used only for eligible on-demand work and respects explicit OFF.
- Automatic Graph–ACE MCP interception remains unproven/default OFF; optional consumer paths have exact-original fallback. Context measurements include positive and negative net results—no universal savings claim is made.
- Forge Core has a real standalone assistive CLI/API and explicitly selectable
runtime on supported installation paths. This is distinct from the formal Forge
B0–B5 evaluator campaign: its 36 cells remain
NOT_RUN; the Owner's A8 GO applies only to bounded local assistive planning, never autonomous execution. - Engineering Expert is usable as a skill, while final D.6 substantive review is still outside the accepted claims.
See Product Vision for the maintained product contract and Component Guide for capability and limitation details.
Install AFYX Engineering Kit — Windows & WSL2
npm installation
Use Node.js 22.5 or later and verify the published version with
npm view afyx-engineering-kit@latest version.
npx afyx-engineering-kit@latest installAn interactive ANSI terminal shows Detect → Select → Configure → Review/Apply →
Finish. Use --ui plain for text output. CI and terminals without ANSI
support use the text flow automatically. Check the bundle manifest for target
support. Use --preset recommended for core skills or --preset full to
include Graph, Context, Forge, and applicable skills.
Quickstart Bahasa Indonesia
Pasang Node.js 22.5 atau lebih baru. Periksa versi yang tersedia dengan
npm view afyx-engineering-kit@latest version, lalu jalankan
npx afyx-engineering-kit@latest install. Tambahkan --dry-run untuk meninjau
rencana instalasi. Konfigurasi MCP mengikuti izin dan prasyarat provider.
Local Developer Setup (Bare NPX Resolution)
For local development or offline environments where npx afyx-engineering-kit install must resolve without contacting public registries:
Windows 11 (PowerShell 7):
.\scripts\link-global-dev.ps1 -Install
.\scripts\link-global-dev.ps1 -VerifyWSL2 Ubuntu (Bash):
./scripts/link-global-dev.sh --install
./scripts/link-global-dev.sh --verifyOnce linked, bare npx resolves locally from any directory completely offline:
npx afyx-engineering-kit install --preset full --skip-provider-configurationTo remove the link:
.\scripts\link-global-dev.ps1 -UninstallRelease archives
Use the GitHub releases page
to locate a release archive and its verification metadata. Generated source
snapshots do not carry prebuilt Graph bundles for the Full preset. Historical
Alpha releases remain available for provenance review. If you previously
linked a local development build globally, remove the link with
npm uninstall -g afyx-engineering-kit before testing the registry package.
Quick start
Prerequisites
- Git.
- Windows PowerShell 5.1+ / PowerShell 7, or Bash 3.2+ on Linux/macOS.
- Supported AI coding host (Codex, Antigravity, or Claude Code; or run host-independent).
- Node.js 22.5+ when selecting Afyx Graph, ACE, or Forge Core.
- npm only when a local build fallback is needed.
1. Clone and preview
Windows:
git clone https://github.com/a5zero7/afyx-engineering-kit.git
Set-Location afyx-engineering-kit
.\install.ps1 -ValidateOnly
.\install.ps1 -WhatIf -Preset recommendedLinux or macOS:
git clone https://github.com/a5zero7/afyx-engineering-kit.git
cd afyx-engineering-kit
./install.sh --validate-only
./install.sh --dry-run --preset recommendedPreview is non-mutating. Inspect every destination and planned action before continuing.
2. Select an actual preset
| Preset | Desired components |
|---|---|
| minimal | Efficient Coding, Odoo Engineering |
| recommended | Minimal + Afyx Engineering Expert |
| full | Recommended + Afyx Graph, Context, Forge, and Windows-only Usage Tracking |
| custom | Only components repeated with CustomComponent / --custom-component |
ACE and Forge Core are included only in full. Installation does not authorize autonomous
Forge execution or automatic Graph MCP interception:
.\install.ps1 -Preset custom -CustomComponent afyx-context -Confirm:$false
.\install.ps1 -Preset custom -CustomComponent afyx-forge -Confirm:$false./install.sh --preset custom --custom-component afyx-context
# Forge Core has a dedicated standalone Unix installer:
./scripts/install-afyx-forge.sh --validate-onlyInstall Recommended:
.\install.ps1 -Preset recommendedSupported AI coding host integrations include Codex, Antigravity, and Claude Code (both standalone CLI and VS Code extension-only). Native provider-aware onboarding registers integrations without changing credentials, models, or host routing:
.\install.ps1 -Preset full -Provider codex,antigravity,claude -ProviderScope workspace -WorkspaceRoot (Get-Location)Antigravity-only plans exclude the Codex Usage Tracking component. See the Installation Guide for global IDE/CLI skill paths, dry-run, verification, and ownership-safe rollback.
./install.sh --preset recommendedOpen a new Codex session after skill installation.
3. Verify
.\verify.ps1 -Preset recommended
.\scripts\afyx-doctor.ps1 -ProjectPath ../verify.sh --preset recommended
./scripts/afyx-doctor.sh --project .verify checks the desired lifecycle state. doctor reports local environment
and project diagnostics without installing, repairing, or calling a model.
First useful workflows
Discover and navigate a repository
afyx-graph init . --yes
afyx-graph query getAfyxGraphDir --path .
afyx-graph explore "external state database lifecycle" --path . --max-files 4Review change impact
afyx-graph impact getAfyxGraphDir --path . --depth 2
afyx-graph affected --path . src/directory.tsGraph output is static repository evidence. It does not prove runtime behavior; run the relevant tests and runtime checks before accepting a change.
Plan a substantial engineering task with Forge Core
After installing the explicitly selected Forge runtime, ask it for a bounded plan; it does not edit source files or execute tests on your behalf:
afyx-forge doctor
afyx-forge plan --task "Trace a cross-module data consistency regression" --format markdownFor source and full usage, see Forge Core. A planned validation checklist is not a completed validation or formal A8 verdict.
Ask for a cross-disciplinary review
Use afyx-engineering-expert to review this authentication change. Cover the
architecture, threat boundary, operational failure modes, and acceptance tests;
load only the relevant disciplines.For Odoo implementation facts, pair Expert with Odoo Engineering and establish the target Odoo major version from repository or runtime evidence.
Reduce and recover exact content with ACE
afyx-context reduce --state /absolute/owned/ace-state --owner local-owner \
--session reviewed-source-sha --input request.json --budget 16000
afyx-context get --state /absolute/owned/ace-state --owner local-owner \
--session reviewed-source-sha --reference 'ace:v1:...'ACE state is local plaintext and must be protected by host filesystem controls. References are owner/session-bound, and retrieval verifies the stored digest.
Lifecycle and safety
The canonical Full preset in scripts/components.json selects Efficient Coding,
Odoo Engineering, Engineering Expert, Graph, Context, Forge, and Codex Usage
Tracking (the last component remains platform/provider-specific). Kit package
versions and individual component versions follow their respective release contracts.
Source self-update uses only the updater's own Git checkout. Packaged/npm sources
without their own .git continue with the installed source, even inside another
repository. Detached checkouts and branches without an upstream skip Git pulling;
dirty checkouts still stop before installation. This does not update an npm package
to a new registry version.
Provider inventory is read-only: it includes the Antigravity VS Code extension and
its existing .gemini/bin/agy CLI even when the CLI is absent from PATH.
Detection alone does not prove MCP registration, permission, or readiness.
The installer inventories before mutation and distinguishes NOT INSTALLED,
HEALTHY, INCOMPLETE, INVALID, DRIFTED, and UNKNOWN. Unknown or foreign
ownership is not silently adopted. Update/repair uses staging, validation,
backup, atomic promotion, and rollback. Project Graph indexes, credentials,
providers, models, unrelated MCP entries, and external tools are preserved.
- Safe installation, update, uninstall, and recovery: Installation Guide
- Component capabilities and troubleshooting: Component Guide
- Read-only diagnostics: Diagnostics
- Product principles and maturity: Product Vision
- Canonical development plan: Afyx v1 Master Roadmap
- Benchmark scope and interpretation: Benchmarks
License and third-party boundaries
License scope must be checked per package. The Kit root, Graph and ACE are
MIT-licensed in their respective license/metadata files; the standalone Forge
Core package currently declares Apache-2.0 in afyx-forge/package.json.
The source ownership ledger records the reviewed AFYX implementations. The
distribution gates verify the current licensing and attribution policy.
