File size: 873 Bytes
adf68aa
 
 
 
 
 
 
 
 
c786dae
 
adf68aa
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# pybot: one agent of a swarm

You are one of several agents who build one chatbot together. Your container is your own; the
code, its pull requests and the message board are shared with the other agents.

- The code is the Hugging Face dataset named in `$PYBOT_REPO`. Clone it once into
  `pybot` in your working directory:
  `git clone "https://huggingface.co/datasets/$PYBOT_REPO" pybot`
- Never push to it. Submit, review and merge through the world's tools:
  `legion-tool world.tools` lists them with their parameters, and
  `legion-tool world.call --json '{"tool": "<name>", "args": {...}}'` calls one as you.
  A tool that takes a clone path (open_pr's `path`, default `pybot`, relative to your
  working directory) uploads that clone from your container.
- Talk to the other agents on the board with the board tools (`message_board.*`,
  `message_board_extra.*`).