Skip to main content

Overview

Automate comprehensive product research including specifications, reviews, pricing history, and competitive analysis.

Complete Product Analysis

Get all product information in one comprehensive report.
import { AGIClient } from 'agi';

const client = new AGIClient({ apiKey: 'your_api_key' });
const session = await client.createSession('agi-0');

const result = await session.runTask(`
    Complete research report for: ${productName}

    Section 1: Product Overview
    - Full product name and model number
    - Brand and manufacturer
    - Category and subcategory
    - Release date / launch year
    - Current availability status

    Section 2: Specifications
    - All technical specifications
    - Dimensions and weight
    - Color/size options available
    - Materials and build quality
    - Warranty information

    Section 3: Pricing Analysis
    - Current price range across retailers
    - MSRP / list price
    - Historical price trends (if available)
    - Current promotions or discounts
    - Best price currently available (with retailer)

    Section 4: Reviews & Ratings
    - Overall rating average (across platforms)
    - Total number of reviews
    - Rating distribution (5 star: X%, 4 star: Y%, etc.)
    - Top 5 positive themes from reviews
    - Top 5 negative themes from reviews
    - Expert review scores (if available)

    Section 5: Comparison & Alternatives
    - Top 3 direct competitors
    - Key differentiating features
    - Price comparison with competitors
    - Why users choose this vs alternatives

    Section 6: Buying Recommendations
    - Best retailer to buy from (price + shipping + reliability)
    - Best time to buy (based on pricing trends)
    - Who this product is best for
    - Who should consider alternatives

    Return as structured JSON with all sections and sources cited.
`);

await session.delete();

Review Analysis & Sentiment

Extract and analyze customer reviews.
const result = await session.runTask(`
    Analyze customer reviews for product at: ${productUrl}

    Collect at least ${minReviews} reviews if available.

    Analysis Required:
    1. Quantitative Metrics: Overall rating, total review count, rating distribution, verified purchase percentage, review recency
    2. Sentiment Analysis: Overall sentiment, sentiment by rating level, sentiment trends over time
    3. Theme Extraction: Top themes in positive/negative reviews
    4. Feature Mentions: Build quality, performance, value, customer service, ease of use, durability, design
    5. Use Cases: How customers use the product, unexpected use cases, demographics
    6. Comparison Mentions: Products compared to, upgrade/downgrade patterns, cross-shopping behavior

    Return as JSON with summary, positive_themes, negative_themes, feature_sentiment, and recommendations.
`);

Specification Comparison

Compare multiple products side-by-side.
const products = ['Product A', 'Product B', 'Product C'];
const result = await session.runTask(`
    Compare specifications for: ${products.join(', ')}

    For each product, extract: All technical specifications, dimensions, weight, materials, features, compatibility, warranty, price.

    Create side-by-side comparison table with: Feature comparison, specification differences, unique features per product, price comparison, value assessment.

    Analysis: Best overall, best for specific use cases, best value, trade-offs.

    Return as JSON with comparison matrix and recommendations.
`);

Expert Review Aggregation

Gather and summarize professional reviews.
const result = await session.runTask(`
    Find and summarize expert reviews for: ${productName}

    Sources: Major tech review sites (CNET, TechCrunch, The Verge), specialized reviewers, YouTube video reviews, Consumer Reports.

    For each review, extract: Publication/reviewer name, review date, overall score (0-10), pros, cons, key quotes, verdict, review URL.

    Analysis: Average expert rating, consensus pros/cons, unique insights, awards.

    Synthesis: What experts agree/disagree on, overall consensus, concerns.

    Return as JSON with individual reviews and synthesis.
`);

Track historical pricing to predict best buying times.
const retailers = ['Amazon', 'Best Buy', 'Target'];
const result = await session.runTask(`
    Analyze price history for: ${productName}

    Retailers: ${retailers.join(', ')}

    Find: Historical Pricing (current, lowest/highest in 6 months, average, launch price), Price Patterns (seasonal trends, sale frequency, discount %, day/week patterns), Prediction (current price assessment, expected direction, best time to buy, next sale date), Retailer Analysis (best price retailer, sale frequency, price matching, shipping).

    Return as JSON with price history data, visual data for charting, buying recommendation, and price alert suggestion.
`);

Product Availability Checker

Check stock across multiple retailers.
const result = await session.runTask(`
    Check availability for: ${productName}${location ? ` near ${location}` : ''}

    Retailers: Amazon, Best Buy, Target, Walmart, Apple Store, Manufacturer website.

    For each retailer: Availability Status (in stock online/in-store, delivery date, pickup), Variants (available/out of stock colors/sizes/models, restrictions), Pricing (current price, extra costs, total cost), Alerts (restock alerts, notifications, back-order).

    Summary: Where to buy immediately, fastest delivery, cheapest option, best overall.

    Return as JSON with availability matrix.
`);

Unboxing & First Impressions

Analyze unboxing experiences and initial reactions.
const result = await session.runTask(`
    Find and analyze unboxing content for: ${productName}

    Sources: YouTube unboxing videos (top 10-20), blog posts, social media first impressions, forum posts.

    Extract: Packaging Quality (design feedback, experience rating, accessories, setup difficulty), First Impressions (initial reactions, build quality, size/weight, vs expectations), Common Themes (surprises, concerns, excitement, disappointments), Setup Experience (time, difficulty, common issues, instructions quality).

    Summarize: Overall sentiment, key takeaways, red flags, standout positives.

    Return as JSON with themes and examples.
`);

Best Practices

Use Agi-0 for Research

Product research requires analysis - use agi-0 for better insights

Verify Data Sources

Always check that sources are credible and recent

Request Citations

Ask agent to include source URLs for all information

Combine Multiple Sources

Cross-reference data from multiple sites for accuracy