From 572fda0d715a746ee9f79429d177fa0a8ff3ab8c Mon Sep 17 00:00:00 2001 From: Ashpreet Date: Tue, 25 Feb 2025 01:33:01 +0000 Subject: [PATCH] Agent Tic Tac Toe --- cookbook/examples/apps/tic_tac_toe/README.md | 2 +- cookbook/examples/apps/tic_tac_toe/requirements.in | 3 +-- cookbook/examples/apps/tic_tac_toe/requirements.txt | 12 ++++++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/cookbook/examples/apps/tic_tac_toe/README.md b/cookbook/examples/apps/tic_tac_toe/README.md index b2a4ed4d7..2276dc033 100644 --- a/cookbook/examples/apps/tic_tac_toe/README.md +++ b/cookbook/examples/apps/tic_tac_toe/README.md @@ -1,4 +1,4 @@ -# Tic Tac Toe AI Battle +# Agent Tic Tac Toe This example shows how to build an interactive Tic Tac Toe game where AI agents compete against each other. The application showcases how to: - Coordinate multiple AI agents in a turn-based game diff --git a/cookbook/examples/apps/tic_tac_toe/requirements.in b/cookbook/examples/apps/tic_tac_toe/requirements.in index 47179debb..fce375b96 100644 --- a/cookbook/examples/apps/tic_tac_toe/requirements.in +++ b/cookbook/examples/apps/tic_tac_toe/requirements.in @@ -1,6 +1,6 @@ agno anthropic -dataclasses +groq google-genai nest-asyncio ollama @@ -11,4 +11,3 @@ pip-tools python-dotenv rich streamlit -typing diff --git a/cookbook/examples/apps/tic_tac_toe/requirements.txt b/cookbook/examples/apps/tic_tac_toe/requirements.txt index 7a25377c4..c275c1828 100644 --- a/cookbook/examples/apps/tic_tac_toe/requirements.txt +++ b/cookbook/examples/apps/tic_tac_toe/requirements.txt @@ -11,6 +11,7 @@ anthropic==0.47.1 anyio==4.8.0 # via # anthropic + # groq # httpx # openai attrs==25.1.0 @@ -37,11 +38,10 @@ click==8.1.8 # pip-tools # streamlit # typer -dataclasses==0.8 - # via -r cookbook/examples/apps/tic_tac_toe/requirements.in distro==1.9.0 # via # anthropic + # groq # openai docstring-parser==0.16 # via agno @@ -55,6 +55,8 @@ google-auth==2.38.0 # via google-genai google-genai==1.3.0 # via -r cookbook/examples/apps/tic_tac_toe/requirements.in +groq==0.18.0 + # via -r cookbook/examples/apps/tic_tac_toe/requirements.in h11==0.14.0 # via httpcore httpcore==1.0.7 @@ -64,6 +66,7 @@ httpx==0.28.1 # agno # anthropic # google-genai + # groq # ollama # openai idna==3.10 @@ -134,6 +137,7 @@ pydantic==2.10.6 # agno # anthropic # google-genai + # groq # ollama # openai # pydantic-settings @@ -194,6 +198,7 @@ sniffio==1.3.1 # via # anthropic # anyio + # groq # openai streamlit==1.42.2 # via -r cookbook/examples/apps/tic_tac_toe/requirements.in @@ -209,8 +214,6 @@ tqdm==4.67.1 # via openai typer==0.15.1 # via agno -typing==3.10.0.0 - # via -r cookbook/examples/apps/tic_tac_toe/requirements.in typing-extensions==4.12.2 # via # agno @@ -218,6 +221,7 @@ typing-extensions==4.12.2 # anthropic # anyio # google-genai + # groq # openai # pydantic # pydantic-core