AI Agents

From Chatbots to Autonomous Actors.

A chatbot answers questions. An Agent takes action. Agents use LLMs as a "reasoning engine" to decide which tools to use to complete a goal.

ReAct Pattern

Thought: The user wants to find the weather in Tokyo.

Action: Call tool `weather_api("Tokyo")`.

Observation: API returned "22°C, Cloudy".

Thought: I have the answer.

Final Answer: It is currently 22°C and cloudy in Tokyo.

Capabilities

  • Browsing the web.
  • Querying a SQL database.
  • Calling internal APIs (e.g., Jira, Slack).
  • Writing and executing Python code.