r/opencode • • 6d ago

How many sub agents can DeepSeek create at once ?

5 Upvotes

7 comments sorted by

5

u/Vast_Anxiety3133 6d ago

100 subagents are possible but there will be a lot of management overhead... Sub 10 mostly makes sense

3

u/lincolnthalles 6d ago

This is bound by:

  • the subscription 5-hour window request limit
  • your system's I/O throughput, available RAM, and CPU time. Exact needs vary largely depending on the task.
  • Internet connection may also play a role, but that's generally not a problem nowadays

1

u/Ashamed_Drag8791 6d ago

I'd about 2 to 5, 2 being normal 13240H, 16gb of ram, and 256gb nvme, burst to 3, and 5 being higher cpu.

Problem is not how much limit, but how much can your machine handle

3

u/Mr_Maffin 6d ago

That's really not the point, the bottleneck is really not your device since it's basically a dumb terminal and the models run on remote (of course if the task involved are not I/O, RAM or CPU intensive.
OP's probably asking about how many subagents can OpenCode allow to run concurrently with a given subscription.

2

u/Ashamed_Drag8791 6d ago

I know, but i am point to the fact that the real limit would not be reached if our device cant handle the execution, and crash, in turn, reduce the parallel performance OP may want to achieve.

That and the fact of 5h windows limit on go subscription

1

u/Oli_Luck 6d ago

regarding the API and multiple agents/sessions : I ran a few time in agents poisoning the context of other agents -but I was't able to identify the faulty:upstream or the harness

1

u/OkImpress9499 6d ago

I ran 10+ sub agents, to benchmark the basic filtering. Config: 16 GB windows, 10 GB wsl. i7 11th or 12th gen. No VRAM or GPU.

OpenCode Zen free tier.

Basic Filtering: Usable model or not. Image Generation. Rust and TS code generation. React and Astro knowledge. DB connections (MongoDB, Firebase, AWS Dynambo DB, MySQL, Sqlite, Postgresql).

Filtered on: Response time - TTFT (less than 10 secs) Speed - TFS (min 75) Passes all of the above or not.

Rankings: DS v4 flash. Hy4. LongCat 2.5 MiMo v2.6 flash.

Rest skipped or I didn't like the output.