The AI brain of RSMK Technologies β a smart, fast, and free personal AI assistant that knows everything about RSMK Technologies and powers intelligent chat across all RSMK websites.
Project Mani is a centralized AI assistant built and owned by RSMK Technologies. It is not a generic chatbot β it is a purpose-built AI that carries deep knowledge about RSMK Technologies, its founder, and all projects under the brand.
Mani is designed to:
- Answer questions about RSMK Technologies and its projects accurately
- Power chat widgets embedded across multiple RSMK websites
- Use site-specific knowledge (RAG) to answer context-aware questions per website
- Fall back to general AI reasoning for queries outside its knowledge base
Think of Mani as the single AI brain that all RSMK websites share β each website adds its own layer of knowledge on top.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β RSMK Websites β
β rsmk.me β BudgetBuddy β GridForge β ... β
ββββββββ¬ββββββββββββββββ¬ββββββββββββββββββ¬βββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Mani Core API (Render) β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββ β
β β Groq Inference Engine β β
β β llama-3.3-70b-versatile β β
β βββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββ ββββββββββββββββββββββββββββ β
β β RSMK Core β β Per-Site RAG Context β β
β β Knowledge β β (injected per request) β β
β β Base β β β β
β ββββββββββββββββ ββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- A user asks a question on any RSMK website
- The chat widget sends the query + site context to Mani Core API
- Mani uses its RSMK knowledge base + the site's RAG context to answer
- The response is returned and displayed in the chat widget
project-mani/
βββ backend/ β Mani Core API (Node.js + Express)
β βββ src/
β β βββ groq.js β Groq inference caller
β β βββ knowledge.js β RSMK knowledge base loader
β β βββ prompt.js β System prompt builder
β βββ knowledge/
β β βββ rsmk-core.json β RSMK Technologies + founder info
β β βββ projects.json β All RSMK projects data
β β βββ achievements.json β Hackathons, certifications, etc.
β βββ index.js β Express server entry point
β βββ .env.example
β βββ package.json
β
βββ widget/ β Embeddable chat widget
β βββ mani-widget.js β Drop-in script tag widget
β βββ mani-widget.css β Widget styles
β
βββ README.md
| Layer | Technology | Why |
|---|---|---|
| AI Model | Groq β llama-3.3-70b-versatile |
Free, fastest inference, highly accurate |
| Backend | Node.js + Express | Lightweight, easy to maintain |
| Hosting | Render (free tier) | Always-on, no cold start issues |
| Knowledge | Structured JSON files | Simple, fast, no vector DB needed in v1 |
| RAG | Context injection per request | Site-specific knowledge per website |
| Widget | Vanilla JS + CSS | Embeds into any website with one script tag |
A standalone API that knows everything about RSMK Technologies.
- Groq-powered backend
- RSMK knowledge base (JSON)
- System prompt with Mani's identity
- Single
/api/chatendpoint - Deployed on Render
Each website gets its own knowledge layer injected into Mani.
rsmk.meβ portfolio, skills, contact infoBudgetBuddyβ app features, FAQs, how-to guidesGridForgeβ project docs, simulation info
A single script tag that any RSMK website can drop in to get a full Mani chat UI.
<script src="https://mani-core.onrender.com/widget/mani-widget.js"
data-site="rsmk-portfolio">
</script>- Mani connects to BudgetBuddy data
- Mani connects to GridForge simulation outputs
- Project Mani dashboard for managing knowledge bases
https://mani-core.onrender.com
GET /
{ "status": "Mani Core is live π§ " }POST /api/chat
Request body:
{
"query": "What is BudgetBuddy?",
"siteContext": "User is on the BudgetBuddy app page.",
"history": [
{ "role": "user", "content": "Hello" },
{ "role": "assistant", "content": "Hi! I'm Mani..." }
]
}Response:
{
"success": true,
"response": "BudgetBuddy is an Android expense tracking app built by RSMK Technologies...",
"model": "llama-3.3-70b-versatile"
}| Variable | Description |
|---|---|
GROQ_API_KEY |
Groq API key from console.groq.com |
PORT |
Server port (default: 3001) |
# Clone the repo
git clone https://github.com/YOUR_USERNAME/project-mani.git
cd project-mani/backend
# Install dependencies
npm install
# Setup environment
cp .env.example .env
# Add your GROQ_API_KEY to .env
# Run the server
node index.js
# Test
curl -X POST http://localhost:3001/api/chat \
-H "Content-Type: application/json" \
-d '{"query": "Who is Mani?"}'| Service | Platform | URL |
|---|---|---|
| Mani Core API | Render | https://mani-core.onrender.com |
| Widget CDN | Render static | https://mani-core.onrender.com/widget/ |
Any authorized RSMK website or frontend (like mani-ui) can connect to Mani with a straightforward fetch call to the /api/chat endpoint.
Here is a quick example of how you send a question and get an answer:
const chatWithMani = async (userMessage, conversationHistory = []) => {
try {
const response = await fetch("http://localhost:3001/api/chat", { // Or your production URL
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
query: userMessage,
// Optional context about the site the user is chatting from
siteContext: "User is browsing the main RSMK ecosystem interface.",
// History ensures Mani remembers the context of the conversation
history: conversationHistory
})
});
const data = await response.json();
if (data.success) {
console.log("Mani says:", data.response);
return data.response;
} else {
console.error("Mani Error:", data.error);
}
} catch (error) {
console.error("Network Error:", error);
}
};Note on CORS: Ensure your frontend URL is allowlisted in the backend
corsconfiguration, or the request will be blocked.
For more in-depth information about backend environment setup, API endpoint structure, and exact response formats, please refer to the Backend README.
RSMK Technologies β a personal tech brand by Srinivasa Manikanta Rajapantula.
rsmk.me Β· GitHub Β· LinkedIn