# OpenCode example for ai.psi.ch This is a slightly more fleshed-out version of the OpenCode example [here](https://ai.pages.psi.ch/user-guide/coding-agent/#3-configure-opencode). Make sure to read the [documentation](https://ai.pages.psi.ch/user-guide/coding-agent). ## Prerequisites - Bash - Docker or Podman ## Setup Run `setup.sh` once to build the Docker image and create the `auth.json`. It will ask you to manually insert [your key](https://ai.pages.psi.ch/user-guide/coding-agent/#2-generate-your-api-key) into the file. ## Usage Run `vibe.sh some/work/space/folder` to work in the given folder. The folders necessary to persist across sessions are mounted from `opencode/data/` into the container.