liveBook · Manning

Autonomy

As explained in Software Testing with Generative AI

The capacity of a software system to select and perform actions toward a goal without an explicitly ordered sequence being prescribed for every action.

Autonomy is the capacity of an agent to decide how to pursue a goal rather than follow a prescribed sequence of actions. It selects tasks, orders them, interacts with the outside world, and evaluates whether its actions support the goal. section 9.1.1

In an LLM-based agent, autonomy depends on:

  • A prompt establishes the goal, while callable functions provide ways to retrieve information or affect external systems. section 9.1.2
  • The LLM chooses which function to call, when to call it, and what data to pass, using returned information to continue solving the task. section 9.1.2

Function selection instead of a fixed workflow

An agent given a complex task might call a web API, scrape a page, or run web automation, choosing only the functions needed rather than executing every available function in order. section 9.1.1 section 9.1.2

Figure 9.1 An outline of an LLM agent using function calling

Use the function-calling outline to trace how a goal, selected function, external result, and subsequent decision form an autonomous loop. section 9.1.2

How Software Testing with Generative AI covers it

How deep it goes
Defines autonomy through goals, interaction, function selection, and feedback, but does not specify implementation code.
Examples
Uses web APIs, web scraping, booking-form automation, sensors, and selective function sequences as concrete examples.
What it assumes
Assumes goals and external interactions; teaches the distinction between autonomous selection and predetermined execution.
What you can do after
Evaluate/understand how an agent differs from a tool executing a fixed, ordered list of functions.
How it connects
Connects autonomy with AI agents, large language models, function calling, prompts, external systems, and adaptation.

Also explained in

Compare how 9 books explain autonomy →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Testing with Generative AI. The section links point to the parts of the book it draws on.