PTENES
Skip to content
TRACK 4

🛰️ Advanced Techniques

Get out of the human-in-the-loop and build systems that run on their own and improve themselves. AFK, sandboxes, GitHub Actions, task queues, and self-improvement loops—the harness that works for you while you're away.

Illustration for track 4: Advanced Techniques task queue sandboxes GitHub Actions telemetry AFK the system runs on its own Self-improvement
6
Modules
36
Topics
~3h
Duration
Advanced
Level
Track progress: 0% 0 of 36

Learning path map

Detailed content

4.1~30 min

🕹️ Human-in-the-loop × AFK

Get out of the loop: stop approving every step and let the agent run on its own (AFK).

What it is:

The default mode: you approve every step and every agent action.

Why learn:

It’s safe, but it becomes a bottleneck — you’re the speed limit.

Key concepts:

Manual approval; security × throughput.

What it is:

Let the agent run on its own while you’re away from the keyboard.

Why learn:

It’s the productivity leap: the work happens without you.

Key concepts:

AFK = autonomous agent; no babysitter.

What it is:

The moment you trust the harness enough to step out of the loop.

Why learn:

Unlocks parallelism: several agents working at the same time.

Key concepts:

Trust in the harness → autonomy.

What it is:

Risky or ambiguous tasks still need you in the loop.

Why learn:

Blindly going AFK on the wrong task is like handing a junior the car keys.

Key concepts:

Risk × reversibility determines the mode.

What it is:

Configure permissions so the agent can act without asking for approval at every step.

Why learn:

Every manual confirmation is friction that kills AFK.

Key concepts:

Allowlist; auto-approve with limits.

What it is:

AFK + parallelism = several “yous” working on different fronts.

Why learn:

It’s the method’s real scaling lever.

Key concepts:

Fleet of agents; you as the manager.

View Full
4.2~30 min

📦 Parallelize & sandboxes

Isolated agents: run several in parallel without one breaking another's environment.

What it is:

Run multiple tasks with different agents at the same time.

Why learn:

Multiplies throughput without multiplying your time.

Key concepts:

Parallelism = throughput; you become the orchestrator.

What it is:

An AFK agent with full access to your machine can cause damage.

Why learn:

AFK without isolation is a recipe for disaster.

Key concepts:

Blast radius; isolate before releasing.

What it is:

The sandbox tool Matt uses to run isolated agents.

Why learn:

It’s the practical shortcut to safe AFK.

Key concepts:

Ready-to-use sandbox; isolation for each task.

What it is:

Containers as a sandbox for each agent.

Why learn:

Industry-standard isolation, easy to discard and recreate.

Key concepts:

Ephemeral container; reproducible environment.

What it is:

Managed cloud sandboxes for running agents without using your machine.

Why learn:

Takes the agent off your laptop and completely frees you up.

Key concepts:

Sandbox as a service; without bogging down your local machine.

What it is:

Coordinate a fleet of agents in separate sandboxes.

Why learn:

It’s where parallelism + isolation become real scale.

Key concepts:

Isolated fleet; each one in its own box.

View Full
4.3~30 min

⚙️ GitHub Actions + agents

AFK in the cloud: agents that run in CI, open PRs, and never slow down your machine.

What it is:

Run agents inside GitHub Actions as a CI step.

Why learn:

CI is a free AFK sandbox you already have.

Key concepts:

Agent as a job; ephemeral environment.

What it is:

An Action that automatically reviews every PR with an agent.

Why learn:

Consistent review on every PR, without you remembering to ask.

Key concepts:

Review on push; feedback on the PR.

What it is:

Applying a label to an issue/PR triggers the agent to act.

Why learn:

Turns into a "send the agent" button inside GitHub.

Key concepts:

Trigger by label; on demand.

What it is:

The agent delivers the work as a PR ready for you to review.

Why learn:

A PR is the natural checkpoint between AFK and human review.

Key concepts:

Reviewable output; nothing goes straight to main.

What it is:

All the work runs on GitHub runners, not your laptop.

Why learn:

You’re free while the agent works in the cloud.

Key concepts:

