InfraLoka AcademyPathwayAI
PathwayAI

Module 11 · Chapter 10: Editors and CLI agents

Editors and CLI agents

5 min read8 min readReviewed 26 October 2026

In short

A diff can be rejected, a command that already ran cannot. Give an agent permissions as narrow as its task, run data-wiping tests only on a throwaway database, and read every command to the end of the line before approving it.

After this lesson you can

  • Tell editor assistance apart from an agent that runs commands itself
  • Set an agent's permissions as narrow as its task
  • Check every command an agent proposes before approving it

Sign in to read this lesson

The title and summary are open to everyone. The full lesson is for signed-in learners.