Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Script

Also: scripts

In plain words

A short program that does one job, like renaming a folder of files.

The fuller definition

A script is a program used to automate a task or sequence of operations, often run by an interpreter or shell.

How it fits together
  1. Inputs

    Files and options

  2. Rules

    Defined operations

  3. Result

    Repeatable output

A simplified relationship, not a screenshot or a complete design.

A concrete example

A script validates that each chronology row points to an existing source ID.

The distinction that matters

A script follows its programmed logic; it need not contain AI or decide its own goals.

Related terms

Where it is taught

APIs and JSON: connect a model to a small program

Source and further reading

MDN · Web technology glossary

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC