
agent-loop-visualizer
Agentic-System-Lab
This project is for learning: it shows how an agent loop works underneath, in a way more intuitive and visual than reading about it. Behind an agent's chat box runs a loop: step after step, the model proposes an action and the harness carries it out, until it stops.
AI 简介
Agent Loop Visualizer 是一个面向教学的交互式可视化工具,用于直观展示大语言模型智能体(LLM Agent)内部执行循环(agent loop)的完整过程。它逐帧渲染模型推理步骤:包括 token 级别生成、工具调用(function/tool calling)触发、动作执行与状态流转,并支持对比不同模型(如 Gemma-4-E2B 和 Qwen3.5-0.8B)在本地或 vLLM 后端的行为差异。项目基于 Streamlit 构建,集成 Hugging Face Transformers、多模态输入(图像/音频/视频)及安全 Python 沙箱执行,专为理解智能体架构原理、教学演示与实验验证设计,适用于 AI 教育、智能体开发入门与 LLM 运行机制研究场景。
Python
Apache License 2.0 最后更新 2026年11月7日活跃57
Stars
3
Forks
56
Watchers
0
Issues
Star 增长
今日0
近 7 天+1
近 30 天+1
综合评分42.41
默认分支main