# A human-in-the-loop workflow for OpenCode agents, subagents, and Beads

DevFeed: [A human-in-the-loop workflow for OpenCode agents, subagents, and Beads](<https://devfeed.tech/articles/pinky-and-the-brain-my-agent-subagent-duo-28719.md>)

Original publisher: [Read original article](<https://le0nidas.gr/2026/01/06/pinky-and-the-brain-my-agent-subagent-duo/>)

Author: Leonidas Partsas

Published: 2026-01-06T14:51:35Z

Content type: tutorial

Language: en

Sources: [le0nidas](<https://devfeed.tech/sources/le0nidas.md>)

Topics: [configuration](<https://devfeed.tech/topics/configuration.md>), [context window](<https://devfeed.tech/topics/context-window.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic-coding](<https://devfeed.tech/tags/agentic-coding.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [beads](<https://devfeed.tech/tags/beads.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [execution](<https://devfeed.tech/tags/execution.md>), [know-your-tools](<https://devfeed.tech/tags/know-your-tools.md>), [opencode](<https://devfeed.tech/tags/opencode.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [review](<https://devfeed.tech/tags/review.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

## AI overview

The article describes a personal development workflow using one primary OpenCode agent, one subagent, and Beads to manage planned tasks. The primary agent selects tasks, delegates implementation, requests human review, and commits approved changes, with an inner loop for requested revisions.

## Source excerpt

OpenCode's agents configuration and Beads. A match made in heaven. My flow until now Working on a task starts with the Plan agent. I provide an initial prompt of what I want to achieve and the agent responds with a plan. If the plan needs adjustments I ask the agent to update it. When I'm ... Continue reading Pinky and the Brain: my agent/subagent duo ->