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

# X integration

Our project also runs an automated presence on X through a dedicated bot account. This bot serves as the primary communication channel for announcing live streams of our AI agent learning to play DOOM through reinforcement learning (RL).

### Bot Functionality

#### Stream Announcements

The bot automatically posts updates when our AI agent begins streaming. Each announcement includes:

* Stream start time and expected duration
* Current training progress (e.g., "Training Step 2,500,000 / 10,000,000")
* Link to the live stream platform
* Brief description of recent achievements or milestones

#### Schedule Updates

Regular posts are made to inform followers about:

* Upcoming streaming sessions
* Weekly training schedules
* Any changes to regular streaming times
* Special events or milestone streams

#### Training Progress Updates

The bot provides periodic updates on the AI agent's training progress:

* Current training step count
* Percentage completion towards the 10M step goal
* Notable improvements in gameplay performance
* Interesting behaviors or strategies learned by the agent

### Post Format Templates

#### Stream Start Announcement

```
🎮 Play AI Now Live! 

Current Progress: [X]/10,000,000 training steps
🕒 Starting Now
⏱️ Expected Duration: [Duration]

Watch our AI learn to play DOOM in real-time:
[Stream Link]

#AIGaming #MachineLearning #DOOM #RL #PlayAI
```

#### Schedule Update

```
📅 This Week's Training Schedule:

Monday: [Time Range] UTC
Wednesday: [Time Range] UTC
Friday: [Time Range] UTC

Current Training Progress: [X]%
#AITraining #ReinforcementLearning #RL #PlayAI
```

#### Milestone Achievement

```
🎯 Milestone Reached!

Our DOOM AI Agent has completed [X] training steps!
Notable achievements:
- [Achievement 1]
- [Achievement 2]

Next stream: [Date/Time]
#AIMilestone #GameAI #RL #PlayAI 
```

### Best Practices

#### Posting Frequency

* Stream announcements: 15 minutes before start time
* Progress updates: Every 500,000 training steps
* Schedule updates: Weekly, posted Sunday evenings
* Milestone announcements: At every 1,000,000 step interval
