liveBook · Manning

Action

An action is a choice or operation selected or performed by an actor that can affect a system or environment or produce an outcome.

How 13 Manning books explain it

Grokking Simplicity

An action is a computation whose observable result depends on when or how it is performed and may involve effects beyond producing a value.

How it is used
Uses actions to locate time-dependent work and decide where functional techniques should concentrate attention.
How deep it goes
Defines actions, identifies common forms, traces their spread, and stops short of detailed safety techniques for managing them.
Examples
Uses UI events, database operations, email delivery, coupon campaigns, affiliate payouts, shopping, and JavaScript expressions.
What you can do after
Diagnose actions in new and existing code, separate calculations from them, and identify where timing and repetition require care.

Read how Grokking Simplicity explains action →

Optimization Algorithms: AI techniques for design, planning, and control problems

An action is a choice made by a reinforcement-learning agent in a given state that affects subsequent states and rewards.

How it is used
Defines the choices an agent makes to seek cumulative reward in reinforcement learning and sequential optimization.
How deep it goes
Defines permissible actions and their place in policy-driven reward and state transitions, then contrasts MDP and bandit choices.
Examples
Uses uncertain commute choices and a three-slot-machine Python simulation of action-selection strategies.
What you can do after
Evaluate/understand whether a choice changes future states or merely yields a reward, and identify actions available to an agent.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains action →

Authorization in Action

An action is an operation that a principal attempts to perform on a resource.

How it is used
Frames each authorization request as an operation evaluated with a principal, resource, and conditions.
How deep it goes
Defines actions, compares their representation across policy systems, and traces a PEP mapping an operation into evaluation data.
Examples
Uses report viewing, document viewing, editing, sharing, deployment, photo operations, and ACL folder permissions.
What you can do after
Apply it via Cedar by mapping attempted operations into action values alongside principal, resource, and context.

Read how Authorization in Action explains action →

AI Agents in Action

An agent action is an operation an agent selects or performs to advance a task.

How it is used
Frames actions as the mechanism agents use to complete tasks, explore information, communicate, and access external capabilities.
How deep it goes
Explains action definitions, plugin relationships, generation methods, framework terminology, custom code, and sequential-versus-parallel execution.
Examples
Demonstrates movie recommendations, image inspection, file saving, FastAPI services, daily-task retrieval, data analysis, and planned information gathering.
What you can do after
Builds custom actions, attaches them to assistants, connects external services, and chooses sequential or parallel execution for multistep goals.

Read how AI Agents in Action explains action →

Build a Robo-Advisor with Python (From Scratch)

An action is a decision selected by an agent that can change the state of its environment.

How it is used
Frames portfolio allocation as an agent decision for maximizing the probability of reaching a financial goal.
How deep it goes
Defines actions, then implements discrete action search through transition probabilities and backward dynamic programming.
Examples
Uses stock-fund versus risk-free-bond allocations and tests 21 discrete allocation choices at each wealth-time state.
What you can do after
Apply it via dynamic programming to select state-dependent asset allocations that maximize expected goal attainment.

Read how Build a Robo-Advisor with Python (From Scratch) explains action →

Grokking AI Algorithms, Second Edition

An action is a choice or operation that an agent performs in an environment to change its situation or obtain an outcome.

How it is used
Uses actions as the choices an agent tests to learn a goal-directed plan from rewards and penalties.
How deep it goes
Defines actions through a four-direction movement example and sketches their simulation, without detailing an action-selection algorithm.
Examples
Illustrates actions with a dog sitting for a treat, chess moves, and a car navigating a parking lot.
What you can do after
Build it from scratch: model simple movements, state changes, and feedback in a parking-lot simulator.

Read how Grokking AI Algorithms, Second Edition explains action →

Practical Automation with PowerShell: Effective scripting from the console to the cloud

An automation action is an individual operation or step performed during an automated process to achieve its goal.

How it is used
Frames automated work as goal-directed steps initiated by triggers and considered alongside maintainability.
How deep it goes
Defines actions and classifies them into logic, tasks, and logging with concrete control-flow and operational steps.
Examples
Uses a web-server log cleanup that archives old files, copies them to Azure Blob Storage, verifies transfer, and records results.
What you can do after
Evaluate/understand it by classifying workflow steps as logic, endpoint tasks, or logging.

Read how Practical Automation with PowerShell: Effective scripting from the console to the cloud explains action →

The Design of Web APIs, Second Edition

An action is the intended effect that an operation applies to a resource, expressed by the main verb in the operation description.

How it is used
Identifies operation actions before selecting HTTP methods, request locations, response locations, and data models.
How deep it goes
Defines actions, provides identification rules, lists inputs and outputs, and stops short of detailed data modeling.
Examples
Uses catalog operations such as Add, Search, Get, Modify, and Remove, plus course-platform operations for setup, lookup, verification, and modification.
What you can do after
Apply it to identify raw operation verbs and translate them into HTTP methods, inputs, outputs, and data locations.

Read how The Design of Web APIs, Second Edition explains action →

AI Agents in Action, Second Edition

An action is an operation an AI agent performs that can affect its environment or internal state.

How it is used
Deploys actions as the mechanism connecting agent goals, planning, tools, state, evaluation, and task completion.
How deep it goes
Explains action categories, tool boundaries, deployment choices, and loop execution, but stops short of model internals.
Examples
Uses context retrieval, get_research_sources(), MCP servers, and the repeated sense-plan-act-learn loop as concrete examples.
What you can do after
Apply it via tool calls and agent loops while choosing boundaries, validating results, and defining termination conditions.

Read how AI Agents in Action, Second Edition explains action →

Experimentation for Engineers

A candidate choice made by a contextual bandit, such as displaying one particular post.

How it is used
Frames post selection as the decision made by a contextual bandit in a production app.
How deep it goes
Defines action through post-display examples and logging, but stops short of detailed action-selection policies.
Examples
Uses displaying one post among many and logging context, action, and reward as concrete examples.

Read how Experimentation for Engineers explains action →

Refactoring to Rust

An action is an event or command describing a state transition that a component should process.

How it is used
Coordinates user events, asynchronous results, and state changes inside a Yew component.
How deep it goes
Defines actions as enums and traces their handling through update, stopping short of broader action-system design.
Examples
Uses pagination, feed-fetch states, button callbacks, and asynchronous search results as concrete action examples.
What you can do after
Build it from scratch by defining message variants and implementing update logic for component events and asynchronous results.

Read how Refactoring to Rust explains action →

Causal AI

An action is a decision or operation selected by an agent or performed by an individual in a given situation.

How it is used
Frames decisions as causal interventions or agent operations within sequential environments.
How deep it goes
Explains actions through causal hierarchy, state changes, availability constraints, delayed feedback, and Markov decision processes.
Examples
Uses investment choices, chronic-pain medication, and grid-world movement to illustrate causal and sequential action.
What you can do after
Apply action modeling to distinguish observed choices from interventions and represent agent behavior within an MDP.

Read how Causal AI explains action →

Natural Language Processing in Action, Second Edition

A bot action is an executable response or operation that a conversational system performs after processing user input.

How it is used
Uses executable responses and operations to implement multistep conversational flows in Rasa.
How deep it goes
Explains predefined and Python actions, external integrations, and YAML story wiring.
Examples
Demonstrates greetings, permission prompts, confirmations, and an onboarding story for a math tutor chatbot.
What you can do after
Apply it via Rasa by configuring response actions and sequencing them with intents in stories.

Read how Natural Language Processing in Action, Second Edition explains action →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.