HomeVideos

How to run parallel AI agents in the GitHub Copilot app | Tutorial for beginners

Now Playing

How to run parallel AI agents in the GitHub Copilot app | Tutorial for beginners

Transcript

77 segments

0:00

Can you really have several AI agents

0:02

working on the same project

0:03

at the same time without chaos?

0:05

Yes, and the secret is how the app keeps each one

0:09

in its own safe space.

0:10

If that sounds risky,

0:11

like cooks crowding one kitchen,

0:13

stick with me, because the way this works

0:15

is genuinely clever.

0:16

And once you get it,

0:17

running several agents at once

0:19

stops feeling scary and starts feeling powerful.

0:21

Let me show you.

0:27

So first the basics.

0:29

A session is one task you’ve given Copilot,

0:31

one job start to finish.

0:33

Here I have a few going,

0:35

one adding the most funded sort to Tailspin Toys,

0:39

one running an accessibility review,

0:40

and one running tests.

0:42

Each card shows its title and how far along it is,

0:45

so the sessions view is really just

0:47

a tidy board of everything in flight.

0:49

The key thing is that each one runs on its own,

0:52

completely independent of the others.

0:54

You can start as many as you need,

0:56

and check on any of them whenever you like,

0:58

and starting another never disturbs

1:01

the ones already running.

1:02

Now the important part,

1:03

and don’t worry, you don’t need to manage

1:05

any of this yourself.

1:06

Every session runs in its own git worktree.

1:10

Because each session is isolated,

1:12

they can run in parallel all at the same time.

1:15

I can let the sort feature

1:16

and the accessibility fix progress together,

1:19

then check each result on its own when it’s ready.

1:22

So instead of waiting on one task

1:24

before starting the next,

1:25

you fan out and review the results

1:27

as they finish.

1:28

It’s a bit like starting

1:29

several loads of laundry at once,

1:31

instead of doing them one after another.

1:33

The waiting happens in parallel, not in line.

1:35

So your time goes into reviewing and deciding,

1:38

not sitting and watching a single task crawl along.

1:41

And here’s what makes juggling

1:42

several sessions actually comfortable:

1:44

Each one keeps its own full context

1:46

so you can switch between them freely.

1:48

Jump from the sort feature

1:50

over to the accessibility review and back again,

1:53

and each picks up exactly where you left it.

1:56

The plan, the conversation, and the changes,

1:58

are all still there.

1:59

Nothing resets and you never have

2:01

to re-explain what you were doing.

2:02

You can even step away entirely,

2:04

grab a coffee, or move to another machine,

2:07

and the work keeps going

2:08

without you having to babysit it.

2:09

This is the difference between feeling scattered

2:11

and feeling on top of things.

2:13

The app holds the context

2:14

so you don’t have to.

2:15

So the sessions view lets you

2:17

run many agents at once,

2:19

each in its own isolated worktree

2:20

with zero manual cleanup.

2:22

Here’s a low stakes way

2:23

for you to feel it for yourself:

2:25

Try starting two small tasks at the same time,

2:27

and watch them progress independently.

2:29

You can get started by installing

2:31

the GitHub Copilot app at gh.io/app.

Interactive Summary

This video explains how to effectively manage multiple AI agents simultaneously using the GitHub Copilot app. By utilizing isolated git worktrees, the application allows users to run tasks in parallel without interference, maintaining individual context for each session and significantly increasing productivity.

Suggested questions

3 ready-made prompts