Use Cases & Plugin Ideas

fledge works for solo devs, teams, and AI agents. This page covers real workflows and plugin ideas across all three.

For Solo Developers

Zero-config task runner

fledge run test works immediately in any project. It auto-detects your stack from marker files. No config file needed. See Existing Projects for details.

fledge run test    # always works, regardless of language
fledge lanes run ci     # same pipeline shape everywhere

Quick code review before pushing

Get a second opinion on your changes without waiting for a human reviewer:

fledge review                                           # review with active model
fledge review --file src/auth.rs                        # focus on one file
fledge review --with-model ollama                       # multi-model panel, parallel critiques

Branch workflow without remembering git incantations

fledge work start fix-login      # creates author/fix/fix-login, pushes
fledge work push                        # commit and push to origin
fledge github prs create --fill         # open PR (fledge-plugin-github)
fledge github checks                    # watch CI status (via fledge-plugin-github)

For Teams

Shared lane definitions

Define your CI pipeline once, share it across all repos:

# Create a lanes repo
fledge lanes create company-lanes
cd company-lanes
# Edit lanes.toml with your team's pipeline
fledge lanes publish

# In any project
fledge lanes import your-org/company-lanes
fledge lanes run ci

Pre-PR quality gates via plugins

Install plugins that enforce standards before code ships:

fledge plugins install your-org/fledge-plugin-lint-config
# Now pre_push hook runs your org's lint rules before every push

Dependency auditing across the stack

fledge plugins install --defaults    # one-line install of fledge-plugin-deps + 2 others
fledge deps --outdated --audit       # Works for Rust, Node, Python, auto-detected from lockfiles

For AI Agents

AI agents benefit from fledge’s structured output and consistent interface. Every command supports --json for machine-readable output.

Structured project understanding

fledge introspect --json         # full command tree (incl. plugin commands)
fledge lanes list --json         # what pipelines exist
fledge plugins list --json       # what extensions are installed
fledge spec list --json          # spec index, semantic project map
fledge ai status --json          # what model is active and where each value came from

# After fledge plugins install --defaults:
fledge deps --json               # dependency report as data
fledge metrics --json            # codebase stats as data
fledge checks --json             # CI status as data

Autonomous code-review-and-fix loops

An AI agent can:

  1. fledge work start fix-issue-42 --issue 42, create a branch linked to an issue
  2. Make changes
  3. fledge lanes run ci, run the full pipeline
  4. fledge review --with-model ollama --json, multi-model review for higher-confidence findings
  5. Fix issues that multiple models agree on
  6. fledge work push --json, push branch; then fledge github prs create --fill --json to open PR

Plugin protocol for agent tooling

The fledge-v1 plugin protocol is designed for programmatic interaction. Plugins communicate via JSON-over-stdin/stdout, which means AI agents can write and use plugins natively:

{"type": "exec", "id": "1", "command": "cargo test", "cwd": "."}
{"type": "store", "id": "2", "key": "last_run", "value": "2026-04-23T06:00:00Z"}
{"type": "metadata", "id": "3"}

Agents get project context, run commands, and persist state, all through a structured protocol instead of shell scraping.

Plugin Ideas

These are plugins we think would be valuable. Community contributions welcome, see Building a Plugin to get started.

Developer Experience

PluginWhat it doesCapabilities
fledge-plugin-envSync .env files across environments, warn on missing vars, rotate secretsstore, metadata
fledge-plugin-dockerBuild, push, compose up/down integrated with lanesexec, metadata
fledge-plugin-notifySend Slack/Discord/webhook notifications on lane completion or failureexec, store
fledge-plugin-benchRun benchmarks, track history, flag regressionsexec, store, metadata
fledge-plugin-dbDatabase migration workflow, up, down, status, seedexec, store
fledge-plugin-todoExtract TODOs/FIXMEs from source, track them, warn on stale onesmetadata

Quality & Security

PluginWhat it doesCapabilities
fledge-plugin-coverageTest coverage tracking with minimum thresholds and trend graphsexec, store, metadata
fledge-plugin-secretsScan for leaked secrets, API keys, and credentials before commitexec, metadata
fledge-plugin-licenseCheck dependency licenses against an allow/deny listexec, metadata
fledge-plugin-sbomGenerate Software Bill of Materials (SPDX/CycloneDX)exec, metadata
fledge-plugin-guardianPre-PR gate that blocks merge unless all checks passexec, store, metadata

AI & Automation

