Skip to main content

Weio — an agentic coding assistant that routes inference through your Weio account.

Project description

weio-cli

An agentic coding assistant that runs on your machine and routes inference through your Weio account.

Install

pip install weio-cli        # or: pipx install weio-cli

Requires Python 3.9+.

Authenticate

Generate an API key in Settings → API & CLI on weio.ai, then:

weio login                  # paste your weio_sk_… key (saved to ~/.weio/config.json)
# or, per-session:
export WEIO_API_KEY="weio_sk_…"

Use

Interactive TUI (default)

Run weio with no arguments to drop into an interactive coding session — like a local pair-programmer in your terminal:

cd my-project
weio
weio › add a /health route to app.py that returns {"ok": true}

weio: I'll add a health check route…
  ● edit app.py
  --- a/app.py
  +++ b/app.py
  @@ …
  Apply 1 change(s)? [y/N] y
  ✓ applied 1 change(s). (/undo to revert)

Slash commands: /add <file>, /drop <file>, /files, /auto (auto-apply), /model <id>, /undo, /clear, /cwd, /help, /exit. Arrow-up recalls history. Files you mention or /add are kept in context and re-read each turn.

One-shot & other commands

# Run a single coding task non-interactively (reads & edits files):
weio "add error handling to the fetch() in api.py"

# Add specific files to the context:
weio code "refactor to async" -f server.py -f db.py

# One-shot question (no file edits):
weio ask "what does a 502 from nginx usually mean?"

# Interactive chat:
weio chat

# Check connectivity and your key:
weio ping

Edits are shown as a diff and require confirmation before anything is written (use -y/--yes to apply automatically). New files are created as needed.

Updating

weio-cli checks PyPI once a day (fail-silent) and prints a one-line notice when a newer version is available. To upgrade:

weio update           # upgrades in place via pip
# or
pip install -U weio-cli

Disable the check with WEIO_NO_UPDATE_CHECK=1.

Configuration

Setting Flag Env Config file
API key --key WEIO_API_KEY ~/.weio/config.json
API base --base WEIO_BASE ~/.weio/config.json
Model --model

Self-hosted / LAN gateway? Point at it with --base http://HOST:8901/v1.

Output is billed against your Weio account usage.

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

weio_cli-0.3.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

weio_cli-0.3.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file weio_cli-0.3.0.tar.gz.

File metadata

  • Download URL: weio_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for weio_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 47a2cb5e0060f7c127c0f3c9918e3cfc9be4bfcd05d226135f8c15821bb4f38f
MD5 8e266d4f2d5e701543beb8a81bf10225
BLAKE2b-256 f843fb0acc4f42412e60ff91c0a40be7a1950a7f956f1211df6a2f4f21a699ab

See more details on using hashes here.

File details

Details for the file weio_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: weio_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for weio_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b53f8348432951101f1fddd777f77e2f3a31a8b24f45d0e7151ef104899ddbb1
MD5 62022cda63d398581e03124658dcc7d9
BLAKE2b-256 2a7db9b5b0546574bbaf721497dc8ee98331b76e4cce8d0231f228180311aab2

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