repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/todoist.py
libs/agno/agno/tools/todoist.py
import json from os import getenv from typing import Any, Dict, List, Optional from agno.tools import Toolkit from agno.utils.log import logger try: from todoist_api_python.api import TodoistAPI except ImportError: raise ImportError("`todoist-api-python` not installed. Please install using `pip install todois...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/serpapi.py
libs/agno/agno/tools/serpapi.py
import json from os import getenv from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_info, logger try: import serpapi except ImportError: raise ImportError("`google-search-results` not installed.") class SerpApiTools(Toolkit): def __init__( self,...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/jina.py
libs/agno/agno/tools/jina.py
from os import getenv from typing import Any, Dict, List, Optional import httpx from pydantic import BaseModel, Field, HttpUrl from agno.tools import Toolkit from agno.utils.log import logger class JinaReaderToolsConfig(BaseModel): api_key: Optional[str] = Field(None, description="API key for Jina Reader") ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/confluence.py
libs/agno/agno/tools/confluence.py
import json from os import getenv from typing import Any, List, Optional import requests from agno.tools import Toolkit from agno.utils.log import log_info, logger try: from atlassian import Confluence except (ModuleNotFoundError, ImportError): raise ImportError("atlassian-python-api not install . Please ins...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/giphy.py
libs/agno/agno/tools/giphy.py
import uuid from os import getenv from typing import Any, List, Optional, Union import httpx from agno.agent import Agent from agno.media import Image from agno.team.team import Team from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import logger class GiphyTools(Toolkit)...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/agentql.py
libs/agno/agno/tools/agentql.py
from os import getenv from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_info try: import agentql from playwright.sync_api import sync_playwright except ImportError: raise ImportError("`agentql` not installed. Please install using `pip install agentql`") ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/financial_datasets.py
libs/agno/agno/tools/financial_datasets.py
from os import getenv from typing import Any, Dict, List, Optional import requests from agno.tools import Toolkit from agno.utils.log import log_error class FinancialDatasetsTools(Toolkit): def __init__( self, api_key: Optional[str] = None, **kwargs, ): """Initialize the Fina...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/telegram.py
libs/agno/agno/tools/telegram.py
from os import getenv from typing import Any, List, Optional, Union import httpx from agno.tools import Toolkit from agno.utils.log import log_debug, logger class TelegramTools(Toolkit): base_url = "https://api.telegram.org" def __init__( self, chat_id: Union[str, int], token: Optio...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/searxng.py
libs/agno/agno/tools/searxng.py
import json import urllib.parse from typing import Any, List, Optional import httpx from agno.tools import Toolkit from agno.utils.log import log_info class Searxng(Toolkit): def __init__( self, host: str, engines: List[str] = [], fixed_max_results: Optional[int] = None, ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/calculator.py
libs/agno/agno/tools/calculator.py
import json import math from typing import Callable, List from agno.tools import Toolkit from agno.utils.log import log_debug, logger class CalculatorTools(Toolkit): def __init__( self, **kwargs, ): tools: List[Callable] = [ self.add, self.subtract, ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/docker.py
libs/agno/agno/tools/docker.py
import json import os import sys from typing import Any, Dict, List, Optional, Union from agno.tools import Toolkit from agno.utils.log import logger if sys.version_info >= (3, 12): # Apply more comprehensive monkey patch for Python 3.12 compatibility try: import inspect from docker import au...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/openbb.py
libs/agno/agno/tools/openbb.py
import json from os import getenv from typing import Any, List, Literal, Optional from agno.tools import Toolkit from agno.utils.log import log_debug, logger try: from openbb import obb as openbb_app except ImportError: raise ImportError("`openbb` not installed. Please install using `pip install 'openbb'`.") ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/webtools.py
libs/agno/agno/tools/webtools.py
import httpx from agno.tools import Toolkit from agno.utils.log import logger class WebTools(Toolkit): """ A toolkit for working with web-related tools. """ def __init__( self, retries: int = 3, enable_expand_url: bool = True, all: bool = False, **kwargs, ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/__init__.py
libs/agno/agno/tools/__init__.py
from agno.tools.decorator import tool from agno.tools.function import Function, FunctionCall from agno.tools.toolkit import Toolkit __all__ = [ "tool", "Function", "FunctionCall", "Toolkit", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/workflow.py
libs/agno/agno/tools/workflow.py
import json from textwrap import dedent from typing import Any, Dict, Optional from pydantic import BaseModel, Field from agno.tools import Toolkit from agno.utils.log import log_debug, log_error from agno.workflow.workflow import Workflow, WorkflowRunOutput class RunWorkflowInput(BaseModel): input_data: str = ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/calcom.py
libs/agno/agno/tools/calcom.py
from datetime import datetime from os import getenv from typing import Any, Dict, List, Optional from agno.tools import Toolkit from agno.utils.log import logger try: import pytz import requests except ImportError: raise ImportError("`requests` and `pytz` not installed. Please install using `pip install r...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/slack.py
libs/agno/agno/tools/slack.py
import json from os import getenv from typing import Any, Dict, List, Optional from agno.tools import Toolkit from agno.utils.log import logger try: from slack_sdk import WebClient from slack_sdk.errors import SlackApiError except ImportError: raise ImportError("Slack tools require the `slack_sdk` package...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/email.py
libs/agno/agno/tools/email.py
from typing import Optional from agno.tools import Toolkit from agno.utils.log import log_info, logger class EmailTools(Toolkit): def __init__( self, receiver_email: Optional[str] = None, sender_name: Optional[str] = None, sender_email: Optional[str] = None, sender_passkey...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/googlecalendar.py
libs/agno/agno/tools/googlecalendar.py
import datetime import json import uuid from functools import wraps from os import getenv from pathlib import Path from typing import Any, Dict, List, Optional, cast from agno.tools import Toolkit from agno.utils.log import log_debug, log_error, log_info try: from google.auth.transport.requests import Request ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/evm.py
libs/agno/agno/tools/evm.py
from os import getenv from typing import Optional from agno.tools import Toolkit from agno.utils.log import log_debug, log_error try: from eth_account.account import LocalAccount from eth_account.datastructures import SignedTransaction from hexbytes import HexBytes from web3 import Web3 from web3....
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/dalle.py
libs/agno/agno/tools/dalle.py
from os import getenv from typing import Any, List, Literal, Optional from uuid import uuid4 from agno.media import Image from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_debug, logger try: from openai import OpenAI from openai.types.images_response impo...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/resend.py
libs/agno/agno/tools/resend.py
from os import getenv from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_info, logger try: import resend # type: ignore except ImportError: raise ImportError("`resend` not installed. Please install using `pip install resend`.") class ResendTools(Toolkit): ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/valyu.py
libs/agno/agno/tools/valyu.py
import json from os import getenv from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_debug, log_error, log_warning try: from valyu import Valyu except ImportError: raise ImportError("`valyu` not installed. Please install using `pip install valyu`") class Val...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/arxiv.py
libs/agno/agno/tools/arxiv.py
import json from pathlib import Path from typing import Any, Dict, List, Optional from agno.tools import Toolkit from agno.utils.log import log_debug, logger try: import arxiv except ImportError: raise ImportError("`arxiv` not installed. Please install using `pip install arxiv`") try: from pypdf import P...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/apify.py
libs/agno/agno/tools/apify.py
import json import string from os import getenv from typing import Any, Dict, List, Optional, Tuple, Union import requests from agno.tools import Toolkit from agno.utils.log import log_info, logger try: from apify_client import ApifyClient except ImportError: raise ImportError("`apify-client` not installed. ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/neo4j.py
libs/agno/agno/tools/neo4j.py
import os from typing import Any, List, Optional try: from neo4j import GraphDatabase except ImportError: raise ImportError("`neo4j` not installed. Please install using `pip install neo4j`") from agno.tools import Toolkit from agno.utils.log import log_debug, logger class Neo4jTools(Toolkit): def __init...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/duckduckgo.py
libs/agno/agno/tools/duckduckgo.py
import json from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_debug try: from ddgs import DDGS except ImportError: raise ImportError("`ddgs` not installed. Please install using `pip install ddgs`") class DuckDuckGoTools(Toolkit): """ DuckDuckGo is a...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/trafilatura.py
libs/agno/agno/tools/trafilatura.py
import json from typing import Any, Callable, Dict, List, Optional, Set from agno.tools import Toolkit from agno.utils.log import log_debug, logger try: from trafilatura import ( extract, extract_metadata, fetch_url, html2txt, ) from trafilatura.meta import reset_caches ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/google_maps.py
libs/agno/agno/tools/google_maps.py
""" This module provides tools for searching business information using the Google Maps API. Prerequisites: - Set the environment variable `GOOGLE_MAPS_API_KEY` with your Google Maps API key. You can obtain the API key from the Google Cloud Console: https://console.cloud.google.com/projectselector2/google/maps-api...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/decorator.py
libs/agno/agno/tools/decorator.py
from functools import update_wrapper, wraps from typing import Any, Callable, Dict, List, Optional, TypeVar, Union, overload from agno.tools.function import Function, get_entrypoint_docstring from agno.utils.log import logger # Type variable for better type hints F = TypeVar("F", bound=Callable[..., Any]) ToolConfig ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/bitbucket.py
libs/agno/agno/tools/bitbucket.py
import base64 import json from os import getenv from typing import Any, Dict, Optional, Union import requests from agno.tools import Toolkit from agno.utils.log import logger class BitbucketTools(Toolkit): def __init__( self, server_url: str = "api.bitbucket.org", username: Optional[str]...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/website.py
libs/agno/agno/tools/website.py
import json from typing import Any, List, Optional from agno.knowledge.document import Document from agno.knowledge.knowledge import Knowledge from agno.tools import Toolkit from agno.utils.log import log_debug class WebsiteTools(Toolkit): def __init__( self, knowledge: Optional[Knowledge] = None...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/twilio.py
libs/agno/agno/tools/twilio.py
import re from os import getenv from typing import Any, Dict, List, Optional from agno.tools import Toolkit from agno.utils.log import log_info, logger try: from twilio.base.exceptions import TwilioRestException from twilio.rest import Client except ImportError: raise ImportError("`twilio` not installed. ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/google_drive.py
libs/agno/agno/tools/google_drive.py
""" Google Drive API integration for file management and sharing. This module provides functions to interact with Google Drive, including listing, uploading, and downloading files. It uses the Google Drive API and handles authentication via OAuth2. Required Environment Variables: ----------------------------- - GOOG...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/linkup.py
libs/agno/agno/tools/linkup.py
from os import getenv from typing import Any, List, Literal, Optional from agno.tools import Toolkit from agno.utils.log import logger try: from linkup import LinkupClient except ImportError: raise ImportError("`linkup-sdk` not installed. Please install using `pip install linkup-sdk`") class LinkupTools(Too...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/brandfetch.py
libs/agno/agno/tools/brandfetch.py
""" Going to contribute this to agno toolkits. """ from os import getenv from typing import Any, Optional try: import httpx except ImportError: raise ImportError("`httpx` not installed.") from agno.tools import Toolkit class BrandfetchTools(Toolkit): """ Brandfetch API toolkit for retrieving brand ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/zep.py
libs/agno/agno/tools/zep.py
import uuid from os import getenv from textwrap import dedent from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_debug, log_error, log_warning try: from zep_cloud import ( BadRequestError, NotFoundError, ) from zep_cloud import ( Me...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/gmail.py
libs/agno/agno/tools/gmail.py
""" Gmail Toolkit for interacting with Gmail API Required Environment Variables: ----------------------------- - GOOGLE_CLIENT_ID: Google OAuth client ID - GOOGLE_CLIENT_SECRET: Google OAuth client secret - GOOGLE_PROJECT_ID: Google Cloud project ID - GOOGLE_REDIRECT_URI: Google OAuth redirect URI (default: http://loc...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models_labs.py
libs/agno/agno/tools/models_labs.py
import json import time from os import getenv from typing import Any, Dict, List, Optional, Union from uuid import uuid4 from agno.media import Audio, Image, Video from agno.models.response import FileType from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_debug, l...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/github.py
libs/agno/agno/tools/github.py
import json from os import getenv from typing import Any, List, Optional from agno.tools import Toolkit from agno.utils.log import log_debug, logger try: from github import Auth, Github, GithubException except ImportError: raise ImportError("`PyGithub` not installed. Please install using `pip install pygithu...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/pandas.py
libs/agno/agno/tools/pandas.py
from typing import Any, Dict, List from agno.tools import Toolkit from agno.utils.log import log_debug, logger try: import pandas as pd except ImportError: raise ImportError("`pandas` not installed. Please install using `pip install pandas`.") class PandasTools(Toolkit): def __init__( self, ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/notion.py
libs/agno/agno/tools/notion.py
import json import os from typing import Any, Dict, List, Optional, cast from agno.tools import Toolkit from agno.utils.log import log_debug, logger try: from notion_client import Client except ImportError: raise ImportError("`notion-client` not installed. Please install using `pip install notion-client`") ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/sleep.py
libs/agno/agno/tools/sleep.py
import time from agno.tools import Toolkit from agno.utils.log import log_info class SleepTools(Toolkit): def __init__(self, enable_sleep: bool = True, all: bool = False, **kwargs): tools = [] if all or enable_sleep: tools.append(self.sleep) super().__init__(name="sleep", too...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/linear.py
libs/agno/agno/tools/linear.py
from os import getenv from typing import Any, List, Optional import requests from agno.tools import Toolkit from agno.utils.log import log_info, logger class LinearTools(Toolkit): def __init__( self, api_key: Optional[str] = None, **kwargs, ): self.api_key = api_key or getenv...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/eleven_labs.py
libs/agno/agno/tools/eleven_labs.py
from io import BytesIO from os import getenv, path from pathlib import Path from typing import Any, Iterator, List, Literal, Optional, Union from uuid import uuid4 from agno.agent import Agent from agno.media import Audio from agno.team.team import Team from agno.tools import Toolkit from agno.tools.function import To...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/aws_ses.py
libs/agno/agno/tools/aws_ses.py
from typing import Optional from agno.tools import Toolkit from agno.utils.log import log_debug try: import boto3 except ImportError: raise ImportError("boto3 is required for AWSSESTool. Please install it using `pip install boto3`.") class AWSSESTool(Toolkit): def __init__( self, sender_...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/redshift.py
libs/agno/agno/tools/redshift.py
import csv from os import getenv from typing import Any, Dict, List, Optional try: import redshift_connector from redshift_connector import Connection except ImportError: raise ImportError("`redshift_connector` not installed. Please install using `pip install redshift-connector`.") from agno.tools import ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/openai.py
libs/agno/agno/tools/openai.py
from os import getenv from typing import Any, List, Literal, Optional, Union from uuid import uuid4 from agno.agent import Agent from agno.media import Audio, Image from agno.team.team import Team from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_debug, log_error,...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/parallel.py
libs/agno/agno/tools/parallel.py
import json from os import getenv from typing import Any, Dict, List, Optional from agno.tools import Toolkit from agno.utils.log import log_error try: from parallel import Parallel as ParallelClient except ImportError: raise ImportError("`parallel-web` not installed. Please install using `pip install paralle...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/googlesheets.py
libs/agno/agno/tools/googlesheets.py
""" Google Sheets Toolset for interacting with Sheets API Required Environment Variables: ----------------------------- - GOOGLE_CLIENT_ID: Google OAuth client ID - GOOGLE_CLIENT_SECRET: Google OAuth client secret - GOOGLE_PROJECT_ID: Google Cloud project ID - GOOGLE_REDIRECT_URI: Google OAuth redirect URI (default: h...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/reasoning.py
libs/agno/agno/tools/reasoning.py
from textwrap import dedent from typing import Any, Dict, List, Optional from agno.reasoning.step import NextAction, ReasoningStep from agno.tools import Toolkit from agno.utils.log import log_debug, log_error class ReasoningTools(Toolkit): def __init__( self, enable_think: bool = True, e...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/visualization.py
libs/agno/agno/tools/visualization.py
import json import os from typing import Any, Dict, List, Optional, Union from agno.tools import Toolkit from agno.utils.log import log_info, logger class VisualizationTools(Toolkit): def __init__( self, output_dir: str = "charts", enable_create_bar_chart: bool = True, enable_crea...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models/nebius.py
libs/agno/agno/tools/models/nebius.py
import base64 from os import getenv from typing import Optional from uuid import uuid4 from agno.agent import Agent from agno.media import Image from agno.models.nebius import Nebius from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_error, log_warning class Nebi...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models/morph.py
libs/agno/agno/tools/models/morph.py
import os from os import getenv from textwrap import dedent from typing import Optional from agno.tools import Toolkit from agno.utils.log import log_debug, log_error try: from openai import OpenAI except ImportError: raise ImportError("`openai` not installed. Please install using `pip install openai`") cla...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models/groq.py
libs/agno/agno/tools/models/groq.py
from os import getenv from pathlib import Path from typing import Any, List, Optional from uuid import uuid4 from agno.agent import Agent from agno.media import Audio from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_debug, log_error try: from groq import Gro...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models/__init__.py
libs/agno/agno/tools/models/__init__.py
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models/azure_openai.py
libs/agno/agno/tools/models/azure_openai.py
from os import getenv from typing import Any, Dict, Literal, Optional from uuid import uuid4 from requests import post from agno.agent import Agent from agno.media import Image from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_debug, logger class AzureOpenAIToo...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/models/gemini.py
libs/agno/agno/tools/models/gemini.py
import base64 import time from os import getenv from typing import Any, Optional from uuid import uuid4 from agno.agent import Agent from agno.media import Image, Video from agno.tools import Toolkit from agno.tools.function import ToolResult from agno.utils.log import log_debug, log_error, log_info try: from goo...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/mcp/params.py
libs/agno/agno/tools/mcp/params.py
from dataclasses import dataclass from datetime import timedelta from typing import Any, Dict, Optional @dataclass class SSEClientParams: """Parameters for SSE client connection.""" url: str headers: Optional[Dict[str, Any]] = None timeout: Optional[float] = 5 sse_read_timeout: Optional[float] = ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/mcp/mcp.py
libs/agno/agno/tools/mcp/mcp.py
import weakref from dataclasses import asdict from datetime import timedelta from typing import Any, Literal, Optional, Union from agno.tools import Toolkit from agno.tools.function import Function from agno.tools.mcp.params import SSEClientParams, StreamableHTTPClientParams from agno.utils.log import log_debug, log_e...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/mcp/__init__.py
libs/agno/agno/tools/mcp/__init__.py
from agno.tools.mcp.mcp import MCPTools from agno.tools.mcp.multi_mcp import MultiMCPTools from agno.tools.mcp.params import SSEClientParams, StreamableHTTPClientParams __all__ = [ "MCPTools", "MultiMCPTools", "StreamableHTTPClientParams", "SSEClientParams", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/mcp/multi_mcp.py
libs/agno/agno/tools/mcp/multi_mcp.py
import weakref from contextlib import AsyncExitStack from dataclasses import asdict from datetime import timedelta from types import TracebackType from typing import List, Literal, Optional, Union from agno.tools import Toolkit from agno.tools.function import Function from agno.tools.mcp.params import SSEClientParams,...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/streamlit/components.py
libs/agno/agno/tools/streamlit/components.py
from os import environ, getenv from typing import Optional try: import streamlit as st except ImportError: raise ImportError("`streamlit` library not installed. Please install using `pip install streamlit`") def get_username_sidebar() -> Optional[str]: """Sidebar component to get username""" # Get u...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tools/streamlit/__init__.py
libs/agno/agno/tools/streamlit/__init__.py
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/integrations/__init__.py
libs/agno/agno/integrations/__init__.py
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/integrations/discord/client.py
libs/agno/agno/integrations/discord/client.py
from os import getenv from textwrap import dedent from typing import Optional, Union import requests from agno.agent.agent import Agent, RunOutput from agno.media import Audio, File, Image, Video from agno.team.team import Team, TeamRunOutput from agno.utils.log import log_info, log_warning from agno.utils.message im...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/integrations/discord/__init__.py
libs/agno/agno/integrations/discord/__init__.py
from agno.integrations.discord.client import DiscordClient __all__ = ["DiscordClient"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/remote/__init__.py
libs/agno/agno/remote/__init__.py
from agno.remote.base import BaseRemote __all__ = ["BaseRemote"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/remote/base.py
libs/agno/agno/remote/base.py
import time from abc import abstractmethod from dataclasses import dataclass, field from datetime import date from typing import TYPE_CHECKING, Any, AsyncIterator, Dict, List, Optional, Sequence, Tuple, Union from pydantic import BaseModel from agno.db.base import SessionType from agno.media import Audio, File, Image...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tracing/schemas.py
libs/agno/agno/tracing/schemas.py
""" Trace data models for Agno tracing. """ from dataclasses import asdict, dataclass from datetime import datetime, timezone from typing import Any, Dict, List, Optional from opentelemetry.sdk.trace import ReadableSpan # type: ignore from opentelemetry.trace import SpanKind, StatusCode # type: ignore @dataclass ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tracing/setup.py
libs/agno/agno/tracing/setup.py
""" Setup helper functions for configuring Agno tracing. """ from typing import Union from agno.db.base import AsyncBaseDb, BaseDb from agno.remote.base import RemoteDb from agno.tracing.exporter import DatabaseSpanExporter from agno.utils.log import logger try: from openinference.instrumentation.agno import Agn...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tracing/exporter.py
libs/agno/agno/tracing/exporter.py
""" Custom OpenTelemetry SpanExporter that writes traces to Agno database. """ import asyncio from collections import defaultdict from typing import Dict, List, Sequence, Union from opentelemetry.sdk.trace import ReadableSpan # type: ignore from opentelemetry.sdk.trace.export import SpanExporter, SpanExportResult #...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/tracing/__init__.py
libs/agno/agno/tracing/__init__.py
""" Agno Tracing Module This module provides OpenTelemetry-based tracing capabilities for Agno agents. It uses the openinference-instrumentation-agno package for automatic instrumentation and provides a custom DatabaseSpanExporter to store traces in the Agno database. """ from agno.tracing.exporter import DatabaseSpa...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/utils.py
libs/agno/agno/db/utils.py
"""Logic shared across different database implementations""" import json from datetime import date, datetime from typing import Any, Dict from uuid import UUID from agno.models.message import Message from agno.models.metrics import Metrics def get_sort_value(record: Dict[str, Any], sort_by: str) -> Any: """Get ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/__init__.py
libs/agno/agno/db/__init__.py
from agno.db.base import BaseDb, SessionType __all__ = [ "BaseDb", "SessionType", ] def __getattr__(name: str): """Lazy import for database implementations to avoid forcing all dependencies.""" if name == "DynamoDb": from agno.db.dynamo import DynamoDb return DynamoDb elif name =...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/base.py
libs/agno/agno/db/base.py
from abc import ABC, abstractmethod from datetime import date, datetime from enum import Enum from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union from uuid import uuid4 if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.schemas import UserMemory from agno.db.schemas....
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/postgres/schemas.py
libs/agno/agno/db/postgres/schemas.py
"""Table schemas and related utils used by the PostgresDb class""" from typing import Any try: from sqlalchemy.dialects.postgresql import JSONB from sqlalchemy.types import BigInteger, Boolean, Date, String, Text except ImportError: raise ImportError("`sqlalchemy` not installed. Please install it using `p...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/postgres/postgres.py
libs/agno/agno/db/postgres/postgres.py
import time from datetime import date, datetime, timedelta, timezone from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Tuple, Union from uuid import uuid4 if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.base import BaseDb, SessionType from agno.db.migrations.manage...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/postgres/utils.py
libs/agno/agno/db/postgres/utils.py
"""Utility functions for the Postgres database class.""" import time from datetime import date, datetime, timedelta, timezone from typing import Any, Dict, List, Optional from uuid import uuid4 from sqlalchemy import Engine from sqlalchemy.ext.asyncio import AsyncEngine, AsyncSession from agno.db.postgres.schemas im...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/postgres/__init__.py
libs/agno/agno/db/postgres/__init__.py
from agno.db.postgres.async_postgres import AsyncPostgresDb from agno.db.postgres.postgres import PostgresDb __all__ = ["PostgresDb", "AsyncPostgresDb"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/postgres/async_postgres.py
libs/agno/agno/db/postgres/async_postgres.py
import time import warnings from datetime import date, datetime, timedelta, timezone from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Tuple, Union from uuid import uuid4 if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.base import AsyncBaseDb, SessionType from agno...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/schemas/metrics.py
libs/agno/agno/db/schemas/metrics.py
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/schemas/memory.py
libs/agno/agno/db/schemas/memory.py
from dataclasses import dataclass from datetime import datetime from typing import Any, Dict, List, Optional from agno.utils.dttm import now_epoch_s, to_epoch_s @dataclass class UserMemory: """Model for User Memories""" memory: str memory_id: Optional[str] = None topics: Optional[List[str]] = None ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/schemas/knowledge.py
libs/agno/agno/db/schemas/knowledge.py
from datetime import datetime from typing import Any, Dict, Optional from pydantic import BaseModel, ConfigDict, model_validator class KnowledgeRow(BaseModel): """Knowledge Row that is stored in the database""" # id for this knowledge, auto-generated if not provided id: Optional[str] = None name: st...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/schemas/evals.py
libs/agno/agno/db/schemas/evals.py
from enum import Enum from typing import Any, Dict, Optional from pydantic import BaseModel class EvalType(str, Enum): ACCURACY = "accuracy" AGENT_AS_JUDGE = "agent_as_judge" PERFORMANCE = "performance" RELIABILITY = "reliability" class EvalFilterType(str, Enum): AGENT = "agent" TEAM = "tea...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/schemas/__init__.py
libs/agno/agno/db/schemas/__init__.py
from agno.db.schemas.culture import CulturalKnowledge from agno.db.schemas.memory import UserMemory __all__ = ["CulturalKnowledge", "UserMemory"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/schemas/culture.py
libs/agno/agno/db/schemas/culture.py
from dataclasses import dataclass, field from datetime import datetime, timezone from typing import Any, Dict, Optional, Union from typing_extensions import List @dataclass class CulturalKnowledge: """Model for Cultural Knowledge Notice: Culture is an experimental feature and is subject to change. """ ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/sqlite/schemas.py
libs/agno/agno/db/sqlite/schemas.py
"""Table schemas and related utils used by the SqliteDb class""" from typing import Any try: from sqlalchemy.types import JSON, BigInteger, Boolean, Date, String except ImportError: raise ImportError("`sqlalchemy` not installed. Please install it using `pip install sqlalchemy`") SESSION_TABLE_SCHEMA = { ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/sqlite/sqlite.py
libs/agno/agno/db/sqlite/sqlite.py
import time from datetime import date, datetime, timedelta, timezone from pathlib import Path from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Tuple, Union, cast from uuid import uuid4 if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.base import BaseDb, SessionType...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/sqlite/async_sqlite.py
libs/agno/agno/db/sqlite/async_sqlite.py
import time from datetime import date, datetime, timedelta, timezone from pathlib import Path from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Tuple, Union, cast from uuid import uuid4 if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.base import AsyncBaseDb, Sessio...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/sqlite/utils.py
libs/agno/agno/db/sqlite/utils.py
import json import time from datetime import date, datetime, timedelta, timezone from typing import Any, Dict, List, Optional from uuid import uuid4 from sqlalchemy.ext.asyncio import AsyncEngine, AsyncSession from agno.db.schemas.culture import CulturalKnowledge from agno.db.sqlite.schemas import get_table_schema_de...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/sqlite/__init__.py
libs/agno/agno/db/sqlite/__init__.py
from agno.db.sqlite.async_sqlite import AsyncSqliteDb from agno.db.sqlite.sqlite import SqliteDb __all__ = ["SqliteDb", "AsyncSqliteDb"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/dynamo/schemas.py
libs/agno/agno/db/dynamo/schemas.py
"""Table schemas and related utils used by the DynamoDb class""" from typing import Any, Dict SESSION_TABLE_SCHEMA = { "TableName": "agno_sessions", "KeySchema": [{"AttributeName": "session_id", "KeyType": "HASH"}], "AttributeDefinitions": [ {"AttributeName": "session_id", "AttributeType": "S"}, ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/dynamo/dynamo.py
libs/agno/agno/db/dynamo/dynamo.py
import json import time from datetime import date, datetime, timedelta, timezone from os import getenv from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.base import BaseDb, SessionType from agno.db.dynamo.schemas i...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/dynamo/utils.py
libs/agno/agno/db/dynamo/utils.py
import json import time from datetime import date, datetime, timedelta, timezone from typing import Any, Callable, Dict, List, Optional, Union from uuid import uuid4 from agno.db.base import SessionType from agno.db.schemas.culture import CulturalKnowledge from agno.db.schemas.evals import EvalRunRecord from agno.db.s...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/dynamo/__init__.py
libs/agno/agno/db/dynamo/__init__.py
from agno.db.dynamo.dynamo import DynamoDb __all__ = ["DynamoDb"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/redis/schemas.py
libs/agno/agno/db/redis/schemas.py
"""Table schemas and related utils used by the RedisDb class""" from typing import Any SESSION_SCHEMA = { "session_id": {"type": "string", "primary_key": True}, "session_type": {"type": "string"}, "agent_id": {"type": "string"}, "team_id": {"type": "string"}, "workflow_id": {"type": "string"}, ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/redis/redis.py
libs/agno/agno/db/redis/redis.py
import time from datetime import date, datetime, timedelta, timezone from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union from uuid import uuid4 if TYPE_CHECKING: from agno.tracing.schemas import Span, Trace from agno.db.base import BaseDb, SessionType from agno.db.redis.utils import ( ap...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/redis/utils.py
libs/agno/agno/db/redis/utils.py
"""Utility functions for the Redis database class.""" import json import time from datetime import date, datetime, timedelta, timezone from typing import Any, Dict, List, Optional, Union from uuid import UUID from agno.db.schemas.culture import CulturalKnowledge from agno.db.utils import get_sort_value from agno.util...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/db/redis/__init__.py
libs/agno/agno/db/redis/__init__.py
from agno.db.redis.redis import RedisDb __all__ = ["RedisDb"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false