Metadata-Version: 2.4
Name: aistvagent
Version: 1.1.0
Summary: AISTV - AI IT Agent cho Windows
Author: AISTV
License-Expression: MIT
Project-URL: Homepage, https://github.com/aistv/agent
Project-URL: Source, https://github.com/aistv/agent
Keywords: ai,agent,windows,it-support,aistv
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Desktop Environment
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: playwright>=1.40.0
Requires-Dist: pyautogui>=0.9.54
Requires-Dist: Pillow>=10.0.0

# AI STV Agent

Trợ lý AI thông minh cho Windows. Tích hợp Telegram bot, điều khiển hệ thống, quản lý file, duyệt web, và hơn 30 công cụ khác.

## Cài đặt

```bash
pip install aistvagent
```

Yêu cầu: Python >= 3.10, Playwright browsers, opencode CLI.

```bash
# Sau khi cài đặt
playwright install chromium
opencode onboard  # Cấu hình opencode lần đầu
```

## Sử dụng

### CLI

```bash
# Chạy server (Web UI + Telegram API)
openaistv

# Hoặc dùng module
python -m openclaw
```

### Python library

```python
from openclaw.core.agent import Agent
from openclaw.main import register_all_skills

agent = Agent()
register_all_skills(agent)

# Gửi câu hỏi
result = agent.process_message("kiểm tra hệ thống")
print(result)
```

### Telegram Bot

1. Mở Web UI tại `http://localhost:8000`
2. Vào tab Telegram, nhập token bot
3. Bấm "Start Bot"
4. Chat với bot trên Telegram

### Node.js

```bash
npm install aistvagent
```

```typescript
import { Agent } from "aistvagent";
const agent = new Agent();
agent.registry.register("system", systemFn, "System info");
const result = await agent.processMessageAsync("check system");
```

## Công cụ

- `system` - Quản lý hệ thống: info, disk, temp, network, processes, services, env
- `software` - Quản lý phần mềm: install, uninstall, list, update
- `web` - Duyệt web: browse, screenshot (Playwright)
- `file_mgr` - Quản lý file: read, write, delete, list, compress, extract
- `telegram_bot` - Telegram Bot: set_token, start, stop, status
- `os_control` - Điều khiển: screen, click, type, press, hotkey
- `debug` - Lập trình: run, build, git, npm, pip
- `extra` - Tiện ích: tính toán, mã hóa, thời gian, thời tiết, v.v.

## License

MIT
