Skip to main content

Multi-Agents Interactive Chat Tool

Project description

AgentCrew Logo

AgentCrew

Your team of AI specialists for coding, research, and automation.
Run multiple focused agents from a desktop app, terminal, or API.

GitHub stars PyPI Downloads Pylint License: Apache 2.0 Python Version


What is AgentCrew?

AgentCrew lets you build and run a team of specialized AI agents instead of relying on a single generic assistant.

  • Give each agent a role — architect, coder, researcher, reviewer, or browser operator.
  • Agents can hand off work to teammates when a task fits their specialty.
  • Use the same team in a desktop GUI, terminal, automated jobs, or over HTTP.

Watch the demo


Quick Start

1. Install

macOS / Linux

curl -LsSf https://agentcrew.dev/install.sh | bash

Windows

powershell -ExecutionPolicy ByPass -c "irm https://agentcrew.dev/install.ps1 | iex"

pip (any platform)

pip install agentcrew-ai

2. Add an API key

AgentCrew needs at least one AI provider key. Pick your preferred provider and add the key:

Option A — Environment variable

export ANTHROPIC_API_KEY="sk-ant-..."
# or
export OPENAI_API_KEY="sk-proj-..."
# or
export GEMINI_API_KEY="AIza..."

Option B — Config file

mkdir -p ~/.AgentCrew
cat > ~/.AgentCrew/config.json << 'EOF'
{
  "api_keys": {
    "ANTHROPIC_API_KEY": "sk-ant-..."
  }
}
EOF

Option C — Subscription login

If you have a ChatGPT Plus / Pro subscription or a GitHub Copilot subscription, you can log in directly instead of using an API key:

# ChatGPT Plus / Pro (Codex models)
agentcrew chatgpt-auth
agentcrew chat --provider openai_codex

# GitHub Copilot
agentcrew copilot-auth
agentcrew chat --provider github_copilot

Supported providers: Anthropic Claude, OpenAI, Google Gemini, GitHub Copilot, DeepInfra, Together AI, OpenCode, and any OpenAI-compatible endpoint.

Tip: Not sure which provider to pick? Claude and OpenAI work great for most users. See CONFIGURATION.md for provider-specific setup details.

3. Launch AgentCrew

# Desktop GUI
agentcrew chat

# Terminal mode
agentcrew chat --console

On the first launch, AgentCrew will walk you through creating your first agent if you do not already have one.

4. Create your first agent

If you already have an API key set and want to create a new agent from scratch:

agentcrew create-agent

Or define one manually in ~/.AgentCrew/agents.toml:

[[agents]]
name = "CodeAssistant"
description = "Helps write and review code"
tools = ["code_analysis", "file_editing", "web_search", "memory"]
system_prompt = """You are an expert software engineer.
Focus on code quality, security, and maintainability.
Today is {current_date}."""

5. Start working

Switch between agents, attach files, and let your team handle the rest.

/agent Architect
Design a clean API for a task manager.

@Coding
Implement the task manager in Python using FastAPI.

@Reviewer
Review the code for security issues.

Ways to Use AgentCrew

Mode Command Best for
Desktop GUI agentcrew chat Daily interactive work, file drag-and-drop, visual diffs
Terminal agentcrew chat --console Remote servers, low-overhead use, keyboard-driven workflows
One-shot jobs agentcrew job --agent "CodeAssistant" "your task" ./files CI/CD scripts, automation, batch processing
HTTP API agentcrew a2a-server Integrating with other apps, multi-instance setups

Job mode example:

agentcrew job --agent "CodeAssistant" \
  "Review for security issues" \
  ./src/**/*.py

A2A server example:

agentcrew a2a-server --host 0.0.0.0 --port 41241

What Can Agents Do?

Agents come with a toolkit you enable per agent:

  • Code analysis — understand repo structure, read files, grep, search
  • File editing — write or modify files with search/replace blocks and backups
  • Web search & extraction — pull current information from the web
  • Browser automation — navigate, click, fill forms, and capture screenshots
  • Command execution — run safe shell commands with rate limits and audit logs
  • Memory — remember past conversations and retrieve relevant context
  • Voice — speak and listen using ElevenLabs or DeepInfra (optional)
  • MCP tools — connect to external services via the Model Context Protocol
  • Structured output — enforce JSON schema responses in job mode

Example Agent Configurations

See the examples/agents/ folder for ready-to-use agent setups. To use an example:

cp examples/agents/agents.simple.toml ~/.AgentCrew/agents.toml
agentcrew chat

Configuration Files

AgentCrew stores settings in ~/.AgentCrew/:

File Purpose
config.json API keys, theme, global preferences
agents.toml Agent definitions, tools, system prompts
mcp_servers.json External tool servers (optional)

You can edit these files directly or manage them through the GUI settings panel.


Common Console Commands

Inside the chat interface, type:

  • /agent <name> — switch to another agent
  • /clear — start a new conversation
  • /file <path> — attach a file
  • /copy — copy the last response
  • /think <low|medium|high|xhigh> — enable reasoning mode
  • /voice — start voice recording
  • /help - show all available commands
  • exit or quit — close AgentCrew

Next Steps


License

Apache 2.0 License. See LICENSE for details.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

agentcrew_ai-0.15.7.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

agentcrew_ai-0.15.7-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file agentcrew_ai-0.15.7.tar.gz.

File metadata

  • Download URL: agentcrew_ai-0.15.7.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agentcrew_ai-0.15.7.tar.gz
Algorithm Hash digest
SHA256 6223a591ee7f1b44651ecd3fd4c6d063fc56fd8f27c362fc98d200d6a6539e9f
MD5 ef2af76e6a8544e8bd3c7fea7918c2d7
BLAKE2b-256 70a04d4c2d4bcba41a851cae434ba5892583108d91289c6a1eaddf4d5a0c55f6

See more details on using hashes here.

File details

Details for the file agentcrew_ai-0.15.7-py3-none-any.whl.

File metadata

  • Download URL: agentcrew_ai-0.15.7-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agentcrew_ai-0.15.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f02c4aceb1422a6b826be78e11f78865b6c7b840beb4bde02811e2a57d11d695
MD5 cfe5494d5f04d4228f4a9a8b4a31edaa
BLAKE2b-256 05adb352e9219518eeb2c4598e3b7b4c1570486e1641b14876016e47babfe7e6

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