agent-loops
Installation
SKILL.md
Agent Loops
Enable LLMs to reason, plan, and take autonomous actions.
ReAct Pattern (Reasoning + Acting)
REACT_PROMPT = """You are an agent that reasons step by step.
For each step, respond with:
Thought: [your reasoning about what to do next]
Action: [tool_name(arg1, arg2)]
Observation: [you'll see the result here]
When you have the final answer:
Thought: I now have enough information
Final Answer: [your response]
Available tools: {tools}