README.en.md 1.7 KB

banner

简体中文 | 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:

# 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

Usage

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

Project Implementation

See yaa documentation for details.