Remote compute; laptop unlocked.

What it is:

Build your own agent Action from scratch (covered in Track 5).

Why learn:

Your Action adapts exactly to your workflow.

Key concepts:

Minimal YAML; checkout → agent → PR.

View Full
4.4~30 min

🧮 Loops × Queues

Queue, not loop: why a task queue beats an agent’s infinite loop.

What it is:

Geoff Huntley’s “Ralph loop”: run the agent in a loop until it solves the problem.

Why learn:

It’s the starting point — and where many people get stuck.

Key concepts:

Brute-force loop; repeats until "done".

What it is:

A blind loop repeats without prioritizing or scoping — wasting tokens.

Why learn:

Repeating isn’t the same as organizing the work.

Key concepts:

Loop without triage = costly and erratic.

What it is:

Instead of a loop, a queue of scoped tasks for the agent to consume.

Why learn:

A queue provides order, priority, and a clean stop.

Key concepts:

Task queue; consume in order.

What it is:

Break down and prioritize tasks with a clear scope before queuing them.

Why learn:

A well-scoped task is one the agent can finish on its own.

Key concepts:

Triage; clear scope for each item.

What it is:

You are the king who gives orders; the agents are the subjects who carry them out.

Why learn:

Set the mindset: you’re in command, not doing the execution.

Key concepts:

The king delegates; subjects work through the queue.

What it is:

Multiple agents (nodes) pulling from the same queue in parallel.

Why learn:

Combine a queue with parallelism for maximum throughput.

Key concepts:

Workers pulling from the queue; horizontal scaling.

View Full
4.5~30 min

♻️ Self-improving systems

Buy the lock: systems that detect problems and fix themselves.

What it is:

A well-built system doesn’t require the most expensive model to sustain itself.

Why learn:

"Buy the lock": invest in the system, not the expensive part.

Key concepts:

Affordable, robust systems > premium model.

What it is:

A cron that periodically runs a security review agent.

Why learn:

Security becomes an automatic routine, not a one-off effort.

Key concepts:

Daily cron; recurring scan.

What it is:

Telemetry detects the problem, opens an issue, and triggers the fix.

Why learn:

Closes the loop from observation to fix without you in the middle.

Key concepts:

Detect → open an issue → fix.

What it is:

The agent looks for the root cause, not just the symptom of the bug.

Why learn:

Root cause analysis prevents the same problem from coming back.

Key concepts:

Root cause > band-aid.

What it is:

The system learns from every failure and adjusts itself.

Why learn:

Self-improvement compounds: the system gets better on its own over time.

Key concepts:

Feedback loop; compounding improvement.

What it is:

Periodically review the self-improving system itself.

Why learn:

Unsupervised self-improvement can drift in the wrong direction.

Key concepts:

Audit the self-adjustment; keep a human at the next level up.

View Full
4.6~30 min

🎬 Checkpoints & smooth review

Pain-free review: push the checkpoint to the right and review the agent without friction.

What it is:

Review is the point where you check and correct the agent’s direction.

Why learn:

It’s your safety net in the AFK world.

Key concepts:

Checkpoint = quality control.

What it is:

Move the review point to the end, giving the agent more autonomy.

Why learn:

The farther to the right the checkpoint, the more AFK you can be.

Key concepts:

Move the checkpoint as confidence increases.

What it is:

Identify the checkpoints where the human no longer adds value.

Why learn:

Removing the right human speeds things up; removing the wrong one breaks things.

Key concepts:

Remove the redundant checkpoint; keep the critical one.

What it is:

Use one agent to review another’s work before you do.

Why learn:

Filters out most errors before the human checkpoint.

Key concepts:

Reviewer agent; double-check.

What it is:

The agent records a video walkthrough of what it did, with TTS narration.

Why learn:

You review by watching instead of reading diff by diff.

Key concepts:

Narrated walkthrough; review by video.

What it is:

Use AI to summarize, highlight, and speed up your human review.

Why learn:

Fast review keeps AFK flowing without becoming a bottleneck.

Key concepts:

AI summarizes the diff; painless review.

View Full
← Track 3 Track 5 →