Answers for the TryHackMe Agent Foundations Room

The TryHackMe Agent Foundations Room is a subscriber only room from TryHackMe that deals with the basics of building Python based AI agents. The room is available at: https://tryhackme.com/room/agentfoundations

1.1 What framework is useful when an LLM needs a few controlled tools?

Answer: LangChain

1.2 What type of path does a basic LLM workflow follow?

Answer: Fixed path

2.1 Does this workflow use tools? (Yea/Nay)

Answer: Nay

2.2 What changes the response style?

Answer: Audience

2.3 Is this an agent? (Yea/Nay)

Answer: Nay

2.4 Run the basic workflow after modifying the audience for REQ-001. What is the flag?

Answer: THM{basic_llm_workflow_ready}

2.1 What decorator converts a Python function into a LangChain tool?

Answer: @tool

2.2 Modify then run the LangChain tool script. What is the flag?

Answer: THM{langchain_tool_agent_working}

3. What Pydantic model validates the structured output?

Answer: StructuredResponse

4. What class defines the workflow state?

Answer: AgentState

5.1 Which framework is best suited for state, routing, and branching?

Answer: LangGraph

5.2 Modify then run the LangGraph branching script. What is the flag?

Answer: THM{branching_logic_verified}

6. Modify then run the debugging script. What is the flag?

Answer: THM{agent_failure_debugged}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.