Skip to main content
This quickstart will guide you through building a simple chat agent that can use your tools.
1
Setup your project in chat-with-tools.
2
Build an agent with the Agentica SDK.

Installation

We’ll setup our project in a new directory called chat-with-tools.
Get your API key from the login page.
Prerequisites:
  • Python version 3.12.*
  • uv package manager
  • Your Agentica Platform API key from the login page
Setup your virtual environment
Export your API key under the AGENTICA_API_KEY environment variable.
Then, start editing your main.py file.

Your First Agent

main.py
Now, run your script:
What just happened?
  • We spawned an agent with a premise describing its role.
  • The StreamLogger lets us stream the agent’s thinking as it runs.
  • We passed tools to agent.call() — the agent automatically decides when to use them.
  • The agent maintains conversation history, so it remembers context across messages.