Afro Dev πŸ‡ͺπŸ‡ΉπŸ§‘β€πŸ’»
128 subscribers
193 photos
27 videos
12 files
168 links
PHP/Laravel Developer + Experiment with Golang
Learning AI/ML πŸ€–

Founder of @addisentrancehub

Share coding skills, AI breakthroughs, and practical solutions to real-world problems.

@markit_md
@bilalshemsu
Download Telegram
❗️We want to inform you that the Llama 3.1 8B Instant model is being decommissioned on August 16, 2026. After the decommission date, requests to the model will no longer be served.
Afro Dev πŸ‡ͺπŸ‡ΉπŸ§‘β€πŸ’»
AI Gateway Update - Now OpenAI-compatible use /v1/chat/completions with standard messages format - Fixed load balancing (providers no longer get over-counted on failures) - Added 30s timeout for provider calls - Security fixes: removed secret logging, proper…
AI Gateway Bug Fix + Docs Update

Fixed a critical bug where the /v1/chat/completions endpoint would hang indefinitely. Root cause: the auth middleware wasn't async, causing Fastify 5 to stall on every authenticated request.

Changes:
- Auth hook now properly awaits in Fastify 5
- Updated Groq default model to openai/gpt-oss-20b
- Added full API reference at docs/API.md with request/response examples, error codes, and cURL/JS snippets
Supported Provid

Supported Providers (9): Gemini, Groq, Mistral, OpenRouter, Nvidia, Agnes, Zai, Zydit, OpenCodeZen

https://github.com/bilalshemsu1/ai-gateway
❀1
Afro Dev πŸ‡ͺπŸ‡ΉπŸ§‘β€πŸ’»
AI Gateway Bug Fix + Docs Update Fixed a critical bug where the /v1/chat/completions endpoint would hang indefinitely. Root cause: the auth middleware wasn't async, causing Fastify 5 to stall on every authenticated request. Changes: - Auth hook now properly…
AI Gateway - New /v1/models Endpoint
Added a new GET /v1/models endpoint that returns all available models in OpenAI-compatible format. 28 models across 9 providers, each showing which provider owns it.

Changes:
- Added getModels() to BaseProvider for structured model discovery
- Added model arrays to all 9 providers (Gemini, Groq, Mistral, OpenRouter, Nvidia, Agnes, Zai, Zydit, OpenCodeZen)
- New GET /v1/models endpoint listing every model with its provider


Quick test:
curl http://localhost:3000/v1/models πŸ‘€

πŸ‘‰ https://github.com/bilalshemsu1/ai-gateway

#Project #AIGateway
❀1πŸ”₯1
Anamel || Teach With Anam
αŠ αŠ•α‰° αˆ½αŒ‰αŒ₯ αŠ¨α‹«α‹αŠ­ αŠ₯αŠ”αˆ αˆ½αŒ‰αŒ₯ αŠ¨α‹«α‹αŠ©α£ ሡለ αˆ•αŒ αˆ˜αŠαŒ‹αŒˆαˆ­ αŠ₯αŠ•α‰½αˆ‹αˆˆαŠ•α’

αŠ αŠ•α‰° α‰’αˆ‹α‹‹ αŠ¨α‹«α‹αŠ­ αŠ₯αŠ”αˆ α‰’αˆ‹α‹‹ αŠ¨α‹«α‹αŠ©α£ ሡለ α‹°αŠ•α‰₯ αˆ˜αŠαŒ‹αŒˆαˆ­ αŠ₯αŠ•α‰½αˆ‹αˆˆαŠ•α’

αŠ αŠ•α‰° ባዢ αŠ₯αŒ… αŠ¨αˆ˜αŒ£αˆ… αŠ₯αŠ”αˆ ባዢ αŠ₯αŒ… ከመጣሁ፣ ሡለ αˆαŠ­αŠ•α‹«α‰΅αŠ“ ሡለ αˆ›αˆ˜α‹›α‹˜αŠ• αˆ˜αŠαŒ‹αŒˆαˆ­ αŠ₯αŠ•α‰½αˆ‹αˆˆαŠ•α’

ነገር αŒαŠ• αŠ αŠ•α‰° αˆ½αŒ‰αŒ₯ α‹­α‹˜αˆ… መαŒ₯α‰°αˆ… αŠ₯αŠ” α‰’αˆ‹α‹‹ α‰₯ቻ αŠ¨α‹«α‹αŠ©α£ αŠ₯α‹αŠα‰± α‰ αŠ αŠ•α‰° αŠ₯αŒ… αŠα‹α’

αŠ αŠ•α‰° αˆ½αŒ‰αŒ₯ αŠ«αˆˆαˆ… αŠ₯αŠ” αŒαŠ• αˆαŠ•αˆ ነገር ከሌለኝ፣ α‰ αŠ₯αŒ…αˆ… α‹«αˆˆα‹ ነገር α‰₯ቻ መሣαˆͺα‹« αŠ α‹­α‹°αˆˆαˆα€ αˆ•α‹­α‹ˆα‰΄ α‰ αŠ₯αŒ…αˆ… αŠα‹α’
Correct βœ…
Forwarded from Birhan Nega
This is true βœ…
πŸš€ Building a Telegram AI that actually feels more like me

This project is still a work in progress, but the goal has changed from simply building an AI auto-responder to something more interesting: Making the AI understand how I communicate and gradually make its responses feel more like my own.

I don't want it to just answer correctly. I want it to understand the context, relationship, tone, wording, and style behind a conversation.

🧠 What I'm currently working on:
Personal response style
- Using examples from my real Telegram conversations to help the model understand how I naturally write, including my Amharic-Latin mix, slang, short replies, and casual expressions.

