LLM Conversational Agents
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Designing, Deploying and Managing Network Automation Systems premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- The agent loop: the model asks, your code acts
- Defining the tools the model can call
- Trust nothing the model returns
- What the model knows: prompt, context, history
- Grounding the agent in real network data
- Guardrails belong in code, not the prompt
- Reading the stem: exam patterns and traps
Who does what: the LLM vs the orchestrator (your code)
| Concern | The LLM (model) | The orchestrator (your code) |
|---|---|---|
| Choose the next step / tool | Selects the tool and arguments | Nothing (the choice is advisory) |
| Execute a tool / touch a device | Only requests the call | Runs it and returns the result |
| Hold conversation state & history | Stateless between calls | Persists and replays the message history |
| Supply real data (grounding / RAG) | Sees only what is in context | Retrieves from the source of truth and injects it |
| Enforce guardrails & approvals | Can be overridden by injection | Allow-lists, argument validation, approval gates |
| Bound the loop | Would keep calling tools | Caps retries and steps, sets stop conditions |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Model Context Protocol — Architecture overview (host/client/server, tools, tool execution)
- FastMCP — Tools (deriving name, description, and schema from a decorated Python function)
- Cisco Catalyst Center Platform (DNA Center) API — device inventory and intent APIs
- FastMCP — Client tools (CallToolResult.is_error and ToolError on tool failure)
- OWASP Top 10 for LLM Applications — LLM06:2025 Excessive Agency Whitepaper
- OWASP Top 10 for LLM Applications — LLM09:2025 Misinformation (RAG as a mitigation) Whitepaper
- Cisco pyATS / Genie — test automation and parsed device state (source of truth for live telemetry)
- OWASP Top 10 for LLM Applications — LLM04:2025 Data and Model Poisoning Whitepaper
- OWASP Top 10 for LLM Applications — LLM01:2025 Prompt Injection (mitigations: functions in code, least privilege, human-in-the-loop) Whitepaper