✓ Verified 💻 Development ✓ Enhanced Data

Factory Ai

Use Factory AI's droid CLI for software engineering tasks.

Rating
4.7 (499 reviews)
Downloads
29,083 downloads
Version
1.0.0

Overview

Use Factory AI's droid CLI for software engineering tasks.

Complete Documentation

View Source →

Factory AI Droid CLI

Use droid to build features, debug, refactor, and deploy code.

Installation

Already installed at: /Users/mitchellbernstein/.local/bin/droid

Authentication

bash
droid login
# or set FACTORY_API_KEY env var
export FACTORY_API_KEY=your-api-key

Commands

Interactive Mode

bash
droid                           # Start fresh session
droid "fix the login bug"       # Start with prompt
droid -r                        # Resume last session
droid -r session-id             # Resume specific session

Non-Interactive (Exec Mode)

bash
droid exec "analyze this file"
droid exec "commit my changes with a good message"
droid exec "deploy to fly.io"
droid exec --help               # Show exec options

Options for Exec

bash
droid exec --force "fix lint errors"    # Auto-apply without confirmation
droid exec --json "analyze code"        # JSON output
droid exec --model claude "task"        # Specify model

MCP Servers

bash
droid mcp list                    # List installed MCP servers
droid mcp add server-name         # Add MCP server
droid mcp remove server-name      # Remove MCP server

Plugins

bash
droid plugin list                 # List plugins
droid plugin add name             # Add plugin

Usage Patterns

Feature Development

bash
droid exec "add a user settings page with dark mode toggle"

Debugging

bash
droid exec "fix this error: [paste error]"

Code Review

bash
droid exec "review the PR for security issues"

Git Operations

bash
droid exec "create a PR for my changes"
droid exec "write a good commit message for the staged changes"

Deployment

bash
droid exec "deploy to fly.io"

Multi-file Changes

bash
droid
# Then in interactive mode:
@src/components/
@src/api/
Implement authentication flow

Notes

  • Droid has deep codebase understanding across your org
  • Supports model flexibility (OpenAI, Anthropic, xAI, etc.)
  • MCP servers for extended capabilities
  • Session-based memory for context continuity

Installation

Terminal bash

openclaw install factory-ai
    
Copied!

💻Code Examples

export FACTORY_API_KEY=your-api-key

export-factoryapikeyyour-api-key.txt
## Commands

### Interactive Mode

droid plugin add name # Add plugin

droid-plugin-add-name--add-plugin.txt
## Usage Patterns

### Feature Development
example.sh
droid login
# or set FACTORY_API_KEY env var
export FACTORY_API_KEY=your-api-key
example.sh
droid                           # Start fresh session
droid "fix the login bug"       # Start with prompt
droid -r                        # Resume last session
droid -r session-id             # Resume specific session
example.sh
droid exec "analyze this file"
droid exec "commit my changes with a good message"
droid exec "deploy to fly.io"
droid exec --help               # Show exec options
example.sh
droid exec --force "fix lint errors"    # Auto-apply without confirmation
droid exec --json "analyze code"        # JSON output
droid exec --model claude "task"        # Specify model
example.sh
droid mcp list                    # List installed MCP servers
droid mcp add server-name         # Add MCP server
droid mcp remove server-name      # Remove MCP server
example.sh
droid
# Then in interactive mode:
@src/components/
@src/api/
Implement authentication flow

Tags

#devops_and-cloud #cli

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author mitchellbernstein
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install factory-ai