npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cojacklabs/autoforge

v0.25.2

Published

AutoForge is a project-intelligence and orchestration framework for continuous AI-assisted software development. It turns brainstorming, research, planning, design, implementation, validation, and handoff into durable project state that humans and differe

Downloads

7,322

Readme

AutoForge

AutoForge is a project-intelligence and orchestration framework for continuous AI-assisted software development. It turns brainstorming, research, planning, design, implementation, validation, and handoff into durable project state that humans and different coding agents can share.

AutoForge does not replace Codex, Claude Code, Cursor, Gemini, Grok, or another agent. The Core CLI gives every agent the same scoped work, decisions, governance, evidence, and next action instead of making each conversation start from scratch.

This repository contains the v0.25 release candidate. Until v0.25 is published, the globally installed npm release may still report v0.24. Always begin with autoforge version and use explicit Core subcommands in automation.

What v0.25 Provides

| Layer | Package | Responsibility | | -------- | -------------------------------- | ---------------------------------------------------------------------------------------------- | | Protocol | @cojacklabs/autoforge-protocol | Versioned contracts, capabilities, launch negotiation, and handoffs | | Core | @cojacklabs/autoforge-core | Deterministic, model-independent project intelligence | | SDK | @cojacklabs/autoforge-sdk | Supported programmatic facade with injected filesystem, Git, clock, and storage effects | | Core CLI | @cojacklabs/autoforge | Project lifecycle, memory, governance, orchestration, validation, and optional Agent launching | | Agent | @cojacklabs/autoforge-agent | Experimental interactive model runtime; separately approved and installed |

Core remains usable without an account, model provider, hosted service, or Agent installation. Production Web, hosted Service, billing, cloud sync, and multi-provider autonomy are later platform milestones.

Install and Attach a Project

Use one global installation so projects share a workspace registry and update path:

npm install --global @cojacklabs/autoforge
# or: pnpm add --global @cojacklabs/autoforge
# or: yarn global add @cojacklabs/autoforge

autoforge version
autoforge attach "$PWD"
autoforge --project "$PWD" doctor
autoforge projects list

attach initializes local .autoforge/ state and registers the Git repository root globally. A nested path still attaches the whole repository. Use autoforge init only for an intentionally local-only environment such as a disposable CI container.

For a local dependency instead, prefix commands with npx:

npm install --save-dev @cojacklabs/autoforge
npx autoforge init
npx autoforge doctor

Upgrading from v0.24? Read the v0.25 migration guide.

The Continuous AutoForge Loop

AutoForge is most effective when it stays involved throughout the product lifecycle, not only when code is written.

| Stage | Human or agent activity | AutoForge capability | | ---------- | -------------------------------------------------------------------- | -------------------------------------------------- | | Brainstorm | Capture an idea without prematurely coding it | intent assess, intent register | | Research | Preserve findings and provenance | research register, knowledge | | Govern | Check standing rules and domain invariants | constitution, domain, doctrine | | Design | Validate screens, components, flows, states, and relationships | design validate, design import, design check | | Plan | Turn intent into features, phases, tasks, issues, or workflows | planning, workflow, add | | Prioritize | Explain why work is now, next, later, or backlog | strategy assess | | Execute | Open a scoped session and resolve the relevant context | start, context --explain, check | | Validate | Run retained quality/security checks and preserve evidence | gate check, evidence | | Remember | Record why a choice was made and what it changes | decide, why, changelog | | Handoff | Transfer structured state between agents without transcripts | recap, Protocol handoffs, orchestrate handoff | | Learn | Connect hypotheses, experiments, and observations to later decisions | learning | | Reorganize | Reassess dependencies, priority, impact, and project location | orchestrate, trace, twin, projects |

Start every session by asking what is already true:

autoforge --project "$PWD" doctor
autoforge --project "$PWD" recap
autoforge --project "$PWD" status --view next

When work is active, resolve the bounded execution packet before editing:

autoforge --project "$PWD" context --explain

From an Idea to Validated Work

Before creating structured JSON, inspect the installed schema rather than guessing its shape:

autoforge schemas list
autoforge intent assess --schema

Then assess the idea, create scoped work, and complete it with durable rationale:

autoforge intent assess product-idea.json --kind planning

autoforge add feature --name "Customer onboarding" --description "Guide new customers to first value"
autoforge add phase --feature <feature-id> --name "First-run flow" --description "Design and implement onboarding"
autoforge add task --phase <phase-id> --name "Build first-run flow" --description "Implement the approved design" --include "src/**" --include "test/**"

autoforge start task <task-id>
autoforge context --explain
autoforge check --path src/onboarding.ts
autoforge gate check
autoforge decide --statement "..." --reasoning "..." --consequence "..." --scope onboarding --keyword first-run --work <task-id> --kind feature-note
autoforge done

done requires a decision linked with --work so completed work leaves an explanation, not merely a changed Git tree. For genuinely trivial work, use autoforge done --no-decision "<reason>"; the bypass remains auditable.

For a new application idea that needs formal discovery, architecture, design, data, and security approval, follow the bootstrap pipeline.

Give This Prompt to Any Coding Agent

Use this at project onboarding, after an AutoForge update, or when switching between Claude, Codex, Cursor, Gemini, Grok, and another repository-aware agent:

Use the globally installed AutoForge CLI for this repository. Review `README.md` and follow the current documentation walkthrough in `docs/README.md` to use AutoForge continuously throughout brainstorming, planning, documentation, design, bootstrapping, development, validation, decision-making, and handoff; follow every applicable `AGENTS.md` and summarize the project's current AutoForge state before making changes.

The complete procedure is in the Agent Setup Guide, and behavioral guidance is in the Agentic AI Guide.

Humans and Agents Share One Source of Truth

Durable project truth includes work, decisions, doctrines, governance, domain knowledge, specifications, traceability, approved evidence, and structured handoffs. Reproducible context packets, leases, provider caches, logs, credentials, and raw transcripts are operational state and should not become portable project memory.

Useful continuity commands:

autoforge recap
autoforge why --query "checkout"
autoforge evidence summary
autoforge twin generate
autoforge twin query --type decision

See Cross-Agent Handoffs and Governance and Memory.

Parallel Agent Work

Do not run multiple writing agents against the same checkout. Build a dependency-aware orchestration plan, then let AutoForge assign isolated worktrees and reject overlapping write scopes:

autoforge orchestrate plan orchestration-plan.json
autoforge orchestrate ready
autoforge orchestrate claim <work-id> --agent codex --role backend
autoforge orchestrate explain <work-id>
autoforge orchestrate status
autoforge orchestrate handoff <assignment-id> handoff.json
autoforge orchestrate release <assignment-id>

If orchestrate explain reports stale or unavailable context, stop, release the claim, and reclaim it before editing.

Core CLI and Experimental Agent

Explicit subcommands are deterministic. Automation should use commands such as autoforge status --json, autoforge recap, and autoforge gate check --json.

After the separately versioned Agent is approved and installed, bare autoforge can launch it in an eligible interactive terminal. CI, pipes, redirected output, AUTOFORGE_NO_AGENT=1, recursion, and missing or incompatible Agent installations retain deterministic status behavior. The old interactive Core TUI is deprecated; autoforge tui is temporarily a read-only status alias.

Provider credentials remain in the operating-system credential store:

autoforge credentials set openai
autoforge credentials status openai
autoforge credentials delete openai

See Local Provider Credentials.

Documentation Map

Start with docs/README.md. It identifies current operational guides, v0.25 release material, specialist references, and historical documents. The installed command remains the final authority for syntax:

autoforge help
autoforge schemas list

Development and Release Validation

This repository uses pnpm 11 and Turborepo. From a clean checkout:

pnpm install --frozen-lockfile
pnpm workspace:check
pnpm exec turbo run build typecheck test format:check
pnpm release:status

The release sequence and outstanding approval gates are documented in v0.25 Release Readiness. Nothing in this README authorizes tagging or publication.

Released under the MIT License.