Menu

Turning My Twitch Follow Graph Into Agent Memory (Twitch x Cognee)
πŸ“°

Turning My Twitch Follow Graph Into Agent Memory (Twitch x Cognee)

DEV CommunityΒ·Shikhar GoelΒ·about 4 hours ago
#nkHX3PRx
#devcommunity#dev#twitch#cognee#follow
Reading 0:00
15s threshold

This is my Mergetober hackathon entry for the Twitch connector (proposed in cognee#6489 ).

I follow a few dozen Twitch channels, and a surprising amount of what I "know" lives in their VODs β€” conference talks, deep-dive coding sessions, speedrun history. Twitch's own search is famously bad at "which of my channels streamed about Rust last month, and what was that VOD where they rebuilt their parser?"

So I connected the follow graph to cognee : the channels I follow, each channel's description and current category, and their VODs and clips become searchable memory.

Connecting

Register a free app at dev.twitch.tv/console, mint a user token with user:read:follows (the README walks the one-click flow), and:

import cognee from cognee_community_connector_twitch import twitch_source

await cognee . remember ( twitch_source ( client_id , access_token ), dataset_name = " twitch " , primary_key = " id " , write_disposition = " merge " , max_rows_per_table = 0 , )

answers = await cognee .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.