A powerful tool execution agent
Project description
uag (Local AI Agent)
uag is a local interactive agent that executes commands, manipulates files, and reads data files such as PDF, PPTX, and Excel. It provides three user interfaces: CLI, GUI, and Web. uag is built to keep you free from vendor-locked apps: use the interface that fits your workflow, switch providers, and stay in control of your environment. GitHub: https://github.com/awaku7/agentcli
Installation
Install from PyPI with pip:
pip install uag
If you use a virtual environment, activate it first and then run the command above.
On first launch, uag checks your environment and starts the setup wizard automatically when required provider variables are missing. For configuration details, see ENVIRONMENT.md.
Key Features
- Practical toolset: File manipulation, web search, PDF/PPTX/Excel extraction, image generation, and image analysis.
- Multi-provider support: OpenAI / Azure / Bedrock / OpenRouter / Ollama / Gemini / Vertex AI / Claude / Grok / NVIDIA.
- Three interfaces:
- CLI:
uag/python -m uagent - GUI:
uagg/python -m uagent.gui - Web:
uagw/python -m uagent.web - A2A server:
uaga/python -m uagent.a2a.server
- CLI:
- MCP support: Connect to external MCP tool servers.
- Session continuity: Keep context when switching models or providers.
- Web Inspector: Save browser transitions, DOM snapshots, and screenshots with
playwright_inspector. - Built-in docs: Read bundled docs with
uag docs.
Usage
Start and exit
Run uag in your terminal to start. Type :exit to quit.
A2A server
Launch an Agent2Agent-compatible HTTP server:
uaga
See ENVIRONMENT.md for UAGENT_A2A_* settings such as auth, host, port, reload, public base URL, concurrency, and engine.
Handy tips
:tools: show loaded tools:logs [n]: show recent session logs:load <index>: load a previous session:skills: select and load Agent Skills:shrink [n]: summarize history and keep the lastnmessages
Configuration and details
Environment variables and setup
For API keys, language settings (UAGENT_LANG), history shrink settings, and more, see ENVIRONMENT.md.
- Setup wizard:
python -m uagent.setup_cli - Encrypted environment: use
uag_envsecto encrypt.envas.env.sec - Update encrypted values:
uag_envsec add --file .env.sec --key NAME --value VALUE
Responses API note
If you set UAGENT_RESPONSES=1, Responses API is used for supported providers: OpenAI / Azure / Bedrock / OpenRouter / Ollama.
Gemini / Claude / Vertex AI use their native API paths and are not covered by Responses API.
Image analysis via Responses is currently limited to OpenAI / Azure / Bedrock / OpenRouter.
For other providers, uag falls back to the provider-specific or chat-completions path.
Developer docs and translations
- Developer docs:
src/uagent/docs/DEVELOP.md - Add locales:
src/uagent/docs/ADD_LOCALE.md - Other README translations: English / 日本語 / Deutsch / Español / Français / Italiano / 한국어 / Português / Русский / ไทย / 简体中文 / 繁體中文 / Polski / Tiếng Việt / Bahasa Indonesia / العربية / हिन्दी / Português / Svenska / Norsk bokmål / Suomi / Nederlands / Čeština / Українська / Swahili / Bengali / Persian / Mongolian / Marathi
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uag-0.4.43.tar.gz.
File metadata
- Download URL: uag-0.4.43.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
834b7981a7d011141188f07b61308933cfc7f73499859fcc22ea56d4bdefa4b6
|
|
| MD5 |
339654815e6f1ecba32639eabce5b519
|
|
| BLAKE2b-256 |
d31b23167ffce4df595f2fd02687de58f3563a691caa647cb84fbea8a178552c
|
File details
Details for the file uag-0.4.43-py3-none-any.whl.
File metadata
- Download URL: uag-0.4.43-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81b05fca267327e30216b6789dac1ed5654e8f49e9e5b0dbba451ca0b3b6f1e6
|
|
| MD5 |
9432184c8e0c5c8208d4f3f3203dee96
|
|
| BLAKE2b-256 |
2e5dafe68d1340f00425f40e22f46e174bba248953e0cd46f0ffe100dfa42bec
|