Skip to main content

TUI reference implementation for ya-agent-sdk

Project description

YAACLI CLI

TUI reference implementation for ya-agent-sdk.

Usage

Run with uvx:

uvx yaacli

Install with uv:

uv tool install yaacli
yaacli

Update with uv:

uv tool upgrade yaacli

Install with pip:

pip install yaacli
yaacli

Run as a module:

python -m yaacli

Built-in Skills

YAACLI ships with building-agents from the repository canonical source skills/agent-builder/.

The YA Claw deployment skill lives in skills/ya-claw-deploy/ and is published as YA_CLAW_DEPLOY_SKILL.zip during release.

The repository sync script keeps bundled skill files under packages/yaacli/yaacli/skills/ aligned.

Development

This package lives in the ya-mono workspace.

git clone git@github.com:YOUR_NAME/ya-mono.git
cd ya-mono
uv sync --all-packages
cp packages/yaacli/.env.example packages/yaacli/.env

YAACLI loads .env from packages/yaacli/.env and the current working directory. Provider API keys can live in that .env file or in ~/.yaacli/config.toml under [env]. SDK and tool variables such as YA_AGENT_*, YA_AGENT_BROWSER_USE_*, and search API keys can also live in that same .env file because YAACLI loads it into the process environment at startup. Use packages/ya-agent-sdk/.env.example as the reference list for SDK and tool variables.

Shell command review is configured in ~/.yaacli/config.toml under security.shell_review:

[security.shell_review]
enabled = true
model = "gateway@openai-responses:gpt-5.4-mini"
model_settings = "openai_responses_low"
on_needs_approval = "defer"
deny_risk_level = "high"

When enabled, model is required. model_settings accepts SDK preset names or an inline TOML table. The default deny threshold is high.

Run CLI tests from the workspace root:

make test-cli

Clipboard Image Paste

Plain terminal paste always inserts text into the input box. Use Ctrl+V or /paste-image to attach an image from the system clipboard. On macOS terminal apps over SSH, map Command+Shift+V to send Ctrl+V if you want a native-feeling shortcut.

YAACLI reads clipboard images through Pillow first on macOS and Windows. macOS also reads Finder-copied image files through Cocoa pasteboard APIs via pyobjc-framework-Cocoa. Linux image paste still relies on wl-paste on Wayland or xclip on X11.

License

BSD 3-Clause License. See the repository license.

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

yaacli-0.70.0.tar.gz (238.4 kB view details)

Uploaded Source

Built Distribution

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

yaacli-0.70.0-py3-none-any.whl (208.9 kB view details)

Uploaded Python 3

File details

Details for the file yaacli-0.70.0.tar.gz.

File metadata

  • Download URL: yaacli-0.70.0.tar.gz
  • Upload date:
  • Size: 238.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for yaacli-0.70.0.tar.gz
Algorithm Hash digest
SHA256 7c2adb5d941099292d9e5cc4174b543e12dbb1a0241980a5519867889ec6c945
MD5 8955de93ba6e5f03d4666456f46b2318
BLAKE2b-256 00f8812b239fd4e6fd97941b71f6d6f4dc80f418c39e0f54837df0b0354785b4

See more details on using hashes here.

File details

Details for the file yaacli-0.70.0-py3-none-any.whl.

File metadata

  • Download URL: yaacli-0.70.0-py3-none-any.whl
  • Upload date:
  • Size: 208.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for yaacli-0.70.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8bdb6a2e6b49f3c3949658e2485fa1180095087be9a70e01766486da390f5cb
MD5 4cd127a366e91e3a3c4b2aa524bb9c7a
BLAKE2b-256 4f93ae9a4f2b6193d3ec397bd6d996575b9f062d35bd9ac8cc267ce85e4cacd5

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