mcpField
I
IP Asset Creation Agent with LangGraph

IP Asset Creation Agent with LangGraph

github.com/ellieli0630Frameworks & SDKs2Updated 87w ago

About IP Asset Creation Agent with LangGraph

A LangGraph agent for creating, minting, and registering IP assets on Story Protocol. Supports multiple content creation methods and automatically announces new assets on Twitter.

Key features

  1. 01Local file upload or DALL-E image generation
  2. 02Complete IP asset creation workflow
  3. 03Automated IPFS upload and metadata generation
  4. 04License token minting
  5. 05Twitter integration for announcements

Use cases

  1. 01Create and mint digital content IP assets
  2. 02Register and manage intellectual property on blockchain
  3. 03Automate IP asset publishing workflows

Details

From the project README

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.