twitter-ai-agent — Gemini Agents | Neura Market
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityGemsExtensionsTrendingGenerate
    GeminiAgentstwitter-ai-agent
    Back to Agents
    twitter-ai-agent

    twitter-ai-agent

    khoanna February 14, 2025
    8 copies 0 downloads

    AI-Agent is a powerful automation tool designed to interact with Twitter, providing functionalities to crawl tweets, automatically post content, and reply to comments. This agent is powered by the Gemini Model to generate human-like content.

    Agent Definition
    # AI-Agent: Twitter Automation with Gemini Model
    
    AI-Agent is a powerful automation tool designed to interact with Twitter, providing functionalities to crawl tweets, automatically post content, and reply to comments. This agent is powered by the Gemini Model to generate human-like content.
    
    ## 🚀 Features
    - **Crawl Tweets**: Collect recent tweets from specific users.  
    - **Auto-Tweet**: Generate and post tweets using the Gemini Model.  
    - **Auto-Reply**: Automatically reply to comments with context-aware responses.  
    
    ## 🛠️ Installation
    1. **Install Dependencies**  
       ```bash
       npm install
       ```
    2. **Set Up Environment Variables**  
       - Copy the example environment file:
         ```bash
         cp .env.example .env
         ```
       - Fill in your environment variables in `.env`.
    
    3. **Configure Agent Profile**  
       - Provide character details in `character/main.json`:
         ```json
         {
           "agent": "YourAgentName",
           "bio": ["Short description of your agent"],
           "knowledge": ["Key facts or context your agent should know"]
         }
         ```
    
    ## 📘 Usage
    ### 1️⃣ Crawl Tweets
    To crawl tweets from a specific user:
    ```bash
    npm start crawl [username]
    ```
    Example:
    ```bash
    npm start crawl elonmusk
    ```
    
    ### 2️⃣ Post a Tweet
    Generate and post a tweet using the Gemini Model:
    ```bash
    npm start tweet
    ```
    
    ### 3️⃣ Reply to Comments
    Automatically reply to the latest comments:
    ```bash
    npm start reply
    ```
    
    ## 💡 Notes
    - Ensure your `.env` file contains valid credentials (e.g., Twitter API keys and Claude API key).  
    - The `character/main.json` file helps the agent generate personalized responses.  
    - The agent uses `Gemini Model` for tweet generation and replies.
    
    ## 📝 Example `.env` Structure
    ```env
    TWITTER_USERNAME=your_username
    TWITTER_PASSWORD=your_password
    TWITTER_EMAIL=your_email
    TWITTER_2FA_SECRET=your_2fa_secret
    TWEET_CRAWL=10                        # Number of tweets to crawl (default: 10, max: 800)
    TWEET_CHAR_LIMIT=280                  # Tweet character limit (req

    Tags

    ai-agent-toolsai-agentstwitter-bot

    Comments

    More Agents

    View all
    research

    NotebookLM

    Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.

    G
    Google
    browser

    Project Mariner (Browser Agent)

    Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.

    G
    Google DeepMind
    multimodal

    Project Astra (Multimodal Agent)

    Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.

    G
    Google DeepMind
    enterprise

    Gemini Enterprise Agent Platform

    Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.

    G
    Google Cloud
    research

    Gemini Deep Research Agent

    Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.

    G
    Google
    canvas

    Gemini Canvas Agent

    Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.

    G
    Google

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.