MCP ExplorerExplorer

Langgraph Mcp Agent Twitter

@ellieli0630on 10 months ago
2 MIT
FreeCommunity
AI Systems
A LangGraph-based agent for creating, minting, registering IP assets with Story Protocol, and automatically posting about them on Twitter.

Overview

What is Langgraph Mcp Agent Twitter

langgraph-mcp-agent-twitter is an agent built on the LangGraph framework that facilitates the creation, minting, and registration of intellectual property (IP) assets using the Story Protocol, while also automating the posting of updates on Twitter.

Use cases

Use cases for langgraph-mcp-agent-twitter include artists minting their artwork as NFTs, content creators managing their digital assets, and businesses registering and promoting their IP assets on social media.

How to use

To use langgraph-mcp-agent-twitter, clone the repository, install the necessary dependencies, set up your environment variables with API keys, and run the agent. Follow the prompts to create and manage your IP assets.

Key features

Key features include multiple content creation options (uploading local files, generating images/videos), a comprehensive workflow for IP asset management, and integration with Twitter for automatic announcements of newly minted assets.

Where to use

langgraph-mcp-agent-twitter can be used in fields such as digital art, content creation, and any industry that involves the creation and management of intellectual property assets.

Content

IP Asset Creation Agent with LangGraph

This repository contains an agent that helps users create and mint IP assets on Story Protocol using LangGraph. The agent guides users through the entire process, from content creation to minting and registering the IP asset on the blockchain.

Features

  • Multiple Content Creation Options:

    • Upload local image/video files
    • Generate images using OpenAI DALL-E
    • Generate videos using Luma AI (placeholder implementation) (WIP! Got video to generate by Luma, but stuck at uploading to IPFS and ran out of time :/)
  • Comprehensive IP Asset Workflow:

    • Content creation and review
    • IPFS upload
    • Metadata generation
    • Terms negotiation
    • IP asset minting and registration
    • License token minting
    • Twitter integration for announcing newly minted assets
  • Twitter Integration:

Prerequisites

  • Python 3.9+
  • Story Protocol SDK
  • OpenAI API key
  • Twitter API credentials (if using Twitter integration)

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/langgraph-mcp-agent.git
cd langgraph-mcp-agent
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
cp .env.example .env
  1. Edit the .env file with your API keys and credentials.

Usage

Run the agent:

python agent.py

The agent will guide you through the following steps:

  1. Choose a content creation method:
    • Upload a local image/video file
    • Generate an image using OpenAI DALL-E
    • Generate a video using Luma AI
  2. Review the generated/uploaded content
  3. Create metadata for the IP asset
  4. Negotiate terms for the IP asset
  5. Mint and register the IP asset
  6. Mint license tokens
  7. Post about the minted IP asset on Twitter

Improvements from Original Repository

This repository builds upon the original Story Protocol example by adding:

  • Multiple content creation options (local upload, DALL-E, Luma)
  • Enhanced human review process for generated content
  • Twitter integration for announcing minted assets
  • Improved error handling and user feedback
  • More comprehensive documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers