Skip to main content

Quickest Quickstart

Just ask an agent show you around.

Add to an existing project

Prerequisites
You only need git and a software project to work on.
Claude, Opencode, Codex or a similar agent harness is highly recommended.

1. Install CLI

If you don’t have a JavaScript runtime, you can download Mac and Linux releases on our GitHub. Confirm that it’s installed properly:

2. Authenticate the CLI

You need to create a team at https://app.acai.sh (or on your self-hosted server). From the Team Home page, create an access token. Save the token to .env:

3. Install SKILL.md

4. Write a spec

Read our spec-writing tutorial for a slightly more detailed introduction to writing specs the Acai way. In short, the spec is just an organized list of acceptance criteria.
Spec files must be named <feature-name>.feature.yaml and must be somewhere under the features/ directory in the root of your git project.
AI can help you draft specs, but nothing beats an organic, pasture-raised, hand-written spec. Spec-writing is where the act of software engineering really happens.

5. Annotate code and tests with ACIDs

By writing specs in structured yaml, we can refer to each requirement with a unique and stable identifier. For example, user-auth.LOGIN.3. We call these IDs “ACIDs” (Acceptance Criteria Identifier). The Acai CLI scans your repo to find ACIDs in comments and in tests. These simple refs help guide AI agents during implementation, assists code review and QA, and helps you enforce strong E2E test coverage.
animated-terminal.test.ts
Typically, LLMs are very good at annotating their work as they go, and are good at re-aligning it when the spec changes. Just make sure they have read the acai skill.

6. Push & review

Acai scans the repo and pushes all specs and any references to specs / ACIDs. Log in to acai.sh to see an overview of your products, features and implementations. It is a helpful place to review coverage, flag issues, and to track specs and their implementations from PR to production. You (human or robot) can mark requirements as Completed when they are ready for review, Accepted when they pass your review, or Rejected if something was missed.

Self-host

The acai server is open-source and containerized. You can host it yourself and point your CLI at it using an environment variable. See GitHub for more info.

Next Steps

Spec-driven Development

Introduction to acai specs, and best practices for spec-first software.

Agent Recipes

Make the most of acai.sh and agentic development by leveraging LLM skills and roles