Skip to main content

CLI to orchestrate AI agents (Claude, Codex, Gemini, Grok)

Project description

hire-ai

CLI to orchestrate AI agents (Claude, Codex, Gemini, Grok).

⚠️ Warning: By default, CLI agents run in auto-approve mode:

  • Claude Code: --dangerously-skip-permissions
  • Codex: --full-auto
  • Gemini CLI: -y

This means agents can execute commands and modify files without confirmation. You can customize this in ~/.config/hire/config.json.

Installation

# Using pipx (recommended)
pipx install hire-ai

# Using pip
pip install hire-ai

# Using Homebrew (macOS)
brew install nichiki/tap/hire-ai

Prerequisites

You need at least one of the following:

Usage

# Basic usage - hire an agent
hire codex "Design a REST API for a todo app"
hire gemini "Research the latest React 19 features"
hire claude "Review this code for security issues"
hire grok "Analyze this codebase"

# Continue a session
hire -c codex "Tell me more about the authentication"
hire -s SESSION_ID "Follow up question"

# Name a session for later
hire -n my-project codex "Start designing the architecture"
hire -s my-project "What about the database schema?"

# Pipe input
cat main.py | hire codex "Review this code"
git diff | hire claude "Explain these changes"
echo "What is 2+2?" | hire gemini

# Attach files (using @filepath - CLI agent feature, not available for Grok)
hire claude "Review @src/main.py for security issues"
hire codex "Explain @package.json and @tsconfig.json"

# Output as JSON
hire gemini "Summarize this" --json

# Copy to clipboard
hire codex "Write a function" --clip

# Write to file
hire claude "Generate a README" -o README.md

# Session management
hire sessions              # List all sessions
hire sessions codex        # List sessions by agent
hire show SESSION_ID       # Show session details
hire delete SESSION_ID     # Delete a session
hire delete --all          # Delete all sessions

# Check environment
hire doctor                # Check installed agents and config

Options

Option Description
-c, --continue Continue the latest session
-s, --session ID Continue a specific session
-n, --name NAME Name the session
-m, --model MODEL Specify model to use
--json Output in JSON format
--clip Copy output to clipboard
-o, --out FILE Write output to file

Configuration

Config is stored at ~/.config/hire/config.json:

{
  "adapters": {
    "claude": {
      "command": "claude",
      "args": ["--dangerously-skip-permissions"]
    },
    "codex": {
      "command": "codex",
      "args": ["--full-auto"]
    },
    "gemini": {
      "command": "gemini",
      "args": ["-y"]
    },
    "grok": {
      "model": "grok-4-latest",
      "api_key": "xai-..."
    }
  },
  "defaults": {
    "agent": "claude"
  }
}

Data Storage

Sessions are stored at ~/.local/share/hire/sessions/.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hire_ai-0.1.7.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hire_ai-0.1.7-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file hire_ai-0.1.7.tar.gz.

File metadata

  • Download URL: hire_ai-0.1.7.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for hire_ai-0.1.7.tar.gz
Algorithm Hash digest
SHA256 850fa27c0d5df83b0d2b33e1c8082940306639c449880b09cd2e0452a1c272c7
MD5 035ec9e55d08871d1fdc4f285a21183f
BLAKE2b-256 d1d6828ff46596f5dfe87ffaea7bb6406c079e3de4fa86af2764b7b71f19091a

See more details on using hashes here.

File details

Details for the file hire_ai-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: hire_ai-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for hire_ai-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 afcdf436da0bc5edf84188170de7e329a4f4deccbf4adce884a375e4ed4740cd
MD5 6b532b9ad6065f0cbe70241e5d7c0981
BLAKE2b-256 bdea72f74cc7001531168e5c6e6c387c82af5c14f2c372a9e0b39e413fc97a62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page