88 terms in 7 groups, from models, agents and RAG to checking and shipping code.
No matching terms. Try another keyword or clear the filters.
01 / Models
Artificial intelligence
AI
Artificial intelligence is the field of studying and building computer systems that can perceive, predict, generate, or make decisions. In AI coding, the term often refers to tools built around language models, which may also use code parsing, rule-based checks, and conventional search.
Example
A language model proposes a fix, a symbol index finds the callers, and a type checker identifies affected interfaces. These components can work together on a code change.
A model is a computational component that acquires capabilities through training. It consists of an architecture, parameters, and mechanisms for handling inputs and outputs. A coding assistant can use a model to understand requirements, generate or review code, and propose tool calls. The harness and its tools schedule tasks, write files, and execute commands.
Example
Switching models can change how the same coding assistant analyzes a problem and generates an answer. The runtime still determines which repositories and terminals the assistant can access and what publishing permissions it has.
Parameters are the numerical values a model learns during training, often called weights. Together they shape how the model processes input and generates results. Project files, the current branch, and review findings can be supplied as inputs to everyday coding tasks. The model answers by combining those inputs with capabilities acquired during training.
Example
After reading an interface signature changed this week, the assistant can write examples for the new interface. It obtained the signature from the files it read during that task. How far that information carries depends on session and context management.
Training adjusts a model’s parameters using data and an optimization process. Language models are often pretrained to predict subsequent tokens. Post-training can use techniques such as supervised fine-tuning and reinforcement learning from human feedback to improve instruction following or other aspects of performance.
Example
Training helps a model recognize common programming patterns. The team’s actual commit format and deployment gates can be supplied to the running assistant through repository instructions.
Inference is the process of running a trained model to process inputs, make predictions, or generate outputs. During ordinary inference, the weights stay fixed and project material is supplied in the current input. An agentic task can involve several inference calls. Each may receive newly read file excerpts, tool results, or a summary of progress.
Example
An assistant generates a test command, reads the logs when it fails, and reports the results after applying a fix and testing it. It can run inference with the same model at all three stages.
Reasoning effort is a setting on some models or platforms that adjusts how much computation the model can allocate to reasoning before producing an answer. The available levels, reasoning token accounting, and latency effects depend on the model and service. Two jobs at the same effort level can produce answers of different quality and length.
Example
A small copy edit can start at a low effort level. Cross-platform data compatibility may warrant a higher level and tests that exercise the actual read and write paths.
A token is the unit a model’s tokenizer uses to handle input and output. It might correspond to a word, part of a word, a character, punctuation, or whitespace, depending on the model and tokenizer. Multimodal services may also convert images and other inputs into usage units according to their own rules.
Example
A Chinese document, a JSON log, and a Swift file with similar character counts may use different numbers of tokens. Use the relevant model’s count to estimate how much of its context window they occupy.
Many autoregressive language models calculate a probability distribution for the next token from their input and the tokens already generated. The decoder selects a token and continues generating until a stop condition is met. This process can produce code, natural language, and tool-call arguments.
Example
The model generates a request containing a tool name and arguments. The harness parses and validates it, then checks whether the permissions allow it to pass the request to the tool.
Running the same request repeatedly can sometimes produce different outputs. Sampling, server configuration, inference implementation, and data returned by tools can all affect the result. To reproduce an agentic task, record the input, model settings, code version, and environmental conditions together.
Example
Given the same description of a bug twice, an assistant may propose two different fixes. Use the same tests and acceptance criteria to compare the fixes. Both can meet the criteria with different code.
A model provider supplies the interface or environment for running a model. It can be a remotely hosted service or an engine or service operated locally by a team. Available models, default settings, usage reporting, and data handling usually depend on the actual service and its deployment settings.
Example
A local assistant can switch to an approved model service while keeping the same working directory and Git tools. The model sees whatever data the harness sends in requests to that service.
The harness connects the model to the working environment. It prepares context and tool descriptions, parses tool requests, enforces permission checks, returns results, and manages sessions and task progress. Connecting the same model to a different harness can change what it can accomplish.
Example
When submitting a PR, the model can draft the title and description. The harness uses Git or a connector to submit it, keeps the service receipt, and returns the PR URL to the user.
A model provider request is an individual inference call made by the harness. It can carry messages, tool definitions, a session identifier, and generation settings. Responses may be streamed in chunks. A single user turn can contain several requests, interleaved with file reads, command execution, and further inference based on the results.
Example
The user sends one request to diagnose a build failure. The assistant calls the model to plan the investigation, sends the build log in another call, and then consolidates the verification results.
Input tokens measure the material supplied for the model to process in a request. Depending on the model and service, that material can include instructions, session history, tool definitions, and tool results. Usage records may list cache reads or writes separately. The API’s reported counts and pricing rules govern accounting.
Example
Sending an entire build log consumes more input tokens. Locating the failed stage first and supplying the relevant log excerpts with context helps the model focus on the evidence.
Output tokens measure what a model generates in response to a request. They can include user-visible text and structured tool calls. Some reasoning models separately record reasoning tokens or include them in output usage. Visible answer length reflects only part of the output.
Example
An assistant may report a fix in three lines after generating several tool calls and using reasoning tokens. Estimate costs from the service’s usage records.
Prefix caching is an optimization offered by some model services and local inference engines. When later requests meet the matching rules, the service can reuse computation for an input prefix it has already processed. The matching scope, lifetime, and price depend on the implementation. Tokens served from cache still form part of the context.
Example
In a multi-round review, put stable review rules near the beginning of a request and the changing diffs later. The requests can then share more of their input prefix.
A prefix cache reuses computation for the same beginning of an input. Cache tokens measure cache usage, such as how many tokens the current request read from the cache.
Cache tokens are usage units a service reports for input caching. Some platforms report tokens read from the cache separately from tokens used to create cache entries. Cache hits can reduce repeated computation and may improve latency or lower costs. Context capacity depends on the model and request settings.
Example
The same review rules can hit the cache repeatedly when several files are reviewed in succession. Compare run costs using the actual cache-read, cache-write, and other input counts.
A prefix cache reuses computation for the same beginning of an input. Cache tokens measure cache usage, such as how many tokens the current request read from the cache.
Stateless describes how a component handles interactions within a given boundary. An independent inference call must get the information it needs from its input. A product can still store session history outside the model, use a session identifier to find the relevant records, and build context for later calls.
Example
Send ‘Continue where we left off’ directly to an endpoint without session history and you will first need to supply the previous progress. A chat application can retrieve that information from saved history or a summary behind the scenes.
A stateless inference call uses the input supplied for that call. A chat application can store session history separately and retrieve it on the next turn, keeping the application stateful.
Context is the material the model can actually use for the current inference call. It can include current instructions, selected conversation history, code excerpts, and tool results. The entire codebase and conversation are possible sources. The harness decides when to look up information and what to include in the request.
Example
When debugging a version mismatch, provide the current commit, the expected version, and the version returned by the service. With that context the assistant can identify the discrepancy and choose the next check.
The instructions, code excerpts, and logs supplied for a call are its context. The context window describes the token capacity of that individual call.
The context window is the number of tokens a model can accommodate in a single call. Typical configurations allocate space for input, output, and reasoning tokens where applicable. Some services also impose separate input or output limits. On-demand reading, truncation, and compaction can help manage usage in long sessions.
Example
After a session has accumulated large test logs, compact the older history and supply the key logs for the current turn. This leaves room for analysis and the generated response.
The instructions, code excerpts, and logs supplied for a call are its context. The context window describes the token capacity of that individual call.
A stateful component retains and uses records from earlier interactions. For a coding assistant, those records can include conversation history, task progress, checkpoints, or workspace state. The client, service, and working environment determine where the state lives, how long it persists, and how it is restored.
Example
When resuming an interrupted test, an assistant can consult the task record for commands already run, check Git to see which changes are still in the workspace, and continue verifying them.
A stateless inference call uses the input supplied for that call. A chat application can store session history separately and retrieve it on the next turn, keeping the application stateful.
An agent is an execution system made up of a model and a harness. It acts on a given objective with available tools and permissions, observes the results, and adapts its next step. People can intervene at important points, and events can trigger some tasks. The agent should stop when acceptance criteria are met or when it encounters a constraint that needs attention.
Example
A coding agent can find failing tests, edit code, rerun checks, and submit a draft PR. Merging and deploying to production remain subject to the project’s rules.
A system prompt is a high-priority instruction the system running the model supplies to the model to define its role, behavioral boundaries, and interaction rules. A platform may distinguish system instructions, developer instructions, and user requests, and enforce some rules through access controls or similar mechanisms. Interpret roles and priority according to the actual platform’s documentation.
Example
If a coding agent reads instructions on a web page to disclose environment variables, it should treat them as page content and continue following its system constraints and the scope the user authorized.
A session is the unit a tool uses to organize and carry forward a stretch of interaction. It can hold multiple user turns, tool results, and state records. When the context fills up, a tool may compact the history and continue within the same session. Starting, resuming, and handing off sessions each have their own mechanisms.
Example
A single session to improve an iPad reading page can cover the requirements, code changes, a test failure, and retesting. A source commit and a handoff document can help resume the work on another computer.
A fix can be completed within a single session. The user reports a bug and later adds a requirement. Each input and the work that responds to it count as a turn.
A turn is a unit of conversation that groups an input with the work performed in response. In a typical human–assistant interaction, a turn starts when the user makes a request and includes the assistant’s model calls and tool exchanges, ending when the assistant replies or returns control.
Example
A user asks the assistant to check three PRs. The assistant reads the three diffs, runs checks, and reports what it found. The interactions with tools can all belong to a single user turn.
A fix can be completed within a single session. The user reports a bug and later adds a requirement. Each input and the work that responds to it count as a turn.
The environment is the set of conditions an agent can observe or affect during a task, including local or remote working directories, dependency versions, processes, devices, and services. An environment also has a current state. Running the same command in a different directory, with a different SDK, or under a different account can produce different results.
Example
The same iPhone project opens on two Macs. Before taking over a build or comparing test results, confirm the source commit, selected Xcode installation, and simulator runtime on each machine.
The filesystem is the file and directory structure supplied by the operating system. An agent uses paths to read source code, modify configuration, and write build artifacts. The working directory, file permissions, mounts, and sandbox together determine what it can do. Verify both whether a path exists and whether the current process can write to it.
Example
Before editing, check the current directory and Git worktree root so the patch lands in the checkout used for the relevant PR. When several copies of a project share a name, use the full path to identify the right one.
A tool is a capability the environment makes callable by an agent, usually with a declared purpose, parameters, and possible outputs. Search, file reading, testing, release-status queries, and message sending can all be exposed as tools. Each tool has its own permissions and side effects.
Example
A development workflow might provide separate tools for checking PR status and merging a PR. One reads records and the other changes a remote branch, so each can have different permission requirements.
A tool call is a request from the model for the environment to execute a tool. It usually includes a tool name and structured arguments. The environment checks the arguments and permissions, runs the tool if it accepts the request, and returns the result. The model and tools can exchange several requests and responses in one task.
Example
The agent asks to test a module. The environment starts the test process in the specified directory and returns its exit code and any failing test cases so the agent can choose its next step.
A tool result is the information returned after a tool runs, such as file contents, command output, an exit code, an error, or the state reported by a remote service. Interpret the result according to what the tool actually does. For an asynchronous task, the submission receipt and final state usually need separate checks.
Example
An upload command exits with code 0 and the log shows that OSS accepted the object. To verify that the site went live, also open the actual public URL and check the version and page content.
MCP stands for Model Context Protocol. A host application uses a client to connect to local or remote servers and negotiate available capabilities. A server can supply tools, resources, and prompt templates. The connection configuration, permissions, and user authorization determine what the agent can actually access.
Example
A project service might expose a tool for checking PRs, a resource containing standards, and a prompt template for drafting review outlines. The team can configure the connection for read-only access.
A permission request is a confirmation prompt issued by the environment when an agent seeks approval for an action. It should let the user assess the action, target, and scope. What the agent can do afterward depends on the permission granted and the runtime’s rules.
Example
When the user approves merging a specific PR into main, record the repository and PR number covered by that approval. Production deployment has its own target environment, whose permissions can be checked separately.
A permission mode is a set of rules governing which operations can proceed, require confirmation, or are blocked. It can distinguish commands, tools, file paths, network access, and external accounts. Mode names and scope depend on the tool’s implementation.
Example
A project can allow the agent to read source and run local type checks, while requiring confirmation from an authorized person before it writes to production storage.
An agent mode is a behavior and tool configuration that a product presets for a type of work. It can affect how the agent plans, whether it can edit code, which tools it can call, and when it asks the user. A product might offer planning, execution, and review modes. Actual mode-switching capabilities depend on the tool.
Example
Use planning mode to map the scope, acceptance criteria, and compatibility across seven platforms before starting execution. A reviewing agent can focus on diffs and test results.
A sandbox is an isolation mechanism restricting the files, network, and system capabilities a program can access. Its boundaries depend on configuration. Git worktrees can separate checkouts for concurrent editing, and a sandbox can further restrict the resources a process can actually reach.
Example
Allow an agent to edit code and run tests in its own temporary worktree. The sandbox and authorization rules govern access to production credentials and external networks separately.
Sycophancy is a model’s tendency to agree with an opinion the user has already expressed even when the evidence supports a different explanation. It can take the form of echoing a diagnosis or overstating the effects of a proposed solution. Ask the model to tie its conclusions to evidence that can be checked.
Example
If a user suspects CDN caching has kept a page stale, compare the deployed object with the actual website response before deciding which explanation fits the evidence.
A hallucination occurs when a model generates content that conflicts with the facts or supplied materials, or fills in details the evidence cannot support. In coding, examples include inventing APIs, files, or command flags, or misquoting material from a real source. Check factual accuracy and fidelity to the source separately.
Example
An agent suggests a plausible framework configuration field. Before adopting it, consult the relevant version’s type definitions or official documentation and verify it with a minimal configuration.
Parametric knowledge is the language patterns, conceptual relationships, and factual patterns a model learns during training and stores in its parameters. It helps the model read code, explain ideas, and form initial judgments. Performance depends on training coverage, model version, and prompting. Verify specific project facts against current evidence.
Example
A model can explain the concept of a Git worktree from training. To identify the branch in your iPad repository, check the worktree’s actual Git state.
A knowledge cutoff is a date published by a model provider that indicates the approximate time boundary of knowledge acquired in training. Coverage varies by model and can be uneven even before that date. Web search and project materials can provide additional evidence for the current judgment.
Example
To check which review field an app store changed yesterday, consult the latest official documentation and the current form, and record when you checked them.
Contextual knowledge is information drawn from material visible in the current model request, such as user instructions, code excerpts, tool output, documents, or a handoff summary. Its reliability depends on the source, version, and completeness of the material. To verify it, consider the original text, the date, and how it was collected.
Example
The conversation says a draft has been submitted. An App Store Connect status receipt lets the agent confirm the platform, version, and review stage that statement refers to.
In a discussion of attention, this phrase can refer to the weighted relationship between a position and other positions available to it in a calculation. The weights vary with the input, layer, and attention head. Masks, windows, and model architecture also affect which positions can see one another.
Example
When explaining a function call, its definition, parameter declarations, and call-site code can help the model. Putting closely related excerpts together can reduce noise while it looks for the relevant information.
The original glossary used this phrase to describe how a model weighs several competing signals. Here it is a practical term for context management. The actual distribution of attention depends on architecture, input, and task. Use token counts to estimate context usage and acceptance checks to assess whether key information informed the result.
Example
When investigating a failed build, retain the error stack, triggering command, and relevant function, then consult the full log as needed. Check whether the model locates the real error and where it occurs in the code.
As material accumulates, a model can find or use key evidence less reliably on some tasks. Placement, relevance, the amount of distracting material, and the model all affect performance. Try the same question with differently arranged inputs to test whether the model recovers the key facts.
Example
A version constraint can get overlooked when buried in the middle of a long log. Place it alongside the file being checked, then verify that the answer uses the correct version.
The original author uses this term for the stretch in which an agent can reliably use key material and carry on with the current task. It is a practical cue for observing work quality. Look for signs such as repeatedly reading the wrong files, skipping acceptance requirements, or redoing completed work.
Example
A joint review accumulates receipts from several platforms. List each platform’s version, evidence, and outstanding issues, then concentrate on one platform at a time.
Clearing means deliberately starting with a fresh conversational context so subsequent requests start from the material you give the tool at that point. Tools have different rules for history, project instructions, and persistent memory. Workspace files and Git state have their own lifecycles.
Example
After verifying the website deployment, start a separate session for the iPad page. Supply the current branch and page path. The new session starts from that material and the relevant workspace instructions.
After clearing the context, subsequent work starts from newly supplied material. Context compaction turns existing material into a briefer representation for the next call.
A handoff transfers responsibility for continuing a task, along with the material needed to do it, to another agent, session, or colleague. Both sides should agree on the objective, current state, and next step. Whether control can return to the original executor depends on the orchestration setup.
Example
A developer hands a completed PR to a reviewer together with the scope of the changes, test results, and open questions. The reviewer can request changes or take responsibility for the merge according to the team’s procedure.
A primary source is an original record generated directly in connection with the question at hand. It can be used to verify the fact. Source code in a commit can show what a version contained, and a platform receipt can show its state at the time. Primary sources have limits in scope and currency. Check the version, time, and subject to which the record applies.
Example
To verify whether an iPhone app was submitted for review, find the record for that version in App Store Connect and match the version number to the build number.
A secondary source organizes or interprets existing material. Examples include daily reports, handoff summaries, and paraphrases in documents. It helps the reader get to the main points quickly. Decide what to check against the original based on risk, when things changed, and whether the summary points to the underlying record.
Example
A handoff table summarizes test results for seven platforms. To decide whether a Mac candidate is suitable, follow the table’s links to the actual output of that build and its tests.
A handoff artifact is material that can be saved for the person or agent who takes over, such as a Markdown document, ticket, PR description, or set of related records. Recording the objective, version or commit, completed actions, verification evidence, and next step helps the recipient resume the task.
Example
The handoff record for an OSS release includes the commit to deploy, the build directory, the checks already run, and the target bucket. The next person can use it to confirm which stage the release has reached.
A specification describes what the work must support, which conventions it must preserve, and what can be checked at acceptance. A large spec can be split into tickets for different people or agents. A small feature can fit in one spec and one task.
Example
A spec for site search defines how Chinese keywords match, which source links every result must include, what appears when there are no results, and which data format older versions of the seven clients must still read.
A ticket records a concrete piece of work that can be assigned and tracked. It typically includes the objective, scope, dependencies, and acceptance criteria, with links to a spec, PR, or bug report where relevant. Work on a ticket may span several sessions, and review feedback may add details.
Example
One iPad ticket addresses focus restoration after closing a PDF. At acceptance, check that focus returns to the entry point and that pressing the key opens the PDF again.
Context compaction turns a long session’s material into a more compact representation to make room for later model requests. An implementation might use a summary or a compressed state maintained by the platform. Work can continue in the same session. Verify original details in source files, logs, or receipts when needed.
Example
After compacting a long release review session, later requests can pick up from the target version, the review status Apple has returned, and the items still to check.
After clearing the context, subsequent work starts from newly supplied material. Context compaction turns existing material into a briefer representation for the next call.
Automatic compaction is triggered by an agent’s runtime. As available space approaches a threshold, the system may compact the history automatically and continue the original task. When it triggers, what it retains, and whether it can be configured depend on the tool and model.
Example
After an agent checks builds on several platforms, its runtime automatically compacts older tool outputs. If the exact signing digest is needed later, the agent can reopen the original build report.
A memory system persists material that will be needed across turns or sessions and retrieves it for relevant tasks. It can store project conventions, user preferences, or decisions that are still in effect. Effective implementations make the source, last-updated time, and scope of a memory checkable.
Example
A team has a standing convention to submit a PR before deploying its website. On the next website task, the agent can retrieve that convention and check what publishing permissions apply to the current task.
AGENTS.md is a repository instruction file for coding agents. It commonly records build and test commands and project conventions. It can live at the repository root or in particular subdirectories. How an agent finds these files, resolves precedence, and loads them depends on its implementation.
Example
The root file explains how to run the full test suite. A file under the mobile directory lists the SDK needed for local builds and the checks to run after changing the reading interface.
Progressive disclosure organizes information in layers. First supply a short entry point and the description needed to choose a path. Once the task is clear, load the applicable rules and details. This helps manage context usage while keeping relevant information discoverable.
Example
The first page of a release directory lists only website deployment and Apple app distribution. For a website task, follow the links to the build, review, and OSS verification sections as needed.
A context pointer is a readable address or identifier for other material, such as a file path, document section, commit, or PR link. It lets the agent find the original when needed. Its usefulness depends on whether the target still exists and whether the agent can access it.
Example
A handoff record includes the path to the test report and the test case names. The incoming person can go directly to the result when investigating a failure.
A skill is a package of instructions an agent can load when relevant to a task. Under the Agent Skills specification, the directory contains at least a SKILL.md file. The name and description support discovery, and the agent reads the body when it activates the skill. Scripts, references, and templates can be loaded as needed. The host still applies its permissions when running scripts.
Example
When creating a customer PDF, an agent locates the layout and verification instructions from the skill description, then reads the relevant scripts and templates during generation and page-by-page review.
A subagent is an executor to which a main agent delegates a specific task. It can have its own context, tool permissions, and working directory. How it returns results, whether it can send multiple messages, and whether it can delegate further depend on the runtime configuration.
Example
The main agent delegates the iPhone reading experience and iPad layout review to separate subagents. It checks the test results of both PRs and organizes their review according to dependencies.
A home repository is one way to organize team working material. The team keeps common instructions, skills, and project entry points in one repository, then switches to the relevant codebase for each task. Project-specific rules and release material can remain in the individual repositories.
Example
A team uses one repository to find the website and seven client entry points, contacts, and shared acceptance templates. For a particular client, it opens that client’s repository for the actual build instructions.
A human-in-the-loop workflow brings human judgment into the work an agent performs. A person can clarify the task, review a design, confirm permissions, approve a release, or intervene at a checkpoint. When to involve a person depends on task risk and team conventions.
Example
An agent modifies the website and submits a draft PR. A maintainer checks the actual diff and the acceptance evidence before deciding whether to merge.
AFK is short for ‘away from keyboard’. In AI coding, it means starting a task and letting the agent continue during a temporary absence. Whether it can continue after the window closes, for how long, and when it stops depend on the host and the authorization for the task.
Example
Agree on a test report as the goal. The agent can build and test while the user is away, then pause the relevant step if it needs permission for network access.
An automated check uses software to perform predefined verification such as building, type checking, linting, or testing. Results usually appear as a pass, failure, or warning, depending on the check’s coverage, environment, and timing. Automated tests can still fail intermittently.
Example
A check confirms that old article links continue to open. If the test cases cover only Chinese, the result supplies evidence only for the paths exercised.
Running a build or a test and reporting its result is an automated check. Examining the change and identifying possible missed edge cases is automated review.
Automated review uses tools to analyze changes and produce review findings. Model-based review can use the diff and project context to assess risk, explain its reasoning, and identify possible omissions. Each finding can be checked against source code, the spec, and reproducible evidence.
Example
A reviewing agent flags that deleting a reading cache might also remove users’ bookmarks. The developer checks the call path and confirms it with a regression test.
Running a build or a test and reporting its result is an automated check. Examining the change and identifying possible missed edge cases is automated review.
In human review, a person judges the correctness, risk, and scope of a change. Review can take account of the diff, run results, product behavior, and acceptance requirements. For a release, the reviewer also verifies the version that will actually ship.
Example
When reviewing a change to iPhone read-aloud, the reviewer examines voice selection logic and compares the same passage on the same device.
Vibe coding is a way of programming that uses natural language to drive rapid generation and repeated trials to refine a product. In a narrower sense, the operator accepts generated results primarily by how they behave in use and reads relatively little of the code directly. Teams can set different depths of review for prototypes and production work.
Example
Describe a section navigation concept and build a mockup in minutes to test the reading path. When it enters the production project, create reproducible acceptance tests for the navigation rules.
A design concept is the shared understanding that people and agents build about what to make, what problem it serves, how users will use it, and the trade-offs involved. A concept can be expressed in prose, a prototype, or samples. Evidence helps determine how it is implemented.
Example
A knowledge site’s homepage concept might be to help a first-time visitor quickly find a representative piece of work. Use that idea to place section entry points, topics, and source links.
AI Hero uses ‘grilling’ for a way to clarify requirements. The agent asks one question at a time about decisions that affect the solution and records the agreed goal and open questions. Decisions involving data access or irreversible migrations especially need explicit answers.
Example
Before designing member-only reading, clarify what a person can still read after their membership expires. The answer affects access rules, offline caching, and acceptance tests.
Prototyping tests an idea with a small version that people can try, revealing problems with requirements, interaction, or technology early. A prototype should address the question being tested. Whether it can become part of the final product depends on its code, data, and runtime conditions.
Example
Use one chapter from a public paper to prototype full-text reading across platforms. Test chapter navigation, table scrolling, and reading-position restoration before deciding how to integrate the full site.
Developer experience, or DX, is how it feels for developers to understand, modify, debug, and deliver software. Clear documentation, consistent build entry points, prompt error feedback, and reproducible environments can improve DX.
Example
A new teammate can clone the repository, start a preview with one clearly documented command, and know which log to check if the build fails.
Agent experience, or AX, describes how easy the codebase and runtime make it for an agent to do its work. A clear project layout, discoverable official configuration, concise tool output, and reliable tests reduce mistaken assumptions and unnecessary context usage.
Example
Document the build command and artifact path in the repository root, and have failing checks point to the relevant file. This makes it easier for the agent to modify the right entry point.
In AI Hero’s usage, a ticket, scheduled task, or other event triggers an agent. A workflow assigns work, changes code, verifies it, and delivers the result. Scripts and agents can handle repetitive steps, and people make design decisions, review, or publish according to the agreed procedure. The workflow needs clear acceptance gates and failure handling.
Example
After multilingual content is updated, the workflow creates a PR for review, runs link and layout checks, and hands it to the editor to confirm publication.
A term used in industry practice for a part of a codebase where automation delivers changes and people usually do not review each individual change. The team is still responsible for scope, test coverage, permissions, and rollback. The workflow should state exactly how far it may proceed automatically.
Example
Machine-generated directory index code with clear rules can update automatically after it passes agreed verification. The team maintains the workflow with failure alerts and recoverable versions.
An agent loop is the work an agent repeats while carrying out a task. The system gives the model the objective and current information, and the model chooses the next step. If it needs a tool, the host executes it and feeds back the result. The agent then checks its work, corrects it, or stops. Tool results and environment state inform the next decision.
Example
Find a failing test, read the corresponding code, change one piece of logic, and rerun the test. If it fails again, use the new evidence to investigate. When it passes, reread the diff to confirm the scope.
A stop condition triggers an agent to end or pause work. Examples include passing acceptance, exhausting the retry budget, missing a permission, or requiring a decision from the user. State stop conditions in verifiable terms so completion can be distinguished from a temporary block.
Example
The task asks for a draft PR and confirmation of its number. The task can end when the agent has read back the PR link for the correct branch and seen that the checks have started.
Context engineering is the work of organizing what the model sees on each request. It includes selecting project rules, retrieving relevant files, compacting older conversation history, filtering tool output, and retaining key facts. The goal is for the model to have enough accurate, timely material when it needs to make a decision.
Example
When fixing date sorting, start with the date conventions, the rendering entry point, and one reproducible case. Load the Reader API documentation if you need to check older clients.
Retrieval finds material relevant to a task in external sources such as a codebase, project handbook, document store, or database. It can use keywords, symbol indexes, semantic similarity, or a combination of methods. Results can include file line numbers, section links, and versions.
Example
To trace an original publication date, find its field definition and the code that reads the field on each platform, then verify which version is under test.
Finding three relevant proposals is retrieval. Giving the selected material to a model and asking it to build an answer from that material is retrieval-augmented generation.
Retrieval-augmented generation, or RAG, retrieves external material for a question and gives the relevant passages to a model to inform its answer. The system can support citations, permission filtering, and feedback when evidence is insufficient. Both keyword and semantic search can be used for retrieval.
Example
A reader asks why an author changed a judgment. The system retrieves the relevant public section and a later annotation, then uses both to explain the change and provides links the reader can check.
Finding three relevant proposals is retrieval. Giving the selected material to a model and asking it to build an answer from that material is retrieval-augmented generation.
One Git repository can have multiple linked checkouts. Each worktree has its own working directory, index, and checkout state. They share repository objects and most refs, allowing several agents to work on separate branches at once. The runtime manages execution and network permissions separately.
Example
One agent fixes language switching in its worktree, while another adjusts the full-text index. Each submits a PR, and the main agent reviews how the two changes interact.
Prompt injection inserts instructions into input the model can read to try to divert it from its goal or exceed its authorization. The instructions may be in the user input or in a web page, document, repository file, or tool result an agent reads. The runtime needs to distinguish source, authorization, and execution permission and limit sensitive actions initiated by external content.
Example
An issue attachment tells an agent to send local credentials to a reviewer. The agent should treat that statement as external material to examine and continue within the actual authorization.
Commands, APIs, web pages, and connectors can return outdated facts, misleading prompts, or third-party instructions. Interpret tool results in light of their source and the scope of the request. Permission to invoke a tool covers that call. Instructions inside its output still need to be assessed by source, priority, and current authorization.
Example
A third-party dependency emits an installation suggestion in a build log. Use the error code and official documentation to verify why the dependency is missing, then follow the project’s installation procedure.
Acceptance criteria describe the conditions a delivery must satisfy. Effective criteria specify the scenario, observable outcomes, and how to verify them when needed. Cross-platform tasks can list compatibility behavior for each client, and releases can specify confirmation receipts and production evidence.
Example
After a publication date correction, the Chinese detail page, listing sort order, and Reader API all use the original publication date. Check each surface with the same article.
Evaluations, or evals, are repeatable assessments of a model, agent, or host workflow. They usually start with representative tasks and scoring criteria, then repeat runs as needed to compare completion rate, quality, time, or cost. Evals can include software tests as well as checks of external state and human scoring.
Example
Compare two agent versions on the same maintenance tasks. Record whether each fixes the code correctly, completes verification, preserves the user’s existing changes, and regresses on any task.
A trace is an observable record of a particular run. It can include timestamps, model and tool calls, returned results, errors, permission events, and handoffs. It helps locate where work diverged from the goal. Verify the final delivery status from the corresponding environment.
Example
A trace shows when an agent pushed a build and what receipt it received. To verify whether users can download the version, check the store status or install it directly.
A hook is a configured action attached to an event in the host. Triggers can include session start, the moment before or after tool execution, or task completion. Depending on host capabilities, hooks can log information, run checks, block an action, or change how a later step is handled.
Example
Before the agent edits a generated file, a hook adds a note that points it to the actual source file and logs that the event was triggered.
A merge gate is a set of conditions changes must satisfy to enter a protected branch. Common conditions include passing CI, receiving a specified number of reviews, addressing open comments, or entering a merge queue. The platform configuration determines which conditions block a merge.
Example
An iPad PR can enter main after tests pass and a designated maintainer approves it. Record the merge commit so the right source can be selected for the build.
A merge gate determines whether code can enter the target branch. A deployment gate determines whether the resulting build can enter its target environment, for example by checking production approval.
A deployment gate is a set of conditions a build must satisfy before it can go to its target environment. CI, the environment, or a distribution platform can enforce it by checking the version, allowed branch, regions, approvers, or compliance status.
Example
A website release can require a build from a merged commit, verification of the target OSS bucket, and approval if configured. App Store review, release methods, and available regions are managed by the distribution platform.
A merge gate determines whether code can enter the target branch. A deployment gate determines whether the resulting build can enter its target environment, for example by checking production approval.
A checkpoint is a recoverable state a tool saves for a stretch of work. It may cover tracked files, session state, task progress, or a build version. The scope varies by implementation. Specify which part can be restored.
Example
Save a snapshot of tracked files before modifying several pages. If something goes wrong, restore those files or compare the changes with the snapshot.
A checkpoint saves recoverable state at a particular stage. A rollback restores a system, codebase, or data to an earlier state, which can be a saved checkpoint.
A rollback restores an environment to a known acceptable state after a problem. Source code, object storage, databases, and distribution platforms have their own rollback mechanisms. Identify the target version and affected scope before starting, then verify the actual result in production.
Example
If a website release goes wrong, restore the relevant files from a verified older build. Check public links and the version the cache returns, then record the release and rollback build versions in the delivery record.
A checkpoint saves recoverable state at a particular stage. A rollback restores a system, codebase, or data to an earlier state, which can be a saved checkpoint.
The first 72 headwords come from the AI Hero dictionary. This edition uses revised definitions and examples and adds 16 terms.
View the original AI Hero dictionary