Skip to main content

Thin CLI + MCP client for Agent-CoreX — execute any task with a single query

Project description

Agent-CoreX

Execute any task with a single natural language query.

Agent-CoreX is a thin CLI + MCP client for the Agent-CoreX v2 backend. All intelligence — query decomposition, tool selection, input extraction, and execution — lives in the backend.


Install

# pip
pip install agent-corex

# uvx (no install required)
uvx agent-corex run "list my supabase projects"

# Homebrew (macOS / Linux)
brew tap ankitpro/agent-corex
brew install agent-corex

# Binary — download from GitHub Releases
# https://github.com/ankitpro/agent-corex/releases/latest

Quickstart

# Authenticate
agent-corex login --key acx_your_api_key

# Run a query
agent-corex run "list my supabase projects"

# Debug mode — see full execution pipeline
agent-corex run "create a github repo called my-app" --debug

CLI Reference

agent-corex run "<query>"                 Execute a task
agent-corex run "<query>" --debug         Show full step details
agent-corex config set api_url=<url>      Set backend URL
agent-corex config set api_key=<key>      Set API key
agent-corex config show                   Show current config
agent-corex login --key <key>             Store and verify API key
agent-corex logout                        Remove stored API key
agent-corex health                        Check backend status
agent-corex version                       Print version
agent-corex serve                         Start MCP server (for Claude/Cursor)

MCP Usage

Agent-CoreX exposes a single MCP tool — execute_query — for use with Claude Desktop, Cursor, and other MCP-compatible clients.

Claude Desktop / Cursor

Add to your MCP config:

{
  "agent-corex": {
    "command": "agent-corex",
    "args": ["serve"],
    "env": {
      "AGENT_COREX_API_KEY": "acx_your_api_key"
    }
  }
}

uvx (no install required)

{
  "agent-corex": {
    "command": "uvx",
    "args": ["agent-corex", "serve"],
    "env": {
      "AGENT_COREX_API_KEY": "acx_your_api_key"
    }
  }
}

Once connected, use Claude naturally — it will call execute_query automatically:

"List my Supabase projects" "Create a GitHub repo called my-app and add a README" "Deploy my Railway service"


Examples

# List Supabase projects
agent-corex run "list my supabase projects"

# Multi-step: list and analyze
agent-corex run "list my supabase projects and show their sizes"

# Debug mode — see intents, tools, inputs, latency
agent-corex run "deploy my railway service" --debug

# Missing input — backend will ask what's needed
agent-corex run "deploy service"

Configuration

Config is stored at ~/.agent-corex/config.json:

{
  "api_url": "https://api.v2.agent-corex.com",
  "api_key": "acx_..."
}

Override via environment variables:

AGENT_COREX_API_KEY=acx_...        # takes priority over config file
AGENT_COREX_API_URL=http://...     # for local development

Architecture

User / LLM
    │
    ├── CLI: agent-corex run "<query>"
    │         └── POST /execute/query → backend v2
    │                   (decompose → retrieve → select → execute)
    │
    └── MCP: execute_query tool
              └── POST /execute/query → backend v2

The CLI is intentionally minimal:

  • backend = brain (query decomposition, tool selection, execution)
  • CLI = interface (send query, display response)
  • MCP = bridge (expose single tool to LLMs)

License

MIT — see LICENSE

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

agent_corex-4.4.1.tar.gz (61.1 kB view details)

Uploaded Source

Built Distribution

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

agent_corex-4.4.1-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file agent_corex-4.4.1.tar.gz.

File metadata

  • Download URL: agent_corex-4.4.1.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_corex-4.4.1.tar.gz
Algorithm Hash digest
SHA256 491a3f264f8787227fbb96c1be680aa2c87d138d49146d11fc1718e5d714d93c
MD5 83d5d162f238aecdf825c4d3b0e0ccf0
BLAKE2b-256 723802aefaa905b8936d8dc01c4522e4ddaef3bf51f2a08ca03a061b0d1f8252

See more details on using hashes here.

File details

Details for the file agent_corex-4.4.1-py3-none-any.whl.

File metadata

  • Download URL: agent_corex-4.4.1-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_corex-4.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37f8cbe38fed2491ef8aa8af8c4051311e82bf57ae3d80aeecd753d01287b435
MD5 c6b1afb71c0dfe8a0adafc4df76ac91d
BLAKE2b-256 3795daafa6a4e5989a27a4662b5b21119aa22c01fd2ed776ee8e20d15c15d3d3

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