Skip to content

Latest commit

 

History

History

examples

Bee Agent Framework Examples

This repository contains examples demonstrating the usage of the Bee Agent Framework, a toolkit for building AI agents and applications.

Table of Contents

  1. Agents
  2. Cache
  3. Errors
  4. Helpers
  5. LLMs (Language Models)
  6. Logger
  7. Memory
  8. Serialization
  9. Templates
  10. Tools

Agents

Cache

Errors

Helpers

LLMs (Language Models)

LLM Providers

Logger

Memory

Serialization

Templates

Tools

Custom Tools

Additional Files

Usage

To run these examples, make sure you have the Bee Agent Framework cloned and properly configured. Each file demonstrates a specific feature or use case of the framework. You can run individual examples using Node.js with TypeScript support.

  1. Clone the repository:

    git clone git@github.com:i-am-bee/bee-agent-framework
    
  2. Install dependencies:

    yarn install --immutable && yarn prepare
    
  3. Create .env file (from .env.template) and fill in missing values (if any).

  4. Run an arbitrary example, use the following command:

    yarn start examples/path/to/example.ts
    

For more detailed information on the Bee Agent Framework, please refer to the documentation.

Tip

To run examples that use Ollama, be sure that you have installed Ollama with the llama3.1 model downloaded.