Skip to content

josephgoksu/TaskWing

Repository files navigation


TaskWing
TaskWing

Give your AI tools a brain.

Memory, planning, task execution, and project intelligence β€” the control plane for AI-native development.

Website Β· Tutorial Β· Vision Β· Install

Go Report Card License

TaskWing ask demo


The Problem

Your AI tools start every session from zero. They don't know your stack, your patterns, or why you chose PostgreSQL over MongoDB. You re-explain the same context hundreds of times.

TaskWing fixes this. One command extracts your architecture into a local database. Every AI session after that just knows.

What It Does

Capability Description
🧠 Memory Extracts and persists architectural decisions, patterns, and constraints
πŸ“‹ Planning Turns a goal into an executable plan with decomposed tasks
⚑ Task Execution AI-driven task lifecycle β€” next, start, complete, verify
πŸ” Code Intelligence Symbol search, call graphs, impact analysis, simplification
πŸ› Debugging AI-powered root cause analysis with systematic diagnosis
πŸ”Œ MCP Integration Exposes everything to Claude, Cursor, Copilot, Gemini via MCP

Install

# Homebrew (recommended)
brew install josephgoksu/tap/taskwing

# or curl
curl -fsSL https://taskwing.app/install.sh | sh

No signup. No account. Works offline. Everything stays local in SQLite.

Quick Start

# 1. Extract your architecture
cd your-project
taskwing bootstrap
# β†’ 22 decisions, 12 patterns, 9 constraints extracted

# 2. Set a goal and generate a plan
taskwing goal "Add Stripe billing"
# β†’ Plan decomposed into 5 executable tasks

# 3. Execute with your AI assistant
/tw-next       # Get next task with full context
# ...work...
/tw-done       # Mark complete, advance to next

Supported Models

OpenAI Anthropic Google Gemini AWS Bedrock Ollama

Works With

Claude Code OpenAI Codex Cursor GitHub Copilot Gemini CLI OpenCode

Brand names and logos are trademarks of their respective owners; usage here indicates compatibility, not endorsement.

MCP Tools

Tool Description
ask Search project knowledge (decisions, patterns, constraints)
task Unified task lifecycle (next, current, start, complete)
plan Plan management (clarify, decompose, expand, generate, finalize, audit)
code Code intelligence (find, search, explain, callers, impact, simplify)
debug Diagnose issues systematically with AI-powered analysis
remember Store knowledge in project memory

MCP Setup

Add to your AI tool's MCP config:

{
  "mcpServers": {
    "taskwing-mcp": {
      "command": "taskwing",
      "args": ["mcp"]
    }
  }
}

Slash Commands

Once connected, use these slash commands from your AI assistant:

Command When to use
/tw-ask Search project knowledge (decisions, patterns, constraints)
/tw-remember Persist a decision, pattern, or insight to project memory
/tw-next Start the next approved task with full context
/tw-done Complete the current task after verification
/tw-status Check current task progress and acceptance criteria
/tw-plan Clarify a goal and build an approved execution plan
/tw-debug Root-cause-first debugging before proposing fixes
/tw-explain Deep explanation of a code symbol and its call graph
/tw-simplify Simplify code while preserving behavior

Core Commands

Command Description
taskwing bootstrap Extract architecture from your codebase
taskwing goal "<goal>" Create and activate a plan from a goal
taskwing ask "<query>" Query project knowledge
taskwing task Manage execution tasks
taskwing plan status View current plan progress
taskwing slash Output slash command prompts for AI tools
taskwing mcp Start the MCP server
taskwing doctor Health check for project memory
taskwing config Configure LLM provider and settings
taskwing start Start API/watch/dashboard services

Autonomous Task Execution (Hooks)

TaskWing integrates with Claude Code's hook system for autonomous plan execution:

taskwing hook session-init      # Initialize session tracking
taskwing hook continue-check    # Check if should continue to next task
taskwing hook session-end       # Cleanup session
taskwing hook status            # View current session state

Circuit breakers prevent runaway execution:

  • --max-tasks=5 β€” Stop after N tasks for human review
  • --max-minutes=30 β€” Stop after N minutes

AWS Bedrock Setup

TaskWing supports Bedrock as a first-class provider:

llm:
  provider: bedrock
  model: anthropic.claude-sonnet-4-5-20250929-v1:0
  bedrock:
    region: us-east-1
  apiKeys:
    bedrock: ${BEDROCK_API_KEY}
Recommended Bedrock models
Model Use case
anthropic.claude-opus-4-6-v1 Highest quality reasoning
anthropic.claude-sonnet-4-5-20250929-v1:0 Best default balance
amazon.nova-premier-v1:0 AWS flagship Nova
amazon.nova-pro-v1:0 Strong balance
meta.llama4-maverick-17b-instruct-v1:0 Open-weight general model

Or configure interactively: taskwing config

Documentation

License

MIT