简体中文 | English
## yaa `yaa` means Yet Another Agent, which can analyze and understand natural language instructions and automatically create, plan, execute, and check tasks. ## Quick Start ### Deployment Deploy locally: ```bash # Clone project repository to local git clone https://github.com/Byte-tea/yaa.git # Enter project directory cd yaa ``` Configuration: ```bash # 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 ``` ### Usage Start in server mode: ```bash python -m yaa.yaa --serve --config Config.json --server-config ServerConfig.json ``` Start in interactive CLI mode: ```bash python -m yaa.yaa --config Config.json > Please write a bubble sort algorithm in Python. * Working on it... ``` Run single command: ```bash python -m yaa.yaa --run 'Please write a bubble sort algorithm in Python.' --config Config.json * Working on it... ``` More usage: ```bash # 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 ``` ## Project Implementation See [yaa documentation](docs/README.md) for details.