Prisma Blog
Read post

Gremlin: turning open tasks into pull requests

Gremlin is an autonomous engineering agent built to handle the long tail of small, well-scoped engineering tasks — Sentry issues, Linear tickets, and Slack instructions — by turning them into reviewable pull requests. It uses Mastra for orchestration and OpenCode as the sandboxed coding agent. The key insight is that sandboxing alone isn't enough; the harder problem is orchestration: framing tasks correctly, injecting credentials and context, enforcing access boundaries, and routing results back into normal review workflows. The PR is the deliberate output interface, leveraging existing CI, code review, and branch protection workflows. The longer-term vision includes a 'Fix with AI' button embedded in Prisma surfaces like Query Insights, wired to Gremlin's orchestration layer to return a PR instead of a copyable prompt.

    #ai-agents#opencode#prisma#productivity
Jun 10•12m read time•From prisma.io
Post cover image
Table of contents
Why start with small tasks?The core workflowMastra as the orchestration layerWhy sandboxing alone was not enoughWhat Gremlin does todayThe pull request as the interfaceCurrent boundariesWhat I learned building itFrom tasks to projectsFix with AIWhat comes next
4.2K Impressions
Prisma Blog's image
Prisma Blog

13 Followers

•

88 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard