Quickstart
-
Clone the starter repo
Chose your preferred programming language and get started with the BeeAI Framework starter template.
Terminal window git clone https://github.com/i-am-bee/beeai-framework-py-starter.gitcd beeai-framework-py-starterTerminal window git clone https://github.com/i-am-bee/beeai-framework-ts-starter.gitcd beeai-framework-ts-starter -
Install the dependencies
If you’re using python, make sure you have uv installed.
Terminal window uv syncTerminal window nvm install && nvm usenpm ci -
Configure your Environment Variables
Create an
.envfile with the contents from.env.templateTerminal window cp .env.template .envTerminal window Copy-Item .env.template .envTerminal window copy .env.template .env -
Configure your LLM Backend
If you choose to run a local model, Ollama must be installed and running, with the granite4.1:8b model pulled. If you run into issues, run
ollama listto verify the model name and ensuregranite4.1:8bis installed or that your alias points to it.Terminal window ollama pull granite4.1:8bor
If you chose to use a hosted model, edit the
LLM_CHAT_MODEL_NAMEin the.envfile.Terminal window # Examples (pick one that matches your provider/account):LLM_CHAT_MODEL_NAME="openai:gpt-5-mini"Add your API key for your preferred provider to your
.envfile and uncomment the line.Terminal window # Examples (pick one that matches your provider/account):OPENAI_API_KEY="YOUR API KEY" -
Run the Agent
This agent is an activity planner that can help you plan your day. Prompt it with your task and location. Exit the loop by typing “q” and enter.
Take a look inside the code file to understand the example agent.
Terminal window uv run python beeai_framework_starter/agent.pyTerminal window npm run start src/agent.tsCongratulations! You’ve ran your first BeeAI agent.
Explore more examples in our Python and TypeScript libraries.