<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Usman Al-Ameen (Usman Al-Ameen)</title>
    <description>The latest articles on Forem by Usman Al-Ameen (Usman Al-Ameen) (@usman_alameenusmanal).</description>
    <link>https://forem.com/usman_alameenusmanal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3578474%2Fd294c1d7-0b04-439c-8dd2-b72e1ec3c420.png</url>
      <title>Forem: Usman Al-Ameen (Usman Al-Ameen)</title>
      <link>https://forem.com/usman_alameenusmanal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/usman_alameenusmanal"/>
    <language>en</language>
    <item>
      <title>Using Mastra to create an AI agent goal planner for Telex.im</title>
      <dc:creator>Usman Al-Ameen (Usman Al-Ameen)</dc:creator>
      <pubDate>Tue, 04 Nov 2025 19:52:10 +0000</pubDate>
      <link>https://forem.com/usman_alameenusmanal/using-mastra-to-create-an-ai-agent-goal-planner-for-telexim-fa0</link>
      <guid>https://forem.com/usman_alameenusmanal/using-mastra-to-create-an-ai-agent-goal-planner-for-telexim-fa0</guid>
      <description>&lt;p&gt;I recently built an AI Goal Planner Agent that integrates seamlessly with Telex (telex.im) — a platform similar to Slack where you can chat with intelligent agents that perform specific tasks for you.&lt;/p&gt;

&lt;p&gt;For this project (Stage 3 of the HNG Internship Backend Track), I used Mastra, a framework that simplifies building and exposing AI workflows via APIs.&lt;/p&gt;

&lt;p&gt;The idea was simple but useful — create an agent that plans your week automatically.&lt;br&gt;
When you type something like:&lt;/p&gt;

&lt;p&gt;plan my week: build project, submit report, study for 2 hours daily&lt;/p&gt;

&lt;p&gt;The agent breaks it down into a daily actionable plan and returns it right inside Telex &lt;/p&gt;

&lt;p&gt;Tech Stack&lt;/p&gt;

&lt;p&gt;Mastra — for building the AI workflow&lt;/p&gt;

&lt;p&gt;Express.js — for exposing the /a2a endpoint&lt;/p&gt;

&lt;p&gt;Vercel — for hosting the API&lt;/p&gt;

&lt;p&gt;Telex — for chatting with the agent&lt;/p&gt;

&lt;p&gt;⚙️ How It Works&lt;/p&gt;

&lt;p&gt;The Telex platform sends user messages to your public API endpoint (via /a2a/agent/plannerAgent).&lt;/p&gt;

&lt;p&gt;Your Mastra agent receives the prompt, uses AI logic to generate a structured plan, and returns a text response.&lt;/p&gt;

&lt;p&gt;Telex displays the response right in your chat.&lt;/p&gt;

&lt;p&gt;💡 Example Output&lt;/p&gt;

&lt;p&gt;Your weekly plan:&lt;br&gt;
Monday – Plan your approach for “build project”&lt;br&gt;
Tuesday – Start implementation&lt;br&gt;
Wednesday – Continue progress&lt;br&gt;
Thursday – Submit report&lt;br&gt;
Friday – Review and refine&lt;br&gt;
Saturday – Study for 2 hours&lt;br&gt;
Sunday – Reflect &amp;amp; rest&lt;/p&gt;

&lt;p&gt;This shows how AI agents + messaging platforms can simplify productivity, even with small, well-scoped APIs.&lt;/p&gt;

&lt;p&gt;You can host yours easily on Vercel and integrate with Telex via their A2A (Agent-to-Agent) protocol.&lt;/p&gt;

&lt;p&gt;Follow me for updates as I explore more Telex + Mastra AI agent ideas 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #Mastra #Telex #BackendDevelopment #HNG #NodeJS
&lt;/h1&gt;

</description>
      <category>agents</category>
      <category>javascript</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
