Phase 08 · LangChain & LangGraph agentic systems Core

Agentic AI goals, tasks and context

Agentic AI is AI that works toward a Goal by breaking it into Tasks, choosing Actions, reading Observations and updating State inside an Environment.

In plain terms

A normal chatbot answers. An agentic system owns an Objective: it understands the Goal, decomposes it into Tasks, prioritizes what to do next, selects tools, executes, observes the result and keeps the most useful Context available.

Why it matters

Agent systems fail when the objective is fuzzy, task boundaries are unclear or context grows without control. Naming these basics makes the agent easier to design and debug.

How it works

Start with the Objective and success criteria. Use Goal Decomposition to split the work, Task Prioritization to order it, Tool Selection to pick capabilities, API Calling for external services, Validation for outputs, and Context Management to decide what stays in the working prompt.

When you use it

Use this vocabulary before building any autonomous workflow, especially if a user gives one large request and expects the system to complete multiple subtasks.

Common mistakes

  • Letting the agent infer the Goal from vague text.
  • Skipping Validation after tool calls.
  • Treating Context Management as simply stuffing all history into the prompt.

Best practices

  • Write the Objective in one sentence.
  • List the next three Tasks explicitly.
  • Keep only context that helps the next decision.

Try it yourself

Take one big request, write the Goal, Objective, Tasks, Environment, required Context and possible Actions before coding the agent.