Gemstack 2.0 is designed for high-velocity software delivery using the Antigravity (agy) CLI. This guide covers how to initialize your project and run your first v2.0 workflow.
- Python 3.10+
- Git
- Antigravity CLI (
agy) — Ensureagyis installed and on your PATH. - Google Gemini API Key — For autonomous execution (
/step1-spec, etc.).
# Isolated install via pipx
pipx install "gemstack[all]"
# Or via uv
uv tool install "gemstack[all]"Navigate to your codebase and run:
gemstack init --aiThis will:
- Detect your stack (Language, Framework, Topology).
- Generate the
.agent/directory with 5 core context files (ARCHITECTURE.md,STYLE.md, etc.). - Set up the Gemstack Plugin for your Antigravity environment.
In Gemstack 2.0, the lifecycle is managed natively within agy using artifacts.
Initialize a new feature lifecycle:
agy "start a new feature: [Feature Name]"Run the Spec phase to define requirements and lock in contracts:
/step1-specThis invokes the Product Visionary and Architect subagents. They will update the implementation_plan.md artifact and write executable contracts (e.g., Drizzle schemas) to your repo.
Lay the failing tests:
/step2-trapThe SDET and Principal Engineer will create a task.md and write failing tests that "trap" the requirements.
Implement the logic:
/step3-buildThe Principal Engineers will build the feature until all tests in the "Trap" suite pass.
Run the final quality checks:
/step4-auditThe Security Engineer and SDET will audit the code and document the results in the walkthrough.md artifact.
Deploy to production:
/step5-shipThe DevOps Engineer will handle the deployment and perform post-flight checks.
| Feature | v1.x (Legacy) | v2.0 (Native) |
|---|---|---|
| Primary Interface | gemstack CLI |
agy CLI / Slash Commands |
| Status Tracking | .agent/STATUS.md |
Native task.md Artifact |
| Planning | docs/plans/ |
implementation_plan.md Artifact |
| Role Prompts | Standard Markdown | High-precision XML Tags |
| Delegation | Manual context switching | Autonomous Subagents |
- 📐 Explore Topology Guardrails for your project type.
- 🧠 Learn how the Context Compiler assembles prompts.
- 🔍 Set up Drift Detection to keep docs in sync.