DEV Community

Victor Osaikhuiwuomwan
Victor Osaikhuiwuomwan

Posted on

From Zero to AI Agent: How I Built Codexa in 24 Hours with Mastra and Telex.im

I have written just a few lines of code and still learning and building projects. In 24 hours, I had a live AI agent that explains Python, JavaScript, and Java code — running on Telex.im. Here’s exactly how I did it."

From Zero to AI Agent: How I Built Codexa in 24 Hours with Mastra and Telex.im

TL;DR: I am a beginner coder.

Within 24 hours, I had a live AI agent that explains code in Python, JavaScript, and Java — deployed on Railway, tested with Postman, and chatting on Telex.im.

Here’s the step-by-step guide so you can build one too.


The Challenge

I joined the HNG Internship and saw this task:

"Build an AI agent using Mastra, connect it to Telex.im with A2A, host on Railway, test with Postman, push to GitHub."

I thought: “I don’t even know how MASTRA and Telex.im works.”

But I said yes.


The Goal: Codexa — Your Personal Code Explainer

Github Repo: https://github.com/victorion0/codexa-agent

Codexa does one thing brilliantly:

You paste code → Codexa explains it line-by-line like a patient teacher.


python
# You send:
for i in range(3):
    print(i * 2)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)