Building Igris: Crafting My Personal AI Agent & Knowledge Codex

Published: (April 11, 2026 at 10:51 AM EDT)
3 min read
Source: Dev.to

Source: Dev.to

Cover image for Building Igris: Crafting My Personal AI Agent & Knowledge Codex

As developers, we leave digital footprints everywhere—through our code, our portfolios, and our articles. But what if people could just talk to a digital version of us? That question led me to build Igris, a personal AI shadow agent and knowledge codex designed to answer questions about me, complete with my own personality.

You can try out the live chat interface here: Agent Igris, and check out my main portfolio at abhistack.pages.dev.

The Core Concept

The original idea for Igris was simple: create an AI that talks about me with my personalities. Rather than building a fully autonomous execution agent that acts on my behalf, I focused on creating a robust Retrieval‑Augmented Generation (RAG) chatbot. It serves as an interactive, conversational resume and a codified representation of my knowledge and experiences.

The Tech Stack

  • Backend: Node.js, Express, and LangChain.
  • Frontend: React (Vite/Next.js) with Tailwind CSS for a sleek, responsive chat interface.
  • LLM: Currently exploring Google’s Gemma 4 to power the conversational engine.
  • Hosting: Frontend on Cloudflare Pages, Node.js backend on Render.

Architecture & Implementation

1. The RAG Engine & LangChain Backend

At the heart of Igris is a Node.js backend utilizing LangChain. Instead of stuffing a massive system prompt with my life story—which is inefficient and prone to hallucination—I implemented a RAG architecture. This allows Igris to pull specific, relevant context from a vector database whenever a user asks a question.

A key engineering choice was using modular prompt composition. By breaking down system prompts and context injection into manageable modules, I can easily tweak Igris’s behavior, update my professional history, or adjust its tone without rewriting the entire core logic.

2. The Frontend Experience

The user experience needed to feel natural, like messaging a real person. I built a standalone frontend application using React and styled it with Tailwind CSS. The interface connects directly to the backend APIs, handling state management and rendering the conversation smoothly.

What’s Next for Igris?

Right now, Igris is doing a great job answering questions and serving as my interactive shadow. The next major step is integrating and fine‑tuning with the Gemma 4 model to make the conversational tone even more accurate to my actual voice. I am also looking into expanding the tool‑augmentation aspect so Igris can fetch live, dynamic data during a conversation.

Building an AI agent that represents you is a fascinating challenge in prompt engineering, context management, and system design. If you are thinking about building your own shadow agent, I highly recommend diving into LangChain and RAG architectures!

0 views
Back to Blog

Related posts

Read more »