Skip to main content

Twitter Agent Service

The Twitter Agent Service is an AI-powered solution designed to securely manage and expose Twitter (x.com) API keys and access tokens within an Oyster Enclave. This service enables other applications running inside the enclave to make verifiable tweets while ensuring sensitive credentials remain protected.

Overview

This guide provides step-by-step instructions for deploying the Twitter Agent Service inside an Oyster Enclave, securely managing an encumbered Twitter account, and making verifiable tweets from within the Oyster Trusted Execution Environment (TEE).

Key Features

  • Secure Credential Management: Safeguards Twitter API keys and access tokens within the enclave.
  • Verifiable Tweets: Ensures tweets are made in a verifiable and secure manner.
  • Encumbrance Guarantees: Validates the encumbrance of the Twitter account for added security.

What You'll Learn

This guide covers the following topics:

  1. Build and Run Locally: How to build and run the Twitter Agent Service locally using Docker.
  2. Secure Deployment: Steps to deploy the enclave image on Oyster-CVM securely.
  3. API Key Management: Generating and retrieving Twitter API keys and access tokens inside the enclave.
  4. Encumbrance Verification: Verifying the encumbrance guarantees of the Twitter account.
  5. Verifiable Tweeting: Making a tweet from the encumbered account in a secure and verifiable manner.