pybot / tasks /pybot-agent /instruction.md
Agent Manager
Rename pybot world and task for legion
c786dae
|
Raw History Blame Contribute Delete
873 Bytes
# 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.*`).