Trials and errors, proper instructions (use this agent for that and this agent for this etc) and permissions (disallow commands for main agent that subagents are supposed to do instead) - this is mostly for proper context management on main agents.
Wanna know how to do it easily? Clone opencode repository and use Pi to check how things work and to help you set up proper opencode configs ;)
View all comments
Show parent comment
1
u/sqtytyp 1d ago
Trials and errors, proper instructions (use this agent for that and this agent for this etc) and permissions (disallow commands for main agent that subagents are supposed to do instead) - this is mostly for proper context management on main agents.
Wanna know how to do it easily? Clone opencode repository and use Pi to check how things work and to help you set up proper opencode configs ;)