Added examples of agno usage and .env for keys; removed unused/redundant dependencies

This commit is contained in:
2025-09-04 21:55:18 +02:00
parent dd75530300
commit 57aa39cd71
4 changed files with 112 additions and 351 deletions

20
src/example.py Normal file
View File

@@ -0,0 +1,20 @@
from agno.agent import Agent
from agno.models.google import Gemini
from agno.tools.reasoning import ReasoningTools
from dotenv import load_dotenv
try:
load_dotenv()
reasoning_agent = Agent(
model=Gemini(),
tools=[
ReasoningTools(),
],
instructions="Use tables to display data.",
markdown=True,
)
result = reasoning_agent.run("Scrivi una poesia su un gatto. Sii breve.")
print(result.content)
except Exception as e:
pass