# gsd-build/gsd-2

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/gsd-build-gsd-2).**

7,740 stars · 777 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/gsd-build/gsd-2
- awesome-repositories: https://awesome-repositories.com/repository/gsd-build-gsd-2.md

## Topics

`context-engineering` `meta-prompting` `spec-driven-development`

## Description

This project is an autonomous AI software development framework designed to plan, code, test, and commit software milestones without human intervention. It functions as a state-machine-driven agent loop that orchestrates development through a recurring cycle of research, execution, and verification.

The system distinguishes itself through a git-isolated task runner that executes milestones in separate worktrees and branches, ensuring changes are squash-merged into a linear commit history. It features a multi-model routing gateway that assigns different LLM providers to specific workflow phases to balance output quality against budget limits and operational costs.

The framework covers a broad range of capabilities, including spec-driven project bootstrapping, context engineering via compression and database-backed state recovery, and the orchestration of specialized subagents for research or codebase reconnaissance. It integrates with Model Context Protocol servers and external tools to extend agent capabilities, while providing real-time steering and monitoring dashboards to track progress.

The project is implemented in TypeScript.

## Tags

### Artificial Intelligence & ML

- [Autonomous Agent Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-loops.md) — Orchestrates autonomous software development through a recurring state-machine loop of research, planning, execution, and verification.
- [Autonomous Software Engineering](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/ai-agents/software-engineering/autonomous-software-engineering.md) — Provides a full framework for building complete software projects autonomously through AI-driven planning, coding, and testing.
- [Worktree Isolation](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agentic-workflows/worktree-isolation.md) — Uses isolated git worktrees to maintain separate file states for different autonomous development milestones.
- [Autonomous Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-orchestration.md) — Provides a framework for managing the lifecycle and persistent memory of autonomous agents over long-running development sessions.
- [Context Compression](https://awesome-repositories.com/f/artificial-intelligence-ml/context-compression.md) — Reduces token consumption and manages memory by compressing context windows through a preference-driven pipeline.
- [Context Memory Management](https://awesome-repositories.com/f/artificial-intelligence-ml/context-memory-management.md) — Implements a pipeline for long-term project memory using context compression and database-backed state management.
- [Model Routing Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/model-routing-gateways.md) — Assigns different LLM providers or models to each development phase with automatic fallback and budget-aware cost control.
- [Multi-step Goal Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-step-goal-execution.md) — Uses LLMs to independently plan and execute multi-step sequences of research, coding, and verification. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Provider Response Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/provider-response-routing.md) — Implements logic to route requests to specific LLM providers based on the requirements of different development phases. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Subagent Orchestrations](https://awesome-repositories.com/f/artificial-intelligence-ml/subagent-orchestrations.md) — Orchestrates specialized helper agents with isolated contexts to perform research and codebase reconnaissance. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Behavior Guidance](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/coordination-and-routing/ai-agent-orchestrators/coding-agent-orchestrators/behavior-guidance.md) — Loads coding standards and architectural rules from markdown files to guide the agent's implementation behavior. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Human-in-the-Loop Steering](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/agent-runtimes/steering-and-streaming-controls/human-in-the-loop-steering.md) — Enables humans to interact with and redirect active autonomous agent flows and milestones in real-time. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [MCP Server Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/agent-and-tool-integrations/mcp-server-integrations.md) — Integrates with Model Context Protocol servers to provide agents with specialized tools and external context. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Autonomous Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-orchestrators.md) — Coordinates autonomous agents by integrating Model Context Protocol servers and external tools for complex task execution.
- [External Tool Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/external-service-integrations/external-knowledge-integrators/external-tool-integrations.md) — Connects AI agents to external utilities and servers to expand their operational capabilities beyond simple text generation. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [MCP Protocol Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integrations/mcp-protocol-integrations.md) — Provides a standardized way for agents to interact with external tools and context servers via the Model Context Protocol.
- [Model Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/model-gateways.md) — Provides a centralized gateway to manage communication and routing across multiple AI model providers.
- [Per-Component LLM Routings](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestrators/per-component-llm-routings.md) — Implements routing logic to assign different LLM models to specific workflow phases based on cost and quality requirements.
- [Step-by-Step Task Plans](https://awesome-repositories.com/f/artificial-intelligence-ml/step-by-step-task-plans.md) — Implements multi-step task plans that are submitted for manual approval before agent execution. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))

### Software Engineering & Architecture

- [Autonomous Agent Frameworks](https://awesome-repositories.com/f/software-engineering-architecture/application-frameworks/autonomous-agent-frameworks.md) — Provides a complete autonomous agent framework for planning, coding, and verifying software through a state-machine loop.
- [Agent State Persistence](https://awesome-repositories.com/f/software-engineering-architecture/job-processors/database-backed-persistence/agent-state-persistence.md) — Persists session state and milestone progress in a database to enable crash recovery and project inspection.
- [Persistent Project Artifacts](https://awesome-repositories.com/f/software-engineering-architecture/project-context-managers/persistent-project-artifacts.md) — Maintains project requirements and learned patterns through persistent markdown artifacts and a database. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Task Outcome Enforcement](https://awesome-repositories.com/f/software-engineering-architecture/task-outcome-enforcement.md) — Ensures autonomous workflows conclude by running static checks and behavioral tests to verify requirements. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))

### Development Tools & Productivity

- [Agentic Workflow Isolation](https://awesome-repositories.com/f/development-tools-productivity/git-workflows/agentic-workflow-isolation.md) — Isolates AI-generated changes within dedicated git worktrees and branches to maintain a clean commit history.
- [Construction](https://awesome-repositories.com/f/development-tools-productivity/project-generators/autonomous/construction.md) — Builds complete software projects autonomously by cycling through research, planning, and coding. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Git Worktree Management](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/git-utilities/git-worktree-management.md) — Manages multiple concurrent git worktrees to provide isolated environments for developing different software milestones. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Git Workspace Isolations](https://awesome-repositories.com/f/development-tools-productivity/workspace-isolation/git-workspace-isolations.md) — Executes development milestones in isolated git worktrees to maintain a clean and linear squash-merged commit history.
- [Phase-Specific Model Overrides](https://awesome-repositories.com/f/development-tools-productivity/behavior-configuration/server-configurations/per-member-server-option-configuration/per-project-server-setting-overrides/phase-specific-model-overrides.md) — The project assigns specific model providers to different project phases and sets automatic fallbacks for failed requests. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [LLM Session Recovery](https://awesome-repositories.com/f/development-tools-productivity/crash-recovery-systems/interactive-session-recovery/llm-session-recovery.md) — Provides the ability to restore the state and progress of AI agent sessions after a system failure. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Spec-Driven Generation](https://awesome-repositories.com/f/development-tools-productivity/project-bootstrapping-templates/spec-driven-generation.md) — Guides a structured discussion to capture project vision and then generates the initial codebase and roadmap.
- [Spec-Driven Project Initialization](https://awesome-repositories.com/f/development-tools-productivity/spec-driven-project-initialization.md) — Captures project vision and constraints through a guided discussion to create the initial structure and roadmap. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))

### DevOps & Infrastructure

- [Development Cycle Orchestration](https://awesome-repositories.com/f/devops-infrastructure/multi-stage-workflow-automations/development-cycle-orchestration.md) — Orchestrates AI-driven development cycles involving research, coding, and verification phases. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Branch-Based Isolation](https://awesome-repositories.com/f/devops-infrastructure/version-control-management/version-control-workflows/branch-based-isolation.md) — Uses separate git branches to isolate AI-generated changes before squash-merging them into the main history. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))

### System Administration & Monitoring

- [Agent Interaction Monitors](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/real-time-process-monitors/agent-interaction-monitors.md) — Provides tools for observing and interacting with live AI agent execution streams from a separate terminal.
- [Agent Steering Interfaces](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/real-time-process-monitors/agent-steering-interfaces.md) — Synchronizes state between background autonomous processes and foreground terminals for live steering and monitoring.
- [Research Progress Dashboards](https://awesome-repositories.com/f/system-administration-monitoring/real-time-monitoring-dashboards/research-progress-dashboards.md) — Displays a real-time dashboard showing task progress, elapsed time, and cost projections for autonomous runs. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
- [Token Cost Optimizations](https://awesome-repositories.com/f/system-administration-monitoring/usage-monitoring/token-usage-analytics/token-consumption-trackers/token-cost-optimizations.md) — Optimizes AI operational costs via context compression and the selection of cheaper model tiers. ([source](https://cdn.jsdelivr.net/gh/gsd-build/gsd-2@main/README.md))
