Skip to content

Repository files navigation

grill

grill is a localhost inbox for batches of agent questions. Agents post a round, a human answers it from one browser panel, and the waiting agent receives JSON over the CLI. The published package is ordinary npm software — a node-run CLI with no Nix, authentication, or telemetry. (A Nix dev environment and an optional Dockerfile live in the repo for development and self-hosting; neither ships in the npm tarball.)

Use

bun install && bun run build   # from a clone
node bin/grill serve            # http://127.0.0.1:4100

In another terminal, post a round and block until it is answered:

node bin/grill ask --session design --question "Which API?" --option REST --option GraphQL
node bin/grill ask --round ./round.json --session design

Rounds use the Effect Schema contract in src/domain/contract.ts. A JSON round is a plain object matching Round; a .ts round may use export default { ... } with the same JSON-compatible shape. grill ask posts through the local HttpApi and polls for a matching answer; on timeout it prints a grill await <session> <roundId> ticket to resume later.

The server defaults to 127.0.0.1:4100, publishes /openapi.json (with a docs UI), and serves the SPA at /. Sessions are namespaced <project>/<task> — the project is derived from the git remote. Env: GRILL_PORT, GRILL_HOST, GRILL_STATE.

Docker

docker build -t grill .
docker run -p 4100:4100 -v grill-state:/state grill

Development

Requires devenv + direnv (which provide bun, Node 26, and tsgo):

direnv allow
bun install
bun run typecheck     # tsc — TypeScript 7
bun run check:effect  # effect-tsgo — Effect-aware diagnostics
bun run lint          # oxlint (type-aware)
bun run format        # oxfmt
bun run test          # vitest + @effect/vitest
bun run build         # dist (server/CLI) + SPA

See AGENTS.md for the full architecture and stack.

About

grill — a local, always-on agent-question inbox: agents post batched decisions (options + a recommended pick, with markdown/image/HTML context) and you answer them in one browser panel. Effect v4 + Foldkit; CLI-driven.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages