Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

Advanced Agents ·Intermediate

AI Consultant Agent with Google ADK

About this app

A powerful business consultant powered by Google's Agent Development Kit that provides comprehensive market analysis, strategic planning, and actionable business recommendations with real-time web research.

  • Complete open-source code
  • Step-by-step tutorial

Technical sheet

Category
Advanced Agents
Difficulty
Intermediate
Models
Gemini
Frameworks
Google ADK
Runs locally?
Needs cloud APIs
Required keys
GOOGLE_API_KEYPERPLEXITY_API_KEY

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

🎓 FREE Step-by-Step Tutorial

👉 Click here to follow our complete step-by-step tutorial and learn how to build this from scratch with detailed code walkthroughs, explanations, and best practices.

A powerful business consultant powered by Google's Agent Development Kit that provides comprehensive market analysis, strategic planning, and actionable business recommendations with real-time web research.

Features

  • Real-time Web Research: Uses Perplexity AI search for current market data, trends, and competitor intelligence
  • Market Analysis: Leverages web search and AI insights to analyze market conditions and opportunities
  • Strategic Recommendations: Generates actionable business strategies with timelines and implementation plans
  • Risk Assessment: Identifies potential risks and provides mitigation strategies
  • Interactive UI: Clean Google ADK web interface for easy consultation
  • Evaluation System: Built-in evaluation and debugging capabilities with session tracking

How It Works

  1. Input Phase: User provides business questions or consultation requests through the ADK web interface
  2. Research Phase: The agent conducts real-time web research using Perplexity AI to gather current market data
  3. Analysis Phase: The agent uses market analysis tools to process the query and generate insights
  4. Strategy Phase: Strategic recommendations are generated based on the analysis and web research
  5. Synthesis Phase: The agent combines findings into a comprehensive consultation report with citations
  6. Output Phase: Actionable recommendations with timelines and implementation steps are presented

Requirements

  • Python 3.8+
  • Google API key (for Gemini model)
  • Perplexity API key (for real-time web search)
  • Required Python packages (see requirements.txt)

Installation

  1. Clone this repository:
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd advanced_ai_agents/single_agent_apps
  1. Install the required packages:
pip install -r requirements.txt

Usage

  1. Set your API keys:
export GOOGLE_API_KEY=your-google-api-key
export PERPLEXITY_API_KEY=your-perplexity-api-key
  1. Start the Google ADK web interface:
adk web 
  1. Open your browser and navigate to http://localhost:8000
  1. Select "AI Business Consultant" from the available agents
  1. Enter your business questions or consultation requests
  1. Review the comprehensive analysis and strategic recommendations with real-time web data and citations
  1. Use the Eval tab to save and evaluate consultation sessions

Example Consultation Topics

  • "I want to launch a SaaS startup for small businesses"
  • "Should I expand my retail business to e-commerce?"
  • "What are the market opportunities in healthcare technology?"
  • "How should I position my new fintech product?"
  • "What are the risks of entering the renewable energy market?"

Technical Details

The application uses specialized analysis tools:

  1. Perplexity Search Tool: Conducts real-time web research using Perplexity AI's "sonar" model to gather current market data, competitor information, and industry trends with citations.
  1. Market Analysis Tool: Processes business queries and generates market insights, competitive analysis, and opportunity identification.
  1. Strategic Recommendations Tool: Creates actionable business strategies with priority levels, timelines, and implementation roadmaps.

The agent is built on Google ADK's LlmAgent framework using the Gemini 2.5 Flash model, providing fast and accurate business consultation capabilities backed by real-time web research.

Evaluation and Testing

The agent includes built-in evaluation features:

  • Session Management: Track consultation history and progress
  • Test Case Creation: Save successful consultations as evaluation cases
  • Performance Metrics: Monitor tool usage and response quality
  • Custom Evaluation: Configure metrics for specific business requirements

From the same category

Advanced AgentsIntermediate

AI Agent Governance - Policy-Based Sandboxing

Policy-Based Sandboxing: Define what your AI agent can and cannot do using declarative policies - Action Interception: Catch and validate agent action…

  • OpenAI
Advanced AgentsIntermediate

AI Customer Support Agent

This Streamlit app implements an AI-powered customer support agent for synthetic data generated using GPT-4o. The agent uses OpenAI's GPT-4o model and…

  • OpenAI

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans