Loading project...
Loading project...
Project
An AI-powered conversational application built to explore AI agents, tool integrations, and context-aware responses.
Overview
Features
User authentication using Better Auth. Conversational AI interface. Integration with AI language models. Conversation and message management. AI agent orchestration using LangChain. External tool integration for retrieving information. Context management across conversations. Redis caching for selected application operations. Exploration of RAG and vector-based retrieval.
Implementation
Forge uses Next.js and TypeScript for its application structure. Better Auth manages authentication, while PostgreSQL and Prisma provide persistent storage for application data. I use LangChain to organise interactions between language models, conversation context, and external tools. The project explores integrations with AI models such as Gemini, Claude, and DeepSeek, along with search services that allow the assistant to retrieve external information. Redis is used for caching, and PostgreSQL provides a foundation for storing application data and supporting future retrieval-based features.
Challenges
One challenge in building an AI agent is managing conversation context. Sending an entire conversation to a language model every time can become inefficient as conversations grow. I've been exploring ways to organise conversation history and maintain relevant context without unnecessarily increasing the amount of information sent to the model. Another challenge is coordinating AI model responses with external tools. I have been working on keeping the different responsibilities of the application separated so that tool integrations and AI logic remain easier to maintain.
What I learned
Forge has helped me understand that building AI applications involves much more than connecting to an API. I've learned about conversation state, tool integration, model orchestration, caching, and the importance of managing context efficiently. The project has also encouraged me to learn more about retrieval-augmented generation, embeddings, and vector databases.