Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsc

Concurrency

Concurrency is the ability of a system to make progress on several tasks during the same period of time.

A concurrent system works on many tasks that overlap in time instead of finishing one before it starts the next. The tasks may run at the very same moment on different processor cores, which is called parallelism. They may also take turns on one core, switching while one task waits for disk or network. Operating systems, web servers and databases are all built to handle many tasks concurrently.

Concurrency raises how much a system gets done, because waiting time on one task becomes working time on another. It also adds problems that sequential programs do not have. Two tasks that change the same data at once can corrupt it, so programs use locks, queues or isolated state to keep them apart. Limits on concurrency protect shared resources from being overloaded.

Agents create a lot of concurrency. One agent may run several tools or sub-agents at once, and a platform may serve thousands of agents at the same time. Giving each task its own sandbox keeps concurrent tasks from interfering, because each one has its own files, processes and network. Sandbox platforms often set a limit on how many sandboxes one account can run concurrently.

Related terms