title: URL: https://huggingface.co/learn/agents-course creator: created: description:

Hugging Face Agents Course

  • The agent workflow:
    • Think → Act → Observe
Agency LevelDescriptionWhat that’s calledExample pattern
☆☆☆Agent output has no impact on program flowSimple processorprocess_llm_output(llm_response)
★☆☆Agent output determines basic control flowRouterif llm_decision(): path_a() else: path_b()
★★☆Agent output determines function executionTool callerrun_function(llm_chosen_tool, llm_chosen_args)
★★★Agent output controls iteration and program continuationMulti-step Agentwhile llm_should_continue(): execute_next_step()
★★★One agentic workflow can start another agentic workflowMulti-Agentif llm_trigger(): execute_agent()