Build Agentic Workflows from Scratch 🤖🔁
LlamaIndex 🦙
Visit on X@llama_index125K followers
61,050 views
Build Agentic Workflows from Scratch 🤖🔁
It’s tempting for an AI engineer to use an off-the-shelf agent, but building your own agents shouldn’t be scary (and limited to AI research papers)!
In our brand-new video tutorial we show you how to build an agent in two intuitive steps:
1️⃣ Define a single step of an agent execution: This is just a DAG that modifies state along the way. Chain together a prompt, LLM, tool calling, output parsing/processing. Conditionally decide whether to call a tool or return.
2️⃣ Plug this DAG into an agent worker: An agent worker will repeatedly call this DAG until completion!
All agentic flows can be decomposed this way, making it simple to reason about. In our tutorial we show you how to build a ReAct agent from scratch.
Check it out:
Colab:
1 Comment
Comments from the original post on X (Twitter)

@raw_works
So cool. Are DAGs available in TS too? @llama_index
4 likes
