r/opencode • u/lgLindstrom • 17h ago
Get the most from opencode
Hi
Following a lot of YouTube bloggers I am lead to believe that to get the best from Opencode you should set up a numbers of subagents and skills ( of course also a good model).
For me "best of" is basically low token count and good quality of produced code according to my preferences.
I asked a AI for help and the result was depressing. Many, many bloated subagents and skills, not even mention all documents needed.
I did not even bothered to test it.
I have a firmware project for a esp32 cpu where I try to use the Matter specification and Home Assistant.
Any advice on this and/or some templates?
1
1
u/clasho26 17h ago
Soy relativamente novato en el tema de editores de IA, no entiendo mucho el concepto de agentes, podrías por favor explicarme más o menos en qué consisten, como se usan y en qué casos son útiles?
0
u/l3onardoh 17h ago
Objetivo de ter agentes / sub-agents sobretudo no Open code é de ter simultaneamente vários "empregados específicos". Não podes perguntar a um patrão de uma empresa de construção de fazer tudo. É preciso um pedreiro, um canalizador, um electricista etc.. Se for só 1 agente não será tão eficaz, na qualidade de trabalho como no custo do trabalho.
1
u/Oli_Luck 16h ago
Lol - all that people that believes AI is magic and all run only because they said the magic words.
First of all : agent teams are still quiet a messy thing if you dont know well how to handle with.
the second : if you dont know what are a system prompt, a prompt, skills, mcp tools : thats where you should start - play with it before doing serious job.
Ah yes : never trust an AI - thats the first rule : you have to lead and you have to control.
1
u/l3onardoh 17h ago
Plan with a high capacity model, have good instructions from the start and then use cheaper models to execute, a slightly higher model to review and you should be good. At least it's the way I do and works fine tbh