Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Untrusted text can steer the agent card 3 of 6

Two questions that predict the damage

builds on: What the agent sees: its context, Trust boundaries and untrusted input
**What untrusted text can it read?** Issues and PR comments, READMEs and docs, dependency source, fetched web pages, and tool output such as test logs and API error bodies. **What can it do?** Its tools set the ceiling: shell commands, reading files and env vars, network calls, pushing with your git credentials. An injected instruction can do anything those allow. Its permissions limit it; your intent does not.
Terms on this card
tool output
Text returned to the agent after it runs a tool, such as a shell command's output, a test log or a fetched web page.
env vars
Environment variables: named values a process inherits from its shell, often holding API keys, tokens and other secrets.
env
A shell command that prints all environment variables; `env | ...` pipes that list into the next command.
git credentials
The stored tokens or keys that let git push to and pull from remote repositories as you.
PR
Pull request: a proposed change submitted for review and merge into a shared branch.
Learn this step by step on Bytewise
Lesson goal: Explain that instructions hidden in files, web pages, issues, READMEs or tool output enter the agent's context, and the agent cannot reliably tell data from commands. Predict what an injected instruction could make an agent with your permissions do. · the whole lesson