AI Concepts
Learn the design ideas behind agents, embeddings, RAG, memory, model dependencies, prompting, and evaluation.
Advanced AI workflows are normal workflows with one extra responsibility: they must keep model behavior observable and constrained. Use this section to decide when to add an LLM, how to pass it clean context, how to ground answers in retrieved data, and how to keep agent behavior testable.
AI Concepts
Learn the design ideas behind agents, embeddings, RAG, memory, model dependencies, prompting, and evaluation.
LangChain Integration
Understand how LangChain-style components fit into Agentic WorkFlow nodes and dependencies.
Browser AI Automation
Combine page extraction, browser actions, and model calls without losing track of page state.
Multi-Agent Systems
Use agent patterns only when the workflow needs planning, tool choice, or iterative decisions.
Use AI when the workflow needs judgment over language or messy content. Do not use AI for work that a deterministic node can do more clearly, such as formatting a date, filtering a known field, or checking whether a number is greater than a threshold.
flowchart TD
Need["Workflow need"] --> Known{"Can rules solve it?"}
Known -->|Yes| Deterministic["Use flow, mapping, code, or transformation nodes"]
Known -->|No| Language{"Is the input language-heavy or ambiguous?"}
Language -->|Yes| AI["Use an AI node with constrained context"]
Language -->|No| Redesign["Clarify data shape before adding AI"]
AI --> Check["Validate output before downstream actions"]
Good AI steps usually have:
| Pattern | Use it for | Main risk |
|---|---|---|
| Extract then summarize | Turning page text into a shorter result | Sending noisy or incomplete page content |
| Classify then branch | Routing records based on language meaning | Vague categories that overlap |
| Retrieve then answer | Answering from a knowledge base or page collection | Unsupported answers when retrieval is weak |
| Agent with tools | Multi-step tasks where the next action depends on results | Too many tools or unclear stop conditions |
| Structured output | Passing model results into later nodes | Missing schema validation or fallback behavior |