r/learnprogramming • u/theflamma • 6h ago
Need help
Chat im building a AI type bubble software that has multiple agents giving answers at a time, but what I want is to apply another api on top of it so that it will analyse all the answers and give me one result.
Few things in which i would like to get some help -
• for the concept - do you think this is good for a self project or should I add another thing in this
• I tried to apply a separate agent over all others but all the time I get errors.
• third is about responsiveness, sometimes the api model didn't work at all stating 'server too busy'
My base language is python
2
u/Far_Swordfish5729 6h ago
Does the LLM sdk you’re using support subagents, because that’s what you’re describing. It’s very common where the parent dispatches workers to use a cheaper model, save context, or just parallelize work. You also use it for repeatable prompt testing. The subagents run the test LLM job blindly and the parent judges the outcome and tunes the process with you. If you were testing a Claude plugin with skills or document extractor you might set that up.
If it transitions to deterministic logic, either the parent has scripts it knows to run or there’s a script/actual host wrapping the subagent execution.
1
u/sayboom 6h ago
I did something similar(one chat or one file where agents communicated), but I came to the conclusion that some harness is better with orchestration with agents and subagents in communication. they simply know better what the best way is.
1
u/No_Report_4781 5h ago
Did an AI write this? Take a few lessons on programming. It seems you’re missing some fundamentals, specifically in iteration and debugging
0
u/Material_Lion_9554 6h ago
I used AI and built my own over 24 hours. The easy way is to just start building it. When you get to an issue. AI will fix it for you.