← All mindmapsMAIN TOPIC · 11 / 14

Agentic AI

Tool-using systems, orchestration, state and reliability

Explore full topic ↗
100%
Agentic AI overview revision sheet; full text available below

Use + to enlarge the vector sheet up to 400%, then pan horizontally or vertically. A readable text version is below.

Readable revision notes (18 concepts)

The same content as the visual sheet, optimized for mobile and assistive technology.

01 · Agents vs workflows

  • Workflow: predefined control flow
  • Agent: model selects next action dynamically
  • Prefer simplest design that meets task needs

02 · Agent loop

  • Read goal and state → choose action → execute
  • Observe tool result; update state; decide next step
  • Stop on success, failure, budget or approval requirement

03 · Tools & MCP

  • Tools have explicit input/output schemas
  • MCP standardizes client/server tool and resource access
  • Validate arguments; allowlist capabilities

04 · Orchestration

  • Routing dispatches tasks; parallel independent work
  • Evaluator-optimizer improves draft by rubric
  • Planner/worker splits tasks; state machine constrains paths

05 · Memory & state

  • Working state stores current execution context
  • Long-term memory needs relevance, access and retention controls
  • Checkpoint progress for resumable execution

06 · Reliability

  • Bound step count, time, tokens, retries
  • Exponential backoff + jitter for transient failures
  • Idempotency avoids repeating external side effects

07 · Security

  • Untrusted tool results are data, not instructions
  • Least privilege, scoped credentials, sandbox boundaries
  • Human approval for costly or irreversible actions

08 · Evaluation

  • Task success, tool correctness, step efficiency
  • Test failure recovery and adversarial inputs
  • Trace decisions/results; redact secrets and PII

09 · Deployment

  • Queues for long jobs; persist status and checkpoints
  • Monitor cost per task, timeout and success rates
  • Provide cancellation, audit trail and safe fallback

10 · Agent loop & ReAct

  • Thought/action selection → validated tool call → observation → next action.
  • Stop when goal met, budget exhausted, approval needed or error unrecoverable.
  • Do not expose hidden reasoning; trace actions, state and outputs for audits.

11 · Workflow patterns

  • Prompt chain sequential dependent tasks; routing selects specialist.
  • Parallelize independent tasks; orchestrator-worker dynamic decomposition.
  • Evaluator-optimizer iterates against explicit rubric; cap iterations.

12 · Planning & decomposition

  • Plan-and-execute builds steps then revises based on outcomes.
  • ReAct interleaves action and observation; suitable for evolving evidence.
  • State machine constrains transitions; prefer deterministic path when possible.

13 · Tool calling & schemas

  • JSON schema defines allowed arguments; validate on server.
  • Separate read tools from write tools; least privilege and scoped tokens.
  • Tool output untrusted; retry transient failures only; use idempotency keys.

14 · MCP architecture

  • Host manages model/application; clients connect to MCP servers.
  • Servers expose tools/resources/prompts under protocol capabilities.
  • Authorize each server/action; MCP is not automatic trust or agent memory.

15 · Persistent memory & checkpoints

  • Short-term execution state vs persistent user/task memory.
  • Retrieve relevant memory with permissions/retention; don't indiscriminately append logs.
  • Checkpoint resumable state; isolate concurrent runs and users.

16 · Multi-agent coordination

  • Supervisor assigns tasks; workers return evidence/results.
  • Parallel agents increase latency/cost risk; avoid redundant calls and conflicting writes.
  • Shared state synchronization, termination and accountability need explicit rules.

17 · Human-in-loop & reliability

  • Require approval before sensitive irreversible effects; present clear proposed action.
  • Timeouts, bounded retries, jitter, dead-letter queues and cancel support.
  • Idempotent writes and checkpointing prevent duplicated side effects.

18 · Agent evaluation & observability

  • Measure goal success, tool selection/arguments, side effects and cost.
  • Test unavailable tools, malicious output, loops and permission errors.
  • Capture redacted traces, versions, latency; use regression suites before rollout.

References & further study

Original schematics illustrate concepts, not measured data. Review these references for full derivations and implementation details.

Last 30 min revisionHigh-yield interview Q&As