Introducing Roast: Structured AI workflows made easy
Roast is Shopify's open-source, Ruby-based CLI framework for orchestrating structured AI workflows. It interleaves non-deterministic LLM steps with deterministic code through YAML workflow definitions and markdown/ERB prompts. Workflows can mix directory prompt steps, shell commands, inline prompts, custom Ruby steps, parallel steps, iteration and conditionals. Steps share conversation context, and session replay lets authors resume from any step without re-running expensive AI calls. A Claude Code-powered CodingAgent handles iterative tasks such as fixing Sorbet type errors after deterministic cleanup. The core lesson is that breaking agent tasks into discrete, guarded steps makes AI reliable enough for jobs like grading tests at scale.
Related posts
- Beyond the Hype: How to Use AI to Actually Increase Your Productivity as a Dev
Docker mediumAdeptEffective AI-assisted coding comes from applying classic engineering discipline in a four-phase loop: prompting, planning, producing and refining. Strict context management matters most. That means clearing the agent's context between tasks, decomposing work into small prompts, chaining prompts through a separate LLM, and saving good prompts as reusable slash commands. Review the agent's plan before it writes code and treat its output like a teammate's code. Over time, keep refining steering files such as CLAUDE.md as compact indexes that link to more detailed docs.
- Open SWE: An Open-Source Framework for Internal Coding Agents
LangChain mediumAdeptOpen SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph. It packages the patterns that Stripe's Minions, Ramp's Inspect and Coinbase's Cloudbot converged on: per-task isolated cloud sandboxes, a small curated toolset, context drawn from AGENTS.md plus the source Linear issue or Slack thread, subagents for delegated subtasks, and deterministic middleware around the agent loop. Two middleware examples are injecting follow-up messages mid-run and opening a PR if the agent didn't. It is invoked from Slack, Linear and GitHub, and the sandbox provider, model, tools, triggers, prompt and middleware are all pluggable.
- Reusable Prompts: The Future of Starter Templates
Neon mediumAdept
Starter templates can be complemented by reusable, atomic setup "recipes": Markdown prompts that AI coding agents apply to existing codebases, modeled on shadcn/ui's copy-the-code philosophy. Recipes declare prerequisites, which lets them compose, and cookbooks bundle them into ordered sequences. They also encode stack-specific decisions agents would otherwise get wrong, such as using node-postgres instead of Neon's serverless driver on Vercel Fluid Compute with connection pooling. Recipes are served as MCP resources with slash-command prompts. Long-lived skills ship as small per-cookbook Claude Code plugins whose skill files are one-line pointers, which keeps them from bloating the agent's context.
- Introducing smolagents: simple agents that write actions in code.
Hugging Face mediumAdeptsmolagents is a minimal Python library from Hugging Face for building LLM agents, with first-class support for code agents that write their actions as Python code instead of JSON tool calls. Agency is framed as a spectrum from simple output processing to multi-step and multi-agent loops, and the post advises using deterministic workflows unless tasks genuinely need flexibility. Code actions are argued to beat JSON for composability, object handling, generality and training-data coverage. The library supports sandboxed execution via E2B, custom tools defined with a @tool decorator and shareable on the Hub, any LLM via transformers, the HF inference API or LiteLLM, and a benchmark shows open models competitive with closed ones on agentic tasks.
- Design Decisions Behind app.build, a Prompt-to-App Generator
Neon mediumAdept
app.build is an open-source prompt-to-app generator that trades breadth for reliability by restricting output to CRUD web apps on a fixed TypeScript/Postgres stack. A finite state machine drives specialized actors (draft, handler, frontend, edit) that run concurrently and use tree search with early termination, and no candidate is accepted until it passes TypeScript compilation, unit tests, custom linters targeting LLM failure modes, and Playwright smoke tests. The agent is stateless, serializing state in payloads so it scales on ECS. A lightweight top-level agent (gemini-flash) gathers requirements, and context engineering keeps prompts encapsulated per step, with system-prompt rules mined from failed-generation logs.