AI-Agent-Flow


AI Agent Flow:


[1] User Input
     ↓
[2] Python Agent
     ↓
[3] Run CLI Commands (docker exec)
     ↓
[4] Collect Outputs (BGP + Interfaces)
     ↓
[5] Build Prompt (VERY IMPORTANT)
     ↓
[6] Send to LLM (Ollama API)
     ↓
[7] LLM Reasoning (pattern matching + inference)
     ↓
[8] Structured Answer
     ↓
[9] Print to User



Use CaseBest LLM
BGP troubleshooting                               Claude 🥇
Automation scripts (Ansible/Python)      OpenAI 🥇
Full AI agent (balanced)                          OpenAI
Deep root cause analysis                        Claude
Local lab (free)                                         Ollama
Large logs/config parsing                       Claude / Gemini

Comments

Popular posts from this blog

eBGP sonic lab + Ansible config & validation

SONiC-2

RDMA RoCE