An AI agent that helps developers with code snippets, explanations, and debugging inside Telex.im.
- Responds to coding questions in Python, JavaScript, and more
- Provides multiple solutions for common programming problems
- Debugging tips and best practices
- Easily extendable to other programming languages
- Clone the repo:
git clone https://github.com/yourusername/telex-code-helper.git
cd telex-code-helper
Install dependencies:
bash
Copy code
npm install
Start the agent:
bash
Copy code
npm run dev
Expose via ngrok (for local testing):
bash
Copy code
ngrok http 3000
Register your agent workflow in Telex/Mastra using workflow.json (optional)
Usage
Test by sending messages to your agent on Telex
Example question: How do I reverse a string in Python?
License
MIT License
yaml
Copy code
---
## **3️⃣ What NOT to commit**
- Node modules (`node_modules/`) → add to `.gitignore`
- Ngrok URLs or secrets → these are temporary, use environment variables if needed
---
## **4️⃣ Bonus Tips**
- Include your **workflow.json** in the repo as reference — other devs can see how the agent is structured.
- Use **TypeScript types and comments** for maintainability.
- Tag the repo clearly: `telex`, `AI-agent`, `typescript`, `mastra`.
---
If you want, I can **write a ready-to-push GitHub version** of your **Code Helper Agent project**, including:
- `src/index.ts` with your current bot logic
- `package.json`
- `tsconfig.json`
- `workflow.json`
- README.md