|
Download tasks/pybot-agent/instruction.md from HuggingFaceSwarms/pybot: direct link, hf CLI and curl.
- Browser
- Download file 873 Bytes
-
https://huggingface.co/datasets/HuggingFaceSwarms/pybot/resolve/main/tasks/pybot-agent/instruction.md
- Command line
-
hf download hf://datasets/HuggingFaceSwarms/pybot/tasks/pybot-agent/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/HuggingFaceSwarms/pybot/resolve/main/tasks/pybot-agent/instruction.md
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.*`). | |