Skip to main content
BB AI SDK: 0.1.9 (see Installation). Starter repo version: v0.1.12 (repository badge / pyproject.toml).
The starter agent (Level 0) is a production-ready template for building single-agent applications. Built on the Agno framework, it demonstrates core agent capabilities including instruction following, step-by-step reasoning, and tool execution.
This repository can be used as a base template for creating your own application. Select starter-agent as the repository_template when provisioning a new repository via Self Service.

GitHub repository

View source code, releases, and issues

Prerequisites

  • Python 3.12+: Managed via UV
  • UV Package Manager: Modern Python package manager (replaces pip/poetry)

Quick start

1. Clone and install UV

2. Set up environment

3. Configure environment variables

Edit .env with the required values. For Artifactory access, see Installation and setup.

4. Install dependencies and run

Load environment variables and sync dependencies:
VPN and Web Proxy: Required for local development. Configure Aviatrix VPN and web proxy settings. See Onboarding Guide for setup instructions.

Available agents

The starter exposes three specialized agent endpoints:

Instructions agent

Follows precise system prompts. Endpoint: /run/instructions_agent

Reasoning agent

Uses Chain-of-Thought (CoT) reasoning. Endpoint: /run/reasoning_agent

Tools agent

Equipped with tools (e.g., Web Search). Endpoint: /run/tools_agent

API usage

Project structure

Observability

Uses configure_observability(fastapi_app=app, framework="agno", ...) in the FastAPI app. Set LANGFUSE_* in .env; extras: bb-ai-sdk[instrument-fastapi,instrument-agno]==0.1.9.
BB AI SDK Observability — integration steps.

Evaluation and Red teaming

The starter includes configuration for Promptfoo, enabling systematic testing and red teaming of your agents.
  • Evaluations: Defined in promptfoo_config/*.yaml.
  • Red Teaming: Security and safety testing configured in redteam.yaml.

Development

Run tests

Build Docker image

CI/CD

Standard workflows are pre-configured in .github/workflows:
  • PR Checks: Linting, testing, and validation.
  • Build and Publish: Docker image creation on merge.
  • Release: Automated versioning and release notes.
See CI/CD workflows for pipeline details.

Next steps