Version: 1.0
Updated: 2026-03-18
Audience: Developers installing AITEAM-X on a new machine or project
- Prerequisites
- Quick install
- Web setup assistant
- Manual configuration
- Environment variables
- System status page
- Created file layout
- Advanced scenarios
- Troubleshooting
Before installing AITEAM-X you need:
| Requirement | Required | How to check |
|---|---|---|
| Node.js 18+ | Yes | node --version |
Agents pack (aiteam-x-agents/ or legacy bmad/) |
Yes | e.g. aiteam-x-agents/_cfg/manifest.yaml |
| Cursor IDE | Yes | Required for Cursor Agent CLI |
| Git | Yes | git --version |
AITEAM-X reads agent definitions from the aiteam-x-agents/ folder at the configured project root (some repos still use the legacy bmad/ layout). The root that contains that folder is set via agentsRoot in aiteam.config.json or environment variables AITEAM_AGENTS_ROOT / AITEAM_BMAD_ROOT (legacy alias).
Expected pack layout:
your-project/
βββ aiteam-x-agents/ (or bmad/ on legacy repos)
β βββ _cfg/
β β βββ manifest.yaml β pack version id
β β βββ agent-manifest.csv β available agents
β βββ core/
β β βββ config.yaml β main config (user_name, language)
β βββ {module}/
β βββ config.yaml β per-module config (project_name)
βββ .cursor/
βββ rules/
βββ aiteam-x/ (or bmad/ on legacy repos)
βββ {module}/
βββ agents/
βββ {agent}.mdc β agent personas
AITEAM-X uses the Cursor Agent CLI to run agents. It is installed when you open the project in Cursor IDE for the first time.
- Windows:
%LOCALAPPDATA%\cursor-agent\versions\{version}\ - macOS/Linux:
~/.cursor-agent/versions/{version}/
npx aiteam-x@latestCreates the project in the current directory (must be empty). To create a named folder:
npx aiteam-x@latest my-projectThe command downloads the template, installs dependencies, runs the setup wizard, and starts the server.
# 1. Clone the repository
git clone https://github.com/INOSX/AITeam.git
cd AITeam
# 2. Install dependencies
npm install
# 3. Run the setup wizard
npm run setup
# 4. Start the server
npm run devOpen http://localhost:3000. The dashboard loads automatically if setup completed successfully.
npm run setup opens the web assistant at /setup (three phases: machine scan, review, configuration). All interaction happens in the browser.
Automatically detects the agents pack under ./ (aiteam-x-agents/ or bmad/), Cursor Agent CLI, and existing config. The panel shows status (e.g. pack version and agent count).
Confirm or adjust the project root that contains the pack (same as agentsRoot).
- Project info (name, user, language for talking to agents)
- Module placement in the virtual office (
conference,office,kitchen,workspace) - Provider APIs (when applicable)
- Creates
.memory/and writesaiteam.config.json
Suggested rooms per module:
| Room | Suggested use |
|---|---|
conference |
Main / master agent |
office |
Development team |
kitchen |
Design / game dev |
workspace |
Builders / tools |
Files created or updated:
.memory/_project.mdβ shared project context (injected into every new agent session).memory/{agent-id}.mdβ per-agent memory bankaiteam.config.jsonβ AITEAM-X configuration (gitignored)
Tip: If the pack lives elsewhere, use
AITEAM_AGENTS_ROOTorAITEAM_BMAD_ROOTin.env.local, or set the correct root in the web assistant.
If you prefer not to use the wizard, create aiteam.config.json at the project root:
{
"agentsRoot": "./",
"locations": {
"core": "conference",
"bmm": "office",
"bmgd": "kitchen",
"bmb": "workspace"
},
"projectName": "My Project",
"user": "Alex",
"language": "en",
"setupComplete": true
}Legacy: older files may use
bmadRootinstead ofagentsRoot; AITEAM-X accepts both on load.
Note:
aiteam.config.jsonis in.gitignoreβ each developer creates their own locally.
| Field | Type | Default | Description |
|---|---|---|---|
agentsRoot |
string |
"./" |
Root directory that contains aiteam-x-agents/ or bmad/ |
bmadRoot |
string |
β | (legacy) same meaning as agentsRoot |
locations |
object |
see below | Room per module (core, bmm, bmgd, bmb) |
projectName |
string |
"" |
Project name (shown in UI) |
user |
string |
"" |
User name (used by agents) |
language |
string |
"pt-br" |
Agent communication language |
setupComplete |
boolean |
false |
If false, redirects to /setup |
Default locations:
{
"core": "conference",
"bmm": "office",
"bmgd": "kitchen",
"bmb": "workspace"
}Create .env.local at the project root:
# Overrides agentsRoot / bmadRoot from aiteam.config.json (recommended)
# Useful for: CI/CD, pack in another directory, multiple projects
AITEAM_AGENTS_ROOT=/absolute/path/to/project-with-pack
# Legacy alias (same as AITEAM_AGENTS_ROOT)
# AITEAM_BMAD_ROOT=/absolute/path/to/project-with-packThe pack root (agentsRoot) resolves in this order (highest first):
AITEAM_AGENTS_ROOT or AITEAM_BMAD_ROOT (env)
β if unset
aiteam.config.json β agentsRoot or bmadRoot (legacy)
β if missing
"./" (current directory)
Pack in another directory (monorepo):
AITEAM_AGENTS_ROOT=../my-project-with-packCI/CD (no config file):
AITEAM_AGENTS_ROOT=/home/runner/work/projectMultiple AITEAM-X instances:
# Terminal 1 β Project A
AITEAM_AGENTS_ROOT=../project-a npm run dev
# Terminal 2 β Project B (different port)
AITEAM_AGENTS_ROOT=../project-b PORT=3001 npm run devIf AITEAM-X detects incomplete setup, it redirects to http://localhost:3000/setup.
Redirect occurs if any of the following is true:
aiteam.config.jsondoes not existaiteam.config.jsonexists butsetupCompleteisfalse- Agents pack not found at the configured path
- No agents discovered
βββββββββββββββββββββββββββββββββββββββββββ
β AITEAM-X β Setup β
β β
β SYSTEM STATUS β
β β Pack v2025.3.1 β 14 agents in . β
β β Cursor Not found β
β β Config Using defaults β
β β
β ACTIONS NEEDED β
β β Cursor Agent CLI not found β
β β Install Cursor and open the project β
β β aiteam.config.json missing β
β β Run npm run setup β
β β
β HOW TO CONFIGURE β
β npm run setup β
β β
β [β» Check again] β
βββββββββββββββββββββββββββββββββββββββββββ
| Icon | Meaning |
|---|---|
Green β |
Component OK |
Yellow β |
Warning β not blocking but recommended |
Red β |
Error β blocks operation |
After fixing issues, click β» Check again to re-check without a full reload.
After complete setup, these files exist:
your-project/
βββ aiteam.config.json β AITEAM-X config (gitignored)
βββ .env.local β environment variables (gitignored, optional)
βββ .memory/
βββ _project.md β shared context (injected into every new session)
βββ bmad-master.md β bmad-master agent memory
βββ dev.md β dev agent memory
βββ pm.md β pm agent memory
βββ ... β one file per discovered agent
Automatically injected at the start of every new conversation with any agent. Use for:
- Project context (stack, goals, architectural decisions)
- Team conventions
- Important links
- Current development state
# My Project
Shared context for all AITEAM-X agents.
## Stack
- Next.js 15 + TypeScript
- PostgreSQL + Prisma
## Architectural decisions
- ...Per-agent memory. Injected for that agentβs new sessions. Use for:
- Relevant decision history
- Learnings and patterns
- Role-specific context
git clone https://github.com/your-org/your-project.git
cd your-project
npm install
# aiteam.config.json is NOT in git (gitignored)
# Run setup again:
npm run setup
npm run devThe assistant detects the existing pack and recreates only aiteam.config.json and missing memory files (existing memories are preserved if .memory/ was committed).
git clone ...
cd project
npm install
npm run setup # β wizard guides ~5 minutes of config
npm run devnpm run setup
# In the browser, go to the configuration phase and change rooms per moduleOr edit aiteam.config.json directly:
{
"locations": {
"bmm": "conference"
}
}# Layout
projects/
βββ my-project/ β root with aiteam-x-agents/ or bmad/
β βββ aiteam-x-agents/
βββ aiteam-x/ β AITEAM-X app here
# .env.local inside aiteam-x/
AITEAM_AGENTS_ROOT=../my-projectYou can set setupComplete: true manually in aiteam.config.json after configuring agentsRoot or the environment variable.
Symptom: Assistant does not detect the pack, or /setup shows pack missing.
Checks:
# Does the file exist?
ls aiteam-x-agents/_cfg/manifest.yaml
# or: ls bmad/_cfg/manifest.yaml
# Is AITEAM_AGENTS_ROOT / AITEAM_BMAD_ROOT correct?
echo $AITEAM_AGENTS_ROOT
# Is the path in config correct?
cat aiteam.config.json | grep -E 'agentsRoot|bmadRoot'Fix: Set AITEAM_AGENTS_ROOT (or AITEAM_BMAD_ROOT) to the directory that contains aiteam-x-agents/ or bmad/, or fix agentsRoot in JSON.
Symptom: /setup shows Cursor CLI missing. Agents error when sending messages.
Checks:
# Windows β check directory exists:
ls "$LOCALAPPDATA\cursor-agent\versions\"
# macOS/Linux:
ls ~/.cursor-agent/versions/Fix:
- Install Cursor IDE
- Open the project in Cursor at least once
- CLI installs on first open
- Click β» Check again on
/setup
Symptom: Browser loops between / and /setup.
Cause: setupComplete is false in aiteam.config.json, or the pack is unreachable at the configured root.
Fix:
cat aiteam.config.json
# If setupComplete is false:
npm run setup
# If agentsRoot is wrong, edit aiteam.config.json:
{
"agentsRoot": "/correct/path",
"setupComplete": true
}Symptom: Dashboard opens but agent list is empty.
Checks:
cat aiteam-x-agents/_cfg/agent-manifest.csv
# or: cat bmad/_cfg/agent-manifest.csv
head -1 aiteam-x-agents/_cfg/agent-manifest.csvLikely cause: Malformed agent-manifest.csv or wrong agentsRoot / env var.
Symptom: Agents lack context from previous conversations.
Checks:
ls .memory/
cat .memory/_project.mdFix: Run npm run setup β the wizard creates missing files without overwriting existing ones.
To report issues, open an issue at github.com/INOSX/AITeam