Tagged articles
2 articles
Page 1 of 1
AI Waka
AI Waka
Mar 13, 2026 · Artificial Intelligence

Rethinking LLM Agents: Stream Tool Outputs Directly to the Client

The article critiques the conventional LLM‑agent loop that forces every tool output back through the model, proposes a dual‑output architecture where tools stream multimedia events directly to the client while still returning a compact semantic result to the model, and demonstrates the design with Python code examples.

AgentLLMMultimodal
0 likes · 14 min read
Rethinking LLM Agents: Stream Tool Outputs Directly to the Client
Data STUDIO
Data STUDIO
Jan 19, 2026 · Fundamentals

10 Advanced Python Decorators to Replace Repetitive if‑else Logic and Clean Up Your Code

This article introduces ten practical Python decorator patterns—covering caching, timing, retry, rate‑limiting, logging, dependency injection, class‑wide decoration, singleton, role‑based access control, and context management—each explained with concrete code examples, output snapshots, and guidance on when and how to apply them.

CachingPythonRBAC
0 likes · 29 min read
10 Advanced Python Decorators to Replace Repetitive if‑else Logic and Clean Up Your Code