Workflow vs Agents -

Tradeoffs -

Building Block is an LLM. You then inject workflows, add features etc to it.

image.png

MCP gives access to the llm for many other tool calls. So part 1 is having an llm with the necessary tools to do this., which has a read/write memory and retrieval. Normal LLM’s like Claude supports them and additional tools can be injected through access via a MCP server.

Workflows

  1. Prompt Chaining -

image.png

Its just basic chaining and failsafes, intuitive.

When to use - When task can be decomposed into subtasks clear and isolated.

Issue - trading off latency for higher accuracy.