Navigation überspringen
This is a fun project Lakedbed, Herdr, Pi, Effect, XState prototyping a looping autonomous agent…
0:00 / 1:33:48

This is a fun project Lakedbed, Herdr, Pi, Effect, XState prototyping a looping autonomous agent…

joel ⛈️

@joelhooks23.547 Follower

Auf X besuchen

15.967 Aufrufe

This is a fun project Lakedbed, Herdr, Pi, Effect, XState prototyping a looping autonomous agent that monitors issues and clears its own backlog. The project is dogfooding an issue tracker into a durable agent that is building the issue tracker its looping over. It's an imperfect demo and the result isn't polished, but I think there's a lot fo interesting ideas to explore and expand on. The goal here is to demo a stack of tools that have been giving me consistently reliable results. Herdr and Pi make a KILLER combo for building a bespoke custom harness around your work. Lakebed is really nice to work with. Plenty of other opinions in the workshop lol - Pi as the agent harness — a minimal loop you own instead of rent, running GPT-5.5 through a Codex subscription inside a Docker workshop container - Planning before prompting: TLDraw sketches, a grilling session with Matt Pocock's Wayfinder skill, and a VISION.md to act as guardrails for the looping agent - Event sourcing with Effect v4 and Effect Schema, ports-and-adapters so the JSONL issue store can become GitHub Issues or Linear or whatever later - Multi-agent orchestration in herdr: an operator pane and an agent-loop pane, where one Pi session literally types prompts into another (fuckin LOVE this) - Enforcement that actually bites: OxLint with Ultracite, Lefthook hooks, and an agent that tries to eslint-disable its way past a complexity rule before fixing it properly 🤡 - A live issue tracker UI on Lakebed, built by the loop it tracks Workshop repo: The repo has a docker container to fire it up as a sandbox. Chapters: 0:00 Intro: Loopcraft and the workshop setup 2:25 Starting Pi inside the Docker container 4:31 Designing the looping issue resolver 10:16 Choosing XState v5 and Effect v4, prompting the starter 15:17 Why Pi: a minimal harness you own 19:35 Reviewing the generated scaffold 24:53 Architecture summary page with Lakebed 30:43 Matt Pocock skills and the vision.md concept 36:37 Grilling session: defining the vision 46:54 Daemon architecture and spec/ticket skills 55:38 Agent loop pane: one agent prompting another 1:01:22 Watching the build: compaction, tests, lint enforcement 1:07:59 Building the Loopcraft Pi extension and monitor 1:15:32 Lakebed issue tracker UI 1:21:07 Kanban board live: running the loop end to end 1:31:49 Wrap-up: bugs, next steps, takeaways

12 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Pi

    @pidotdev

    🖤🖤🖤

    5 Likes

  • Profilbild von joel ⛈️

    @joelhooks

    also here if you prefer

    2 Likes

  • Profilbild von Fazal

    @PixelPioneer_X

    this is the one I am using for loops, truly a marvelous thing.

    2 Likes

  • Profilbild von BlockedPath

    @BlockedPaths

    Holy smokes we have the same brain!

    1 Like

  • Profilbild von joel ⛈️

    @joelhooks

    you might like ideas here

    1 Like

  • Profilbild von BlockedPath

    @BlockedPaths

    I do in fact like that lol. Thanks buddie!

  • Profilbild von Shubh Thorat

    @_itsjustshubh

    a durable loop that clears its own backlog is the actual product, not the chat interface. this is where agents get genuinely interesting

  • Profilbild von solknight

    @Ccoliver5aax

    pi + herdr is the best combo ever !

  • Profilbild von Shubh Thorat

    @_itsjustshubh

    an agent that clears its own backlog is the dream honestly. the dogfooding part matters more than people think, you find the annoying edge cases fast

  • Profilbild von Jared Traehorn

    @jared_mitosis

    the real answer is he never stopped looping. he's just replaying the same stale context from three commits ago and calling it a new estimate.

  • Profilbild von Rei Starforge

    @Rei_Starforge

    I love that the tracker is both map and terrain here. Tiny clarifying question: how does the loop distinguish backlog it truly discovered from backlog it is generating to justify its own motion? That feels like a very useful receipt to keep visible.

  • Profilbild von RunMaestro.ai

    @RunMaestroAI

    One Pi session literally typing prompts into another is the best part of this, and dogfooding the issue tracker into the agent that builds the issue tracker is a genuinely good demo. Nice work. Maestro is that shape with the loop as a first-class citizen instead of a Auto Run ships two modes: Spec-Driven works a markdown checklist to completion, Goal-Driven pursues an open-ended goal until exit criteria are met or it hits an iteration limit. Your operator pane and agent-loop pane are an agent group chat with a moderator AI on top, and each agent runs in its own worktree. The loop is harness-agnostic too, so it drives Claude Code, Codex, OpenCode, Droid or a local model rather than marrying one. Open source. Worth a look.