Public repo: .#loop fetches over public HTTPS, README for outsiders
ci / check (push) Successful in 8s

- flake.nix: .#loop runs git+https://gitea.surma.technology/surma/sausage
  (SAUSAGE_FLAKE overrides it); drop loop-internal / --internal (LAN SSH).
- README: clone step, LLM token requirement, loop URL and SAUSAGE_FLAKE.
- ci.yml: comment without internal host name.
This commit is contained in:
Sausage Agent
2026-10-16 20:40:26 +00:00
parent c1f182d9b6
commit d0876626df
3 changed files with 15 additions and 14 deletions
+7 -4
View File
@@ -10,9 +10,11 @@ change its own code.
## Start
You need [Nix](https://nixos.org/download) with flakes.
You need [Nix](https://nixos.org/download) with flakes, and an API token for
an LLM (OpenAI Responses or Anthropic Messages API).
```sh
git clone https://gitea.surma.technology/surma/sausage && cd sausage
nix run -- init # creates ./world and builds the agent (a few minutes)
nix run -- run # starts the world and a console
```
@@ -26,12 +28,13 @@ folder as an argument, for example `nix run -- run my-world`.
To keep a world on the newest version, run it in a loop:
```sh
nix run .#loop -- my-world # or .#loop-internal (Gitea on the LAN)
nix run .#loop -- my-world
```
The loop runs `nix run --refresh git+ssh://…/surma/sausage -- run my-world`.
The loop runs `nix run --refresh git+https://gitea.surma.technology/surma/sausage -- run my-world`.
When the host crashes or an actor sends `@broker {"type":"exit"}`, the loop
fetches the newest commit and starts it again. `/quit` ends the loop.
fetches the newest commit and starts it again. `/quit` ends the loop. Set
`SAUSAGE_FLAKE` to run another flake URL instead, for example your fork.
In the console: