Describe how you would architect a multi-step AI agent workflow using frameworks like LangChain or LlamaIndex.