Back to Projects
Completed

Zeltra AI

AI Chatbot for enterpreneurs and startup minded people

Zeltra AI screenshot 1
Timeline

3 days

Role

Full Stack Developer

Team

Solo

Technology Stack

TypeScriptPostgreSQLNextjsPrismaLangchainJSLlamaGemini

Challenges

  • AI memory management
  • Multi-model support
  • Langchain integration

Insights

  • Chatbot Architecture
  • Database Operations

Overview

Zeltra AI is an AI-powered startup ideation and validation platform designed to help founders turn raw ideas into clear, actionable startup directions. It focuses on idea refinement, niche discovery, and early-stage validation using structured AI reasoning.

Note: This is an evolving project focused on clarity and decision-making, not a full execution or business planning suite.


Key Features

Core Capabilities Implemented

  • Idea Refinement
    Convert vague startup ideas into clear problem–solution statements

  • Market Niche Analysis
    Identify target users, pain points, and underserved opportunities

  • Startup Validation Signals
    Evaluate feasibility using demand, competition, and differentiation

  • Prompt-Based Ideation Engine
    Generate structured prompts for deeper exploration

  • Prototype Direction Generator
    Suggest MVP scope, core features, and technical direction

  • AI-Guided Iteration
    Improve ideas through iterative questioning instead of one-shot outputs


API Overview

Zeltra AI exposes a set of API endpoints built using the Next.js App Router.
These endpoints handle chat lifecycle management, session handling, AI analysis, and authentication.

All routes are located under:

src/app/api/*

Available API Endpoints

Chat Lifecycle

Create New Chat

POST /api/new-chat

Creates a new chat session.


Get Chat Messages

GET /api/get-messages

Fetches messages for an active chat session.


Delete Chat

DELETE /api/delete-chat/{chatId}

Deletes a specific chat session by its unique ID.


Session Management

Get Sessions

GET /api/get-sessions

Retrieves all chat sessions associated with the authenticated user.


AI Analysis

Analyze Input

POST /api/analyze

Runs AI-powered analysis on user input.
Used for idea refinement, validation, and structured reasoning.


Auto Initialization

Auto Initiate Chat

POST /api/auto-initiate

Automatically initializes a chat session.
Primarily used for first-time users or quick-start flows.


Authentication

NextAuth Handler

GET  /api/auth/[...nextauth]
POST /api/auth/[...nextauth]

Handles authentication using NextAuth, including providers, sessions, and callbacks.


Route Structure Reference

api/
├── analyze/
├── auth/[...nextauth]/
├── auto-initiate/
├── delete-chat/[chatId]/
├── get-messages/
├── get-sessions/
└── new-chat/