PluginWhat it doesCapabilities
fledge-plugin-contextGenerate a project context summary for AI agents (structure, key files, conventions)metadata
fledge-plugin-changelog-aiAI-generated changelogs from commit messages with semantic groupingexec, metadata
fledge-plugin-migrateAI-assisted code migration between frameworks or language versionsexec, store, metadata
fledge-plugin-explainGenerate explanations of modules, functions, or architectural decisionsexec, metadata
fledge-plugin-test-genAI-powered test generation for uncovered code pathsexec, store, metadata

Infrastructure & Deployment

PluginWhat it doesCapabilities
fledge-plugin-deployDeploy to cloud providers (AWS, GCP, Fly.io, Railway) with rollbackexec, store, metadata
fledge-plugin-k8sKubernetes manifest validation, diff, and applyexec, store, metadata
fledge-plugin-terraformTerraform plan/apply integrated with fledge lanesexec, store
fledge-plugin-cdnInvalidate CDN caches and verify propagation after deployexec, store

Example: Building a Notification Plugin

Here’s a complete example of a plugin that sends a Discord webhook on lane completion. This demonstrates the plugin protocol in action.

plugin.toml:

[plugin]
name = "fledge-plugin-notify"
version = "0.1.0"
description = "Send notifications on lane events"
protocol = "fledge-v1"

[capabilities]
exec = true
store = true

[[commands]]
name = "notify"
description = "Send a notification"
binary = "bin/notify"

[hooks]
post_install = "bin/setup"

bin/notify (Python):

#!/usr/bin/env python3
import json, sys

def read_msg():
    return json.loads(input())

def send_msg(msg):
    print(json.dumps(msg), flush=True)

# Read init message from fledge
init = read_msg()
args = init["args"]
project = init["project"]["name"]

# Load saved webhook URL
send_msg({"type": "load", "id": "1", "key": "webhook_url"})
resp = read_msg()
webhook = resp.get("value")

if not webhook:
    send_msg({"type": "output", "text": "No webhook configured. Run: fledge notify --setup"})
    sys.exit(0)

if "--setup" in args:
    send_msg({"type": "prompt", "id": "2", "message": "Discord webhook URL:"})
    resp = read_msg()
    send_msg({"type": "store", "id": "3", "key": "webhook_url", "value": resp["value"]})
    send_msg({"type": "output", "text": "Webhook saved."})
else:
    message = " ".join(args) or f"{project}: lane completed"
    send_msg({
        "type": "exec", "id": "4",
        "command": f"curl -s -X POST -H 'Content-Type: application/json' -d '{{\"content\":\"{message}\"}}' {webhook}"
    })
    result = read_msg()
    send_msg({"type": "output", "text": "Notification sent."})

Using it in a lane:

[lanes.deploy]
description = "Build, deploy, notify"
steps = [
  "build",
  { run = "fledge deploy --target production" },
  { run = "fledge notify 'Deploy complete'" },
]
fail_fast = true

Example: AI Context Plugin

A plugin that helps AI agents understand a project quickly:

plugin.toml:

[plugin]
name = "fledge-plugin-context"
version = "0.1.0"
description = "Generate project context for AI agents"
protocol = "fledge-v1"

[capabilities]
metadata = true
exec = true

[[commands]]
name = "context"
description = "Generate project context summary"
binary = "bin/context"

The plugin would:

  1. Request project metadata (language, name, git info)
  2. Run find to map the directory structure
  3. Read key files (README, config, entry points)
  4. Output a structured context document that AI agents can consume
# Human use
fledge context

# AI agent use (structured output)
fledge context --json

This gives any AI agent, Claude Code, Cursor, Copilot, instant project understanding without scanning every file.

Combining Plugins with Lanes

The real power comes from composing plugins into lanes:

[lanes.ship]
description = "Full release pipeline"
steps = [
  { parallel = ["lint", "test"] },
  "build",
  { run = "fledge coverage --min 80" },
  { run = "fledge secrets --scan" },
  { run = "fledge deploy --target staging" },
  { run = "fledge notify 'Staging deploy complete, ready for review'" },
]

[lanes.audit]
description = "Full project audit"
fail_fast = false
steps = [
  { run = "fledge deps --outdated --audit" },
  { run = "fledge coverage" },
  { run = "fledge secrets --scan" },
  { run = "fledge license --check" },
  { run = "fledge metrics --churn --tests" },
  { run = "fledge sbom --format spdx" },
]

Every step is a plugin command, a built-in task, or an inline command. Mix and match freely.