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.

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.2.0.tar.gz (15.5 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.2.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weio_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 15.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 a7dc39761a2bd309f08c1c303de3df0f842158209c144014e738dadf3e5a434a
MD5 1960c43080ebf0fb99a568c29d84f29b
BLAKE2b-256 503218c0352c790d7aa12b3037b860ca8a278d21ea062c346c268d1357ebd642

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weio_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85add05cb47e32c31a2ab29f418a2bab7fb3a260fea1f315d27de1e9ab911bca
MD5 1e8921dd6b7a8c93bd066a98f0e019de
BLAKE2b-256 ba53d3f6a61b8cbbd74bdc4a732593ec605189eef1c445b9598309c7359915ba

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