|
|
1 tahun lalu | |
|---|---|---|
| .github | 1 tahun lalu | |
| assets | 1 tahun lalu | |
| configs | 1 tahun lalu | |
| docs | 1 tahun lalu | |
| yaa | 1 tahun lalu | |
| .gitignore | 1 tahun lalu | |
| CONTRIBUTING.md | 1 tahun lalu | |
| LICENSE | 1 tahun lalu | |
| README.en.md | 1 tahun lalu | |
| README.md | 1 tahun lalu | |
| VERSION | 1 tahun lalu | |
| about.md | 1 tahun lalu |
简体中文 | English
yaa means Yet Another Agent, which can analyze and understand natural language instructions and automatically create, plan, execute, and check tasks.
Deploy locally:
# Clone project repository to local
git clone https://github.com/Byte-tea/yaa.git
# Enter project directory
cd yaa
Configuration:
# Create client config file (will override default config)
cp configs/Config.example.json Config.json
# Create server config file (will override default config)
cp configs/ServerConfig.example.json ServerConfig.json
Start in server mode:
python -m yaa.yaa --serve --config Config.json --server-config ServerConfig.json
Start in interactive CLI mode:
python -m yaa.yaa --config Config.json
> Please write a bubble sort algorithm in Python.
* Working on it...
Run single command:
python -m yaa.yaa --run 'Please write a bubble sort algorithm in Python.' --config Config.json
* Working on it...
More usage:
# Run: python -m yaa.yaa --help
usage: yaa.py [-h] [--run [RUN] | --serve]
[--config CONFIG]
[--port PORT]
yaa agent command line interface
options:
-h, --help show this help message and exit
--run [RUN] send command to agent
--serve server mode
--config CONFIG config file path
--port PORT server port number, default 12345
See yaa documentation for details.