Installation & Setup
System Requirements
- Node.js >= 24
- npm >= 10
Global Installation
npm install -g @caeruxlab/aidk
If you are using the CaeruxLab GitLab registry, configure .npmrc first:
-
Generate a Personal Access Token (PAT):
- Log in to your GitLab account.
- Go to User Settings (User avatar dropdown) -> Access Tokens.
- Create a new token with name "AIDK".
- Under Scopes (or Permissions), select the
apicheckbox. - Click "Create personal access token" at the bottom.
- Copy the generated token.
-
Configure
.npmrc:Add the following to your
~/.npmrcor project-level.npmrc, replacingYOUR_GITLAB_TOKENwith the token you just generated:
@caeruxlab:registry=https://git.caerux.com/api/v4/projects/caeruxlab%2Fclx-ai-kit/packages/npm/
//git.caerux.com/api/v4/projects/caeruxlab%2Fclx-ai-kit/packages/npm/:_authToken=YOUR_GITLAB_TOKEN
Then install:
npm install -g @caeruxlab/aidk
Verify Installation
aidk --version
Initialize a Project
Inside your project root, run:
aidk init
This will:
- Create the
.agent/directory with rules, skills, and workflows structure. - Create the
docs/ai/directory with documentation templates. - Create a
.ai-devkit.jsonconfiguration file.
Resulting Project Structure
your-project/
├── .agent/
│ ├── rules/ # AI guidance rules
│ ├── skills/ # Specialized AI skills
│ └── workflows/ # Slash command workflows
├── docs/
│ └── ai/
│ ├── requirements/
│ ├── design/
│ ├── planning/
│ ├── implementation/
│ └── testing/
└── .ai-devkit.json
.ai-devkit.json Configuration
This file stores project-level AIDK configuration:
{
"version": "0.2.0",
"projectName": "your-project",
"ide": "antigravity"
}
| Field | Description |
|---|---|
version | AIDK version used to initialize |
projectName | Your project name |
ide | Target IDE (cursor or antigravity) |