Context + memory
- Combining recent conversation history with contact-specific memories so the response isn't generated from the current message alone.

RAG for conversational style
- Retrieving relevant examples from my previous conversations and using them as context rather than simply telling the model "talk like me."

Deterministic routing
- Not every message needs an LLM. Some situations can be handled directly, making responses faster and avoiding unnecessary AI-generated replies.

Response validation
- I'm also working on catching responses that feel too AI-like, repetitive, unnatural, or inconsistent with how I would actually respond.

Model routing
- Different models behave differently when it comes to reasoning, system-prompt adherence, and natural conversation, so I'm testing model selection as part of the architecture.

βš™οΈ Current stack
- Node.js
- GramJS / MTProto
- @xenova/transformers
- MiniLM
- RAG
- Contact Memory
- Custom LLM Gateway

The interesting challenge isn't:
"How do I make an AI reply to my Telegram messages?"


It's:

"How do I make an AI understand enough about me that its response feels like something I would actually send?"


That's the part I'm experimenting with now. Still building. Still testing. Still finding things that sound way too AI πŸ˜‚ If you have idea let me know it might be helpful for my project.

πŸ‘‰πŸ‘‰ Silicon Valley

πŸ”₯ More of the architecture and experiments coming soon.

#NodeJS #Telegram #GramJS #MTProto #RAG #AI #LLM #AgenticAI #Project
πŸ”₯2
Forwarded from Launch.et
✨ Just listed: Veloxdb

lightweight open-source SQL client with a visual database designer with AI

Work & Productivity Β· by Veloxdb

πŸ‘‰ See it on Launch.et
β”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆ
Published: May 2026
Built something? Launch it

#WorkProductivity #Postgress #AdminTool #LaunchET
Forwarded from EthioDeploy
Introducing Domain marketplace

A domain marketplace is now built into EthioDeploy.

Search, register, and point a domain at your app , without leaving your dashboard. Priced in Birr, no international card needed.

πŸ”— ethiodeploy.com/domains
Afro Dev πŸ‡ͺπŸ‡ΉπŸ§‘β€πŸ’»
πŸš€ Building a Telegram AI that actually feels more like me This project is still a work in progress, but the goal has changed from simply building an AI auto-responder to something more interesting: Making the AI understand how I communicate and gradually…
πŸš€ TG-Echo is now open source

A while back I posted about building a Telegram AI that feels more like me: deep personalization, RAG on my own chat history, trying to make an LLM sound genuinely like Bilal.

Update: that part didn't survive contact with reality. The style-RAG kept leaking AI-generated replies back into its own vector store, indexing was too flat to separate contacts or context, and I had hardcoded phrases patching over gaps a real personalization system shouldn't need. Instead of shipping something that fakes "sounding like me," I stripped it back and rebuilt the core agent properly.

What TG-Echo is now:
A 100% local, MTProto-based (GramJS) auto-reply engine for your personal Telegram DMs. No Bot API, no webhooks, no port forwarding, just your own account.

🧠 Core pieces:
- Unified context engine: merges Telegram cloud history with in-memory session state into clean chronological turns for the LLM
- Zero hardcoded responses, zero fake RAG "facts," zero keyword-override shortcuts. Output is genuinely LLM-generated


- Security firewall: allowlist/blocklist + sensitive-keyword gating (money, passwords, private keys) before anything reaches the model
- Human typing simulation + multi-bubble message splitting, so replies don't read like a bot dumping a wall of text
- An AI-leak stripper in post-processing to catch responses that sound too obviously AI-generated
- Pairs with my AI-Gateway project for free multi-provider LLM routing across 9+ providers, so it can run 24/7 at zero API cost


The "make it sound like me" work isn't dead, it's just not something I'm willing to ship half-working. That layer needs a cleaner separation between AI-generated and human-authored data in the vector store, and real per-contact indexing instead of one flat pool. That's next.

For now, the base agent is solid, it's open source, and it's ready for people to build on.

πŸ”— github.com/bilalshemsu1/TG-Echo
Pairs well with: github.com/bilalshemsu1/ai-gateway

#NodeJS #Telegram #GramJS #MTProto #OpenSource #AI #LLM #AgenticAI #Project
TG-Echo passed the Turing test… then leaked the assignment instructions πŸ˜‚
πŸ”₯1
Forwarded from Discover β€’ Tech News
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ’° Scammers Are Selling Mini Dinosaurs Online

A Brazilian X user said his father's friend wanted to buy mini dinosaurs from a WhatsApp ad, but his family stopped him. The price was 500 Brazilian reais (about $100).

The obviously AI-generated video, complete with a Gemini watermark, raised no suspicion.
Please open Telegram to view this post
VIEW IN TELEGRAM
❀1
Exploring Machine Learning with PHP

I've been spending some time exploring machine learning from a PHP perspective.

Usually, when people talk about ML, the first tools that come to mind are Python, scikit-learn, PyTorch, or TensorFlow. But PHP has some interesting options too.

I've been looking into libraries such as:
- PHP-ML for common machine learning algorithms and preprocessing
- Rubix ML for building more complete ML workflows in PHP
- FANN for neural network functionality through PHP bindings

I'm not saying PHP is going to replace Python for machine learning. It isn't.

But I think it's interesting to see how ML capabilities can be integrated directly into PHP applications, especially when you're already building backend systems with Laravel.

For me, the goal isn't to learn every ML library. It's to understand where these tools actually make sense and how they can be used in real applications.

Still experimenting and learning. πŸš€

#PHP #Laravel #MachineLearning #PHPML #RubixML #SoftwareDev