Skip to main content

Forgexa CLI — command-line client for managing workspaces, projects, requirements, and agent runtimes

Project description

Forgexa CLI

Command-line client for the [Forgexa platform.

Lightweight, zero-dependency — communicates with the Forgexa server via REST API using only Python stdlib.

Installation

# From PyPI (recommended)
pip install forgexa-cli

# Or with pipx (isolated environment)
pipx install forgexa-cli

# Verify installation
forgexa version

Development Installation

# Install from source (editable mode)
git clone https://github.com/anthropics/ai-software-factory.git
cd ai-software-factory/cli
pip install -e .

Quick Start

# Configure server (default: http://localhost:8000)
export FORGEXA_SERVER_URL=https://your-server.example.com

# Login (saves token to ~/.forgexa/token)
asf login

# List workspaces
asf workspace list

# List projects
asf project list --workspace <workspace-id>

# Show kanban board
asf board --project <project-id>

Commands

Command Description
forgexa login Login and save access token
forgexa logout Remove saved token
forgexa workspace list List workspaces
forgexa workspace create <name> Create a workspace
forgexa project list --workspace <id> List projects
forgexa project create <name> --workspace <id> Create a project
forgexa requirement list --project <id> List requirements
forgexa requirement create <title> --project <id> Create a requirement
forgexa requirement analyze --id <id> Analyze a requirement
forgexa board --project <id> Show kanban board
forgexa run list --project <id> List executions
forgexa run start <execution-id> Start an execution
forgexa gates pending List pending gates
forgexa gates approve --gate <id> Approve a gate
forgexa gates reject --gate <id> Reject a gate
forgexa workflow show --project <id> Show workflow policy
forgexa workflow reload --project <id> Reload workflow
forgexa budget --workspace <id> Budget overview
forgexa daemon status Show daemon statuses
forgexa daemon stop Stop local daemon
forgexa runtimes list List runtimes
forgexa version Show CLI version

Configuration

Variable Default Description
FORGEXA_SERVER_URL http://localhost:8000 `Server base URL
FORGEXA_TOKEN Bearer token (overrides ~/.forgexa/token)

Output Format

asf workspace list                  # Table (default)
asf workspace list --format json    # JSON
asf workspace list --format quiet   # IDs only

Daemon Management

The forgexa CLI handles remote daemon queries. To start a daemon locally, use the forgexa-daemon command from the backend package:

pip install ./backend
forgexa-daemon  # starts the runtime daemon

Publishing to PyPI

Prerequisites

pip install build twine

Build & Publish

cd cli/

# Build only (creates dist/)
./scripts/publish.sh build

# Publish to TestPyPI (for testing)
./scripts/publish.sh test

# Publish to PyPI (production)
./scripts/publish.sh

Version Bumping

# Bump version (updates pyproject.toml + __init__.py)
./scripts/bump-version.sh 0.3.0

# Then commit, tag, and publish
git add -A && git commit -m "release(cli): v0.3.0"
git tag cli-v0.3.0
./scripts/publish.sh

PyPI Authentication

Configure via environment variables or ~/.pypirc:

# Using API token (recommended)
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-AgEIcH...

# Or create ~/.pypirc
cat > ~/.pypirc << 'EOF'
[pypi]
username = __token__
password = pypi-AgEIcH...

[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = pypi-AgEIcH...
EOF
chmod 600 ~/.pypirc

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

forgexa_cli-1.0.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

forgexa_cli-1.0.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file forgexa_cli-1.0.2.tar.gz.

File metadata

  • Download URL: forgexa_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for forgexa_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ce531cdf0624865b3ff3981ca52ed33b71a6a4a3aa861982c564b9ebf81dee09
MD5 53c84cec9411670a4d63905a2db7d9a6
BLAKE2b-256 ad5b2d8f51600f280637bca5a7cf7ef7bc427b119492565186276c55bed1c4e0

See more details on using hashes here.

File details

Details for the file forgexa_cli-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: forgexa_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for forgexa_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f67a0717b6e2ad3aeed6056f0a69ca8e2bea8d5573a8164bce58015d215a7a8f
MD5 caba4056ef1e2371762aca975febacf2
BLAKE2b-256 a756ca5d4abfdd360e9663688d42e732f51509649c06ba1339fec701c90395a6

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