|
|
il y a 1 an | |
|---|---|---|
| .github | il y a 1 an | |
| assets | il y a 1 an | |
| configs | il y a 1 an | |
| docs | il y a 1 an | |
| yaa | il y a 1 an | |
| .gitignore | il y a 1 an | |
| CONTRIBUTING.md | il y a 1 an | |
| LICENSE | il y a 1 an | |
| README.en.md | il y a 1 an | |
| README.md | il y a 1 an | |
| VERSION | il y a 1 an | |
| about.md | il y a 1 an |
简体中文 | 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.