Kindship CLI

Command-line interface for orchestrating AI coding agents. Make Claude Code, Gemini CLI, Codex, and OpenCode fully autonomous.

The Kindship CLI is an orchestrator for AI coding agents. It enables autonomous workflows by connecting your favorite coding agent to Kindship's planning and execution system.

Supported Agents

  • Claude Code — Anthropic's CLI for Claude
  • Gemini CLI — Google's Gemini coding assistant
  • Codex — OpenAI's coding agent
  • OpenCode — Open-source coding agent

Installation

macOS / Linux

curl -fsSL https://kindship.ai/install.sh | sh

Homebrew

brew install kindship-ai/tap/kindship

Go

go install github.com/kindship-ai/kindship-cli@latest

Quick Start

1. Authenticate

kindship login

This opens your browser for authentication. Once complete, your credentials are stored securely in ~/.kindship/config.json.

2. Set up a repository

Navigate to your project and run:

kindship setup

This links the repository to a Kindship agent and installs Claude Code hooks.

3. Submit a plan

Create a plan and submit it:

kindship plan submit my-plan.md

4. Execute tasks

Your agent can now fetch and execute tasks autonomously:

kindship run next      # Get next available task
kindship run complete  # Mark current task complete

How It Works

  1. You create a plan — Define objectives, projects, and tasks in Kindship
  2. Agent fetches work — The CLI provides the next task to your coding agent
  3. Agent executes — Your agent works autonomously on the task
  4. Agent reports back — The CLI reports completion and fetches the next task

Commands

CommandDescription
kindship loginAuthenticate with Kindship
kindship logoutLog out and revoke token
kindship whoamiShow current user and agent
kindship setupInitialize repository with agent binding
kindship statusShow repository and agent status
kindship versionShow CLI version
kindship updateUpdate CLI to latest version
kindship plan submitSubmit a plan file
kindship plan exportExport an entity and its descendants as JSON
kindship plan importImport entities from an export file
kindship plan nextGet the next executable task
kindship entity listList planning entities
kindship entity createCreate a planning entity
kindship entity updateUpdate a planning entity
kindship entity getGet details of a planning entity
kindship entity deleteDelete a planning entity (soft-delete)
kindship entity restoreRestore a deleted entity
kindship entity moveMove an entity to a new parent
kindship entity activateActivate a DRAFT entity
kindship entity depsManage entity dependencies
kindship runExecute a planning entity
kindship agent loopRun autonomous execution loop
kindship site createCreate a new hosted site
kindship site listList your sites
kindship site statusGet site info and build status
kindship site pushPublish a local site workspace
kindship site logsView build logs
kindship site deleteDelete a site
kindship site domainManage custom domains (set, status, remove, check, register)
kindship attach readRead an attachment's content
kindship attach writeCreate or update a text attachment
kindship attach listList all attachments for the current entity
kindship dns credentialsManage DNS provider credentials

Plan Export & Import

Export any planning entity and its full descendant tree as a flat JSON array:

kindship plan export <entity-id>                    # Text tree view
kindship plan export <entity-id> --output plan.json # Save to file
kindship plan export <entity-id> --include-deleted  # Include deleted entities

Import entities from an export file (round-trip safe):

kindship plan import plan.json              # From file
kindship plan export <id> | kindship plan import  # Pipe from export

Entities with existing UUIDs are updated; new UUIDs are created. See Plan Format for details.

Entity Tags

Use --tags when creating or updating entities via the CLI:

kindship entity create --type TASK --parent <id> --title "One-time import" --mode BASH --code "..." --tags ephemeral
kindship entity update <id> --tags ephemeral,priority

Tags are also supported in plan submit JSON:

{
  "title": "My Plan",
  "tags": ["ephemeral"],
  "tasks": [
    { "title": "Step 1", "tags": ["ephemeral"], "execution_mode": "BASH", "code": "..." }
  ]
}

The ephemeral tag marks entities for automatic soft-deletion after successful completion — useful for one-time work that would clutter the planning tree.

Learn More