### Setup and Run Quickstart Example Source: https://docs.agno.com/examples/basics/agent-search-over-knowledge This script clones the Agno repository, sets up a Python virtual environment, and runs the `agent_search_over_knowledge.py` example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/00_quickstart # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python agent_search_over_knowledge.py ``` -------------------------------- ### Run Example with Setup Script Source: https://docs.agno.com/examples/teams/structured-input-output/pydantic-input Clone the repository, set up the virtual environment, and execute the example script. The setup script handles dependency installation. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/structured_input_output # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python pydantic_input.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/basics/agent-with-typed-input-output Clone the agno repository, set up a virtual environment, and run the typed input/output example. Execute from the quickstart cookbook directory. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/00_quickstart # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python agent_with_typed_input_output.py ``` -------------------------------- ### Run Example Setup - Bash Source: https://docs.agno.com/examples/models/openai/chat/access-memories-in-memory-completed-event Shell commands to clone the repository, set up a virtual environment, optionally start PostgreSQL with pgvector, and execute the memory events example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/openai/chat # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python access_memories_in_memory_completed_event.py ``` -------------------------------- ### Setup and Run Workflow Example Source: https://docs.agno.com/examples/agent-os/workflow/workflow-with-custom-function Clone the agno repository, set up a virtual environment using the demo setup script, and run the workflow example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/05_agent_os/workflow # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python workflow_with_custom_function.py ``` -------------------------------- ### Setup and Run the Support Agent Example (Bash) Source: https://docs.agno.com/cookbook/learning/support-agent Use these commands to clone the repository, set up the Python virtual environment, start a PostgreSQL database with PgVector using Docker, and execute the support agent example script. ```bash git clone https://github.com/agno-agi/agno.git cd agno/cookbook/08_learning # Setup (requires Docker for Postgres) ./setup_venv.sh ./cookbook/scripts/run_pgvector.sh # Run python 07_patterns/support_agent.py ``` -------------------------------- ### Setup and Execute Ollama Memory Example Source: https://docs.agno.com/examples/models/ollama/chat/memory These bash commands guide you through cloning the Agno repository, setting up a Python virtual environment, optionally starting a PgVector Docker container, and running the provided Ollama memory example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/ollama/chat # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python memory.py ``` -------------------------------- ### Environment Setup and Execution for ZDR Agent (Bash) Source: https://docs.agno.com/models/providers/native/openai/responses/usage/zdr-reasoning-agent These commands guide the user through setting the OpenAI API key, installing required Python packages, and running the ZDR reasoning agent example script. ```bash export OPENAI_API_KEY=xxx ``` ```bash uv pip install -U openai agno ``` ```bash python cookbook/11_models/openai/responses/zdr_reasoning_agent.py ``` -------------------------------- ### Setup and Run the Example Source: https://docs.agno.com/examples/models/google/gemini/structured-output Clone the repository, set up a virtual environment, and execute the structured output example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/google/gemini # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python structured_output.py ``` -------------------------------- ### Setup and Run the Mistral Memory Example Source: https://docs.agno.com/examples/models/mistral/memory These commands guide through cloning the Agno repository, setting up a virtual environment, optionally starting a PgVector container, and finally executing the Python script that demonstrates agent memory with Mistral. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/mistral # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python memory.py ``` -------------------------------- ### Run Valyu Tools Example with Setup Script Source: https://docs.agno.com/examples/tools/valyu-tools Clone the Agno repository, set up a virtual environment, and execute the Valyu tools example. The setup script handles environment configuration and dependency installation. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python valyu_tools.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/models/azure/ai-foundry/tool-use Clone the repository, set up a virtual environment, and execute the tool use example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/azure/ai_foundry # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python tool_use.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/teams/dependencies/dependencies-in-tools Clone the repository, set up a virtual environment, and execute the dependencies example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/dependencies # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python dependencies_in_tools.py ``` -------------------------------- ### Run Example with Setup Script Source: https://docs.agno.com/examples/tools/tool-decorator/tool-decorator-on-class-method Clone the repository, set up a virtual environment, and execute the tool decorator example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools/tool_decorator # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python tool_decorator_on_class_method.py ``` -------------------------------- ### Run Agent Memory Example with Setup Source: https://docs.agno.com/examples/models/meta/llama-openai/memory Bash script to clone the repository, set up the virtual environment, optionally start PgVector, and run the memory example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/meta/llama_openai # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python memory.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/models/cerebras-openai/basic Clone the repository, set up a virtual environment, and execute the basic.py example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/cerebras_openai # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python basic.py ``` -------------------------------- ### Setup and Start vLLM Server Source: https://docs.agno.com/models/providers/local/vllm/usage/basic Installs the vLLM library and starts a local OpenAI-compatible API server for a specified model. Ensure the model weights are available or will be downloaded. ```bash uv pip install vllm python -m vllm.entrypoints.openai.api_server \ --model Qwen/Qwen2.5-7B-Instruct \ --port 8000 ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/models/dashscope/basic Clone the repository, set up a virtual environment, and execute the basic.py example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/dashscope # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python basic.py ``` -------------------------------- ### Setup and Run Fal Tools Example Source: https://docs.agno.com/examples/tools/fal-tools Clone the Agno repository, set up a virtual environment, and execute the fal_tools.py example script. Requires git and Python installed. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python fal_tools.py ``` -------------------------------- ### Run Example with Setup Script Source: https://docs.agno.com/examples/models/google/gemini/url-context-with-search Bash commands to clone the repository, set up the virtual environment, and execute the URL context with search example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/google/gemini # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python url_context_with_search.py ``` -------------------------------- ### Setup and Run Image Agent Example Source: https://docs.agno.com/models/providers/native/google/usage/image-input These snippets provide the necessary steps to set your API key, install required dependencies, and execute the Python image agent example. ```bash export GOOGLE_API_KEY=xxx ``` ```bash uv pip install -U google-genai agno ``` ```bash python cookbook/11_models/google/gemini/image_input.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/agents/advanced/advanced-compression Clone the repository, set up a virtual environment, and execute the advanced compression example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/02_agents/14_advanced # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python advanced_compression.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/workflows/advanced-concepts/history/continuous-execution Clone the repository, set up the virtual environment, and execute the continuous execution example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/04_workflows/06_advanced_concepts/history # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python continuous_execution.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/teams/structured-input-output/json-schema-output Clone the repository, set up a virtual environment, and execute the JSON schema output example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/structured_input_output # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python json_schema_output.py ``` -------------------------------- ### Run LMStudio Memory Example with Setup Source: https://docs.agno.com/examples/models/lmstudio/memory Shell commands to clone the repository, set up the virtual environment, optionally start PgVector with Docker, and execute the memory example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/lmstudio # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python memory.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/workflows/basic-workflows/step-with-function/step-with-function Clone the repository, set up a virtual environment, and execute the workflow example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/04_workflows/01_basic_workflows/02_step_with_function # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python step_with_function.py ``` -------------------------------- ### Run Cohere Memory Example with Setup Source: https://docs.agno.com/examples/models/cohere/memory Bash commands to clone the repository, set up a virtual environment, optionally start PgVector with Docker, and execute the memory example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/cohere # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python memory.py ``` -------------------------------- ### Setup and Run Example Source: https://docs.agno.com/examples/models/litellm/basic Clone the agno repository, set up a virtual environment, and execute the basic.py example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/litellm # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python basic.py ``` -------------------------------- ### Setup and Run Langtrace Agno Example Source: https://docs.agno.com/examples/integrations/observability/langtrace-op These bash commands guide you through cloning the Agno repository, navigating to the example directory, setting up a virtual environment, and executing the Python script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/92_integrations/observability # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python langtrace_op.py ``` -------------------------------- ### Setup and Run Reddit Tools Example Source: https://docs.agno.com/examples/tools/reddit-tools Clone the Agno repository, set up a virtual environment, and run the Reddit tools example script. Requires git and Python 3.x installed. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python reddit_tools.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/teams/search-coordination/distributed-infinity-search Bash commands to clone the repository, set up the virtual environment, and execute the distributed search example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/search_coordination # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python 03_distributed_infinity_search.py ``` -------------------------------- ### Run Example: Setup and Execution Source: https://docs.agno.com/examples/teams/human-in-the-loop/confirmation-required-stream Instructions to clone the repository, set up the environment, and execute the Python example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/human_in_the_loop # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python confirmation_required_stream.py ``` -------------------------------- ### Run the Example - Bash Source: https://docs.agno.com/examples/agent-os/factories/input-schema-factory Setup and execution commands to run the input schema factory example. Includes cloning the repository, creating a virtual environment, starting Postgres, and running the factory. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Start Postgres for session storage ./cookbook/scripts/run_pgvector.sh python cookbook/05_agent_os/factories/agent/02_input_schema_factory.py ``` -------------------------------- ### Setup Environment and Run Agno SQLite Team Example Source: https://docs.agno.com/examples/storage/sqlite/sqlite-for-team These commands guide you through cloning the Agno repository, setting up a Python virtual environment, and executing the SQLite team example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/06_storage/sqlite # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python sqlite_for_team.py ``` -------------------------------- ### Setup and Run the Example Script Source: https://docs.agno.com/examples/teams/human-in-the-loop/confirmation-required Instructions to clone the Agno repository, navigate to the example directory, set up a virtual environment, and execute the Python script demonstrating the confirmation-required flow. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/human_in_the_loop # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python confirmation_required.py ``` -------------------------------- ### Run the WhatsApp AgentOS Example Source: https://docs.agno.com/examples/agent-os/interfaces/whatsapp/basic These commands guide you through cloning the Agno repository, navigating to the example directory, setting up a virtual environment, and executing the Python script to start the AgentOS application. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/05_agent_os/interfaces/whatsapp # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python basic.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/agent-os/workflow/workflow-with-custom-function-updating-session-state Clone the repository, set up a virtual environment, and run the workflow example with Python. The demo_setup.sh script handles environment initialization. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/05_agent_os/workflow # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python workflow_with_custom_function_updating_session_state.py ``` -------------------------------- ### Setup and Run Agent with Knowledge Source: https://docs.agno.com/models/providers/native/meta/usage/knowledge These commands guide through setting up the environment, installing dependencies, and executing the Python agent script. ```bash export LLAMA_API_KEY=YOUR_API_KEY ``` ```bash uv pip install sqlalchemy pgvector pypdf llama-api-client ``` ```bash python python cookbook/11_models/meta/llama/knowledge.py ``` -------------------------------- ### Setup and Run the Example (Bash) Source: https://docs.agno.com/examples/workflows/basic-workflows/step-with-function/step-with-additional-data Provides the necessary shell commands to clone the repository, navigate to the example directory, set up a Python virtual environment, and execute the demonstration script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/04_workflows/01_basic_workflows/02_step_with_function # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python step_with_additional_data.py ``` -------------------------------- ### Setup and Run Image OCR Example Source: https://docs.agno.com/models/providers/native/mistral/usage/image-ocr-with-structured-output These commands set the Mistral API key, install required Python packages, and execute the provided Python script to run the image OCR example. ```bash export MISTRAL_API_KEY=xxx ``` ```bash uv pip install -U mistralai agno ``` ```bash python cookbook/11_models/mistral/image_ocr_with_structured_output.py ``` -------------------------------- ### Setup and Run Example with Bash Source: https://docs.agno.com/examples/models/google/gemini/search Clones the agno repository, sets up a virtual environment, and runs the search example. Uses the demo_setup.sh script to configure dependencies. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/google/gemini # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python search.py ``` -------------------------------- ### Setup and Run Tool Choice Example Source: https://docs.agno.com/examples/agents/tools/tool-choice Clone the Agno repository, set up a virtual environment, and execute the tool choice example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/02_agents/04_tools # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python tool_choice.py ``` -------------------------------- ### Setup and Run Code Generation Example Source: https://docs.agno.com/examples/models/vllm/code-generation Shell commands to clone the Agno repository, set up a Python virtual environment, and execute the code generation example. Requires git and Python installed. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/vllm # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python code_generation.py ``` -------------------------------- ### Setup and Run Auto-Wrap Nested Workflow Example Source: https://docs.agno.com/examples/workflows/advanced-concepts/nested-workflows/nested-workflow-auto-wrap Bash commands to clone the Agno repository, navigate to the nested workflow example directory, install dependencies, and execute the auto-wrap nested workflow script. ```bash git clone https://github.com/agno-agi/agno.git cd agno/cookbook/04_workflows/06_advanced_concepts/workflow_as_a_step pip install agno openai python nested_workflow_pass_direct_workflow.py ``` -------------------------------- ### Setup and Run MCP Server Example Source: https://docs.agno.com/examples/tools/mcp/streamable-http-transport/server Clone the agno repository, set up a virtual environment, and start the MCP server. Execute these commands in sequence to initialize and run the Streamable HTTP transport example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools/mcp/streamable_http_transport # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python server.py ``` -------------------------------- ### Setup and Run Example via Command Line Source: https://docs.agno.com/examples/models/litellm-openai/basic Clone the Agno repository, set up a virtual environment, and execute the basic.py example. Run from the litellm_openai cookbook directory. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/litellm_openai # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python basic.py ``` -------------------------------- ### Setup and Run Example with Bash Source: https://docs.agno.com/examples/teams/task-mode/task-mode-with-tools Shell commands to clone the repository, set up a virtual environment, and execute the task mode example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/task_mode # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python 03_task_mode_with_tools.py ``` -------------------------------- ### Setup and Run AgentOS Middleware Example Source: https://docs.agno.com/examples/agent-os/middleware/agent-os-with-custom-middleware This snippet provides shell commands to clone the repository, navigate to the example directory, set up a virtual environment, and execute the Python script to start the AgentOS application. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/05_agent_os/middleware # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python agent_os_with_custom_middleware.py ``` -------------------------------- ### Run Example Setup and Execution Source: https://docs.agno.com/examples/models/openai/responses/tool-use-gpt-5 Clone the Agno repository, set up a virtual environment, and execute the tool use example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/openai/responses # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python tool_use_gpt_5.py ``` -------------------------------- ### Setup and Execute the Redis Team Example Source: https://docs.agno.com/examples/storage/redis/redis-for-team These bash commands provide a step-by-step guide to clone the Agno repository, set up a Python virtual environment, and run the Redis-integrated AI team example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/06_storage/redis # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python redis_for_team.py ``` -------------------------------- ### Run OpenAI Responses Example with Bash Source: https://docs.agno.com/examples/models/openai/responses/db Clone the Agno repository, set up a virtual environment using the demo setup script, and execute the agent example. The script automates environment creation and dependency installation. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/openai/responses # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python db.py ``` -------------------------------- ### Setup and Run Perplexity Basic Example Source: https://docs.agno.com/examples/models/perplexity/basic Use these commands to clone the repository, set up the environment, and execute the `basic.py` example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/90_models/perplexity # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python basic.py ``` -------------------------------- ### Setup and Run Agno CSV Reader Example Source: https://docs.agno.com/examples/knowledge/readers/csv-reader-custom-encodings These commands clone the Agno repository, set up a virtual environment, optionally start PgVector using Docker, and execute the Python script for the CSV reader example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/07_knowledge/readers # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate # Optiona: Run PgVector (needs docker) ./cookbook/scripts/run_pgvector.sh python csv_reader_custom_encodings.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/workflows/conditional-branching/step-choices-parameter Bash commands to clone the Agno repository, set up a virtual environment, and execute the step choices parameter example. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/04_workflows/05_conditional_branching # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python step_choices_parameter.py ``` -------------------------------- ### Setup and Run File Tools Example Source: https://docs.agno.com/examples/tools/file-tools Clone the Agno repository, set up a virtual environment, and execute the file tools example script. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python file_tools.py ``` -------------------------------- ### Setup and Run the AgentOS Example Application Source: https://docs.agno.com/examples/agent-os/customize/pass-dependencies-to-agent These bash commands provide the steps to clone the Agno repository, navigate to the example, set up a Python virtual environment, and execute the 'pass_dependencies_to_agent.py' script to start the AgentOS application. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/05_agent_os/customize # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python pass_dependencies_to_agent.py ``` -------------------------------- ### Setup and Run the GitHub Agent Example Source: https://docs.agno.com/examples/tools/mcp/github These bash commands clone the `agno` repository, navigate to the example directory, set up a virtual environment, and execute the Python agent script. Ensure `git` is installed and the `GITHUB_TOKEN` is set. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/91_tools/mcp # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python github.py ``` -------------------------------- ### Setup and Run Example Script Source: https://docs.agno.com/examples/teams/basics/respond-directly-with-history Clone the repository, set up a virtual environment, and execute the example script to demonstrate the team's direct response capabilities with history persistence. ```bash # Clone and setup repo git clone https://github.com/agno-agi/agno.git cd agno/cookbook/03_teams/01_quickstart # Create and activate virtual environment ./scripts/demo_setup.sh source .venvs/demo/bin/activate python 04_respond_directly_with_history.py ```