There were 3 main parts to the agent 1) a queue 2...
# kovenant
c
There were 3 main parts to the agent 1) a queue 2) some state to flag whether the next task should be executed immediately or queued 3) a task that wraps the submitted task and submits the next task from the queue when it completes