Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

320 Commits

Folders and files

Repository files navigation

Coworker Protocol

Coworker Protocol (CWP) defines how people, AI, and software work together. The Coworker Runtime runs actions and records what happened. RBel is a programming language built for people, ai, and software to work together. An RBel document can explain a rule, define it in executable code, and put a runnable example beside it.

Try RBel on macOS

Download RBel for macOS and unzip it. Download the RBel quickstart document and save it next to the rbel executable. From that folder, run:

./rbel --eval-with quickstart.rbel.md '(score 5)'

The command prints 7. Change the bonus in the document from 2 to 3 and run it again to get 8.

Run Pocket Monsters

A person opens the adventure as the game master. On the next turn, software takes over the same role and asks a dice roller what happens when you offer a berry. You can follow the game master's reply back to the stored roll.

Download the demo source that matches the macOS preview. Unzip it next to the extracted rbel executable. In Terminal, enter the extracted coworker-protocol-… folder and run:

../rbel areas/cwp/text-adventuring/invocation-pocket-monster.rbel.md

The walkthrough runs in memory and ends with a prepared watchtower reply. To continue the scene with a live AI game master, follow the Codex setup guide.

Go deeper

Build from source

Use the Nix development shell when working on the repository or running examples from your checkout. With flakes enabled, run this from the repo root:

nix develop -c ./coworkers/bin/rbel areas/cwp/text-adventuring/invocation-pocket-monster.rbel.md

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages