Getting Started¶
Get up and running with Devran AI Kit in 30 seconds.
⚡ Quick Start¶
Option 1: NPX (Recommended)¶
This automatically copies the .agent/ folder to your project and adds it to .gitignore. Done!
Note:
.agent/is gitignored by default — it's personal dev tooling. For team-wide sharing, usekit init --shared.Warning:
npx @devran-ai/kit init --forceis a Catastrophic Repair command. It will overwrite your customizations and session state. Do not use it for regular updates.
🔄 Updating¶
AI Agents and Users MUST use kit update for standard framework upgrades. This is a non-destructive AST merger.
kit update # Non-destructive — preserves your customizations
kit update --dry-run # Preview changes without applying
Preservation Contract: The
kit updatecommand explicitly protects your customized.agent/rules/,.agent/checklists/,session-state.json,session-context.md,identity.json, and ADR files.
Option 2: Manual Installation¶
# 1. Clone the repository
git clone https://github.com/devran-ai/kit.git
# 2. Copy .agent/ to your project
cp -r kit/.agent/ your-project/.agent/
# 3. Start your session
/project-status
✅ Verify Installation¶
After installing, validate your setup with the built-in CLI checks:
Both should return clean results. If they report issues, refer to the troubleshooting guide or run kit update to repair missing core dependencies.
Safety Guarantees¶
Devran AI Kit only operates within the .agent/ directory. Your project files — source code, configs, tests, platform files — are never touched by init, update, or any CLI command.
| Your Project Files | Safe? | Details |
|---|---|---|
Source code (src/, lib/, app/) | Never touched | Init/update only operates on .agent/ |
Config files (.env, package.json) | Never touched | No project config is read or written |
Documentation (docs/, README.md) | Never touched | Only .agent/ docs are managed |
Tests (tests/, __tests__/) | Never touched | Kit tests are internal to the package |
Platform files (android/, ios/) | Never touched | No platform-specific operations |
init --force Safety Features¶
- Auto-backup — Creates timestamped backup of existing
.agent/before overwriting - Atomic copy — Uses temp directory + rename to prevent corruption on failure
- Symlink guard — Skips symbolic links to prevent path traversal attacks
- Session warning — Alerts if active work-in-progress would be destroyed
- Dry-run preview —
--dry-run --forceshows exactly which user files would be overwritten
update Preserved Files¶
session-context.md— Your active session notessession-state.json— Your session metadatadecisions/— Your Architecture Decision Recordscontexts/— Your learning data and plan quality logsrules/— Your custom governance ruleschecklists/— Your custom quality gates
First Session¶
- Open your project in your AI-powered IDE (VS Code, Cursor, Windsurf, etc.)
- Run the status command:
You should see:
Basic Workflow¶
1. Plan Your Feature¶
The Planner agent creates a validated implementation plan with quality scoring, cross-cutting concerns (security, testing, documentation), and tiered detail based on task complexity.
2. Review the Plan¶
Review the generated plan in your working directory.
3. Implement¶
4. Verify¶
Runs all quality gates: build, lint, test, coverage.
Session Management¶
Devran AI Kit includes a Session Management Architecture that ensures continuity across work sessions.
| Component | Purpose | Location |
|---|---|---|
| Session Context | Live session state, resumable | .agent/session-context.md |
| Session Start Checklist | Pre-flight verification | .agent/checklists/session-start.md |
| Session End Checklist | Wrap-up and handoff | .agent/checklists/session-end.md |
| Pre-Commit Checklist | Quality gate before commits | .agent/checklists/pre-commit.md |
Starting a session: Follow the session-start checklist. The AI loads previous context, verifies git status, checks dependencies, and resumes from the last open task.
Ending a session: Follow the session-end checklist. The AI updates session-context.md, documents open items, commits changes, and creates handoff notes.
Next Steps¶
- Agents — 23 specialized AI agents
- Commands — 37 slash commands
- Skills — 36 domain expertise modules
- Workflows — 23 development workflows
- Governance — Operating constraints