Skip to content

tyook/agno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

๐Ÿ“‹ Requirements

  • Python 3.8+
  • agno framework v1.7.6
  • Anthropic API key (for Claude models)
  • Optional: OpenAI API key for additional model options

Note: This demo is specifically designed for agno v1.7.6. The API imports, model initialization, and tool definitions have been updated to match this version's structure. Tools now use the @tool decorator pattern instead of class inheritance.

๐Ÿ› ๏ธ Installation

  1. Clone the repository:
git clone <repository-url>
cd agno
  1. Install dependencies:
pip install -e .
  1. Set up environment variables:
cp .env.example .env
# Edit .env and add your API keys
Fill in your API keys in the .env file
Export the env variables in your shell rc files, such as ~/.zshrc or ~/.bashrc
export OPENAI_API_KEY=your_openai_api_key_here
export OPENAI_DEFAULT_HEADER=your_openai_default_header_here

Source your shell rc file to apply changes
```bash
source ~/.zshrc
  1. Run the demo:
python demo/text_analyzer/simple_demo.py

About

Agno

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages