> For the complete documentation index, see [llms.txt](https://fortress-of-tee.gitbook.io/fortress-of-tee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fortress-of-tee.gitbook.io/fortress-of-tee/the-building-blocks/interactive-blocks.md).

# Autonomous Twitter Agent: @fortressoftee

To maintain transparency and engage the developer community, Fortress of TEE uses a Twitter bot powered by the [NousFlash framework](https://github.com/DamascusGit/nousflash). This bot tweets critical updates about TEE interactions, metrics, and blockchain states.

#### Example: Setting Up the Bot

Below is a Python implementation of the bot using the NousFlash agent:

```python
from nousflash import NousAgent

# Initialize the agent
agent = NousAgent(api_key="TWITTER_API_KEY")

# Function to post a blockchain state update
def post_update(message):
    try:
        agent.tweet(message)
        print("Tweet posted successfully!")
    except Exception as e:
        print(f"Error posting tweet: {e}")

# Example usage
post_update("Fortress of TEE processed a new transaction on Solana!")

```

The bot operates autonomously, pulling relevant data from TEE and Solana logs to craft its tweets.
