Skip to content

KiroCore is a universal AI agent platform that transforms a single codebase into multiple specialized applications through configuration files.

License

Notifications You must be signed in to change notification settings

hiarun02/KiroCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

56 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’€ KiroCore - Universal AI Agent Platform

One skeleton. Multiple apps. Infinite possibilities.

KiroCore is a universal AI agent platform that transforms a single codebase into multiple specialized applications through configuration files. Powered by Google Gemini AI.

๐ŸŽฏ The Concept

Instead of building separate AI apps from scratch, KiroCore provides:

  • One reusable skeleton - Core UI components and architecture
  • Config-driven apps - Each app defined by simple configuration
  • Real AI responses - Powered by Google Gemini AI
  • Production-ready - Full-stack architecture with Express backend

๐Ÿ“ฆ Two Demo Applications (+ 4 More!)

For Hackathon Demo: This repository showcases 2 primary applications as required, but demonstrates the platform's scalability by including 4 additional apps built from the same skeleton codebase.

๐ŸŽฏ Primary Demo Apps

๐Ÿ“š StudyBuddy

Location: apps/study-buddy/

Your AI study companion that breaks down complex topics into digestible pieces.

  • Purpose: Education & Learning
  • Personality: Patient, encouraging tutor
  • Theme: Blue (#3b82f6)
  • Features: Concept explanations, problem solving, study strategies

๐Ÿ’ก IdeaForge

Location: apps/idea-forge/

Your creative brainstorming partner for developing and refining ideas.

  • Purpose: Creativity & Innovation
  • Personality: Enthusiastic, inspiring brainstormer
  • Theme: Purple (#8b5cf6)
  • Features: Creative brainstorming, idea refinement, innovation strategies

๐Ÿš€ Additional Apps (Demonstrating Scalability)

The following 4 apps prove how easily the skeleton scales to support diverse use cases:

๐Ÿ’ป CodeMentor

Location: apps/code-mentor/

Your programming tutor for learning to code and debugging.

  • Purpose: Programming Education
  • Personality: Patient, knowledgeable coding mentor
  • Theme: Green (#10b981)
  • Features: Code explanations, debugging help, best practices

โœ๏ธ StoryWeaver

Location: apps/story-weaver/

Your creative writing companion for crafting compelling stories.

  • Purpose: Creative Writing
  • Personality: Imaginative, supportive storyteller
  • Theme: Purple (#a855f7)
  • Features: Character development, plot structuring, worldbuilding

๐Ÿ’– WellnessCoach

Location: apps/wellness-coach/

Your personal wellness companion for mental health and balanced living.

  • Purpose: Health & Wellness
  • Personality: Warm, empathetic supporter
  • Theme: Pink (#ec4899)
  • Features: Mental health support, fitness guidance, stress management

๐Ÿ’ผ CareerNavigator

Location: apps/career-navigator/

Your professional career advisor for job seeking and career growth.

  • Purpose: Career Development
  • Personality: Strategic, professional advisor
  • Theme: Amber (#f59e0b)
  • Features: Career path exploration, resume optimization, interview prep

Key Point: While the hackathon requires 2 demo apps (StudyBuddy & IdeaForge), we've built 6 total applications from the same skeleton to prove the platform's versatility and scalability. All apps share the same core codebase with only configuration differences.


โšก Quick Start (3 Minutes)

  1. Install Dependencies:

    npm install
  2. Set Up Google Gemini AI:

  3. Run the App:

    npm run dev
  4. Open Browser:

  5. Try It:

    • StudyBuddy โ†’ "Explain React hooks"
    • IdeaForge โ†’ "Help me brainstorm a startup idea"
    • CodeMentor โ†’ "How do I fix this bug?"
    • StoryWeaver โ†’ "Help me develop a fantasy character"
    • WellnessCoach โ†’ "Tips for managing work stress"
    • CareerNavigator โ†’ "Review my resume"

That's it! ๐ŸŽ‰


๐ŸŽฌ How It Works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           One Skeleton Codebase                  โ”‚
โ”‚        (core/, app/, server/)                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                 โ”‚
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚                         โ”‚
โ”Œโ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”
โ”‚ StudyBuddyโ”‚         โ”‚ IdeaForge โ”‚
โ”‚    ๐Ÿ“š     โ”‚         โ”‚    ๐Ÿ’ก     โ”‚
โ”‚  (Demo 1) โ”‚         โ”‚  (Demo 2) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

    + 4 Additional Apps (Scalability Proof)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Code  โ”‚   โ”‚Story  โ”‚   โ”‚ Well  โ”‚   โ”‚Career โ”‚
โ”‚Mentor โ”‚   โ”‚Weaver โ”‚   โ”‚Coach  โ”‚   โ”‚  Nav  โ”‚
โ”‚  ๐Ÿ’ป   โ”‚   โ”‚  โœ๏ธ    โ”‚   โ”‚  ๐Ÿ’–   โ”‚   โ”‚  ๐Ÿ’ผ   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
         โ”‚  2 Demo + 4 Bonus     โ”‚
         โ”‚  = 6 Total Apps       โ”‚
         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Adding a New App is Simple:

// apps/my-app/agent.config.js - Just 10 lines!
export default {
  name: "CodeMentor",
  icon: "๐Ÿ’ป",
  description: "Your coding mentor",
  systemPrompt: "You are a helpful coding mentor...",
  welcomeMessage: "Let's code together!",
  theme: {primary: "#10b981"},
};

That's it! Navigate to /my-app and your new AI app is ready. ๐Ÿš€


๐Ÿ—๏ธ Architecture

kirocore/
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ [appType]/         # Dynamic app routes
โ”‚   โ”œโ”€โ”€ chat/              # Chat page
โ”‚   โ””โ”€โ”€ api/               # API routes (optional)
โ”œโ”€โ”€ apps/                   # App configurations
โ”‚   โ”œโ”€โ”€ study-buddy/
โ”‚   โ”‚   โ”œโ”€โ”€ .kiro/         # Kiro config for StudyBuddy
โ”‚   โ”‚   โ””โ”€โ”€ agent.config.js
โ”‚   โ””โ”€โ”€ idea-forge/
โ”‚       โ”œโ”€โ”€ .kiro/         # Kiro config for IdeaForge
โ”‚       โ””โ”€โ”€ agent.config.js
โ”œโ”€โ”€ core/                   # Shared core components
โ”‚   โ”œโ”€โ”€ components/        # Reusable UI components
โ”‚   โ””โ”€โ”€ services/          # API services
โ”œโ”€โ”€ server/                 # Express backend
โ”‚   โ”œโ”€โ”€ routes/            # API routes
โ”‚   โ””โ”€โ”€ services/          # Business logic
โ””โ”€โ”€ .kiro/                  # Root Kiro configuration
    โ”œโ”€โ”€ steering.md
    โ”œโ”€โ”€ specs/
    โ””โ”€โ”€ hooks/

๐Ÿ› ๏ธ Tech Stack

Frontend:

  • Next.js 16 (App Router)
  • React 19
  • Tailwind CSS 4
  • Framer Motion
  • TypeScript

Backend:

  • Express.js
  • Google Gemini AI
  • Node.js

๐Ÿ“ฆ Installation

  1. Clone the repository:

    git clone <your-repo-url>
    cd kirocore
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    cp .env.local.example .env.local
    cp server/.env.example server/.env
  4. Add your Gemini API key to server/.env:

    GEMINI_API_KEY=your_api_key_here
    

    Get your free API key at: https://makersuite.google.com/app/apikey

  5. Run the development server:

    npm run dev

    This starts:

๐ŸŽฎ Usage

Running the Apps

Navigate to any app by URL or click from the app browser:

  1. StudyBuddy: /study-buddy - Education & learning
  2. IdeaForge: /idea-forge - Creative brainstorming
  3. CodeMentor: /code-mentor - Programming help
  4. StoryWeaver: /story-weaver - Creative writing
  5. WellnessCoach: /wellness-coach - Health & wellness
  6. CareerNavigator: /career-navigator - Career guidance

Creating a New App

  1. Create app directory:

    mkdir apps/my-new-app
  2. Create agent config:

    // apps/my-new-app/agent.config.js
    export default {
      name: "MyNewApp",
      description: "Description of your app",
      icon: "๐ŸŽจ",
      systemPrompt: "You are a helpful assistant...",
      welcomeMessage: "Welcome to MyNewApp!",
      features: ["Feature 1", "Feature 2"],
      theme: {
        primary: "#8b5cf6",
      },
    };
  3. Create Kiro configuration:

    mkdir apps/my-new-app/.kiro
  4. Access your app: Navigate to /my-new-app

๐ŸŽจ Features

Core Platform

  • โœ… Dynamic App Loading - Apps load based on URL route
  • โœ… Config-Driven Architecture - Add new apps with simple config files
  • โœ… 6 Specialized Apps - Education, creativity, coding, writing, wellness, career
  • โœ… Real AI Responses - Powered by Google Gemini 2.5 Flash
  • โœ… Unique Personalities - Each app has distinct AI behavior and tone

User Experience

  • โœ… ChatGPT-Style Interface - Familiar, intuitive chat UI
  • โœ… Conversation History - Persistent chat history with localStorage
  • โœ… Markdown Rendering - Rich text with code syntax highlighting
  • โœ… Copy Code Blocks - One-click code copying
  • โœ… Toast Notifications - User feedback for actions
  • โœ… Keyboard Shortcuts - Power user features (Ctrl+N, Ctrl+B, etc.)
  • โœ… Typing Indicator - Visual feedback during AI responses
  • โœ… PDF Export - Save conversations as PDF

Design & Performance

  • โœ… Dark Mode - Ghostly aesthetic theme
  • โœ… Responsive Design - Mobile-first approach
  • โœ… Smooth Animations - Framer Motion transitions
  • โœ… Performance Optimized - React hooks, memoization
  • โœ… Professional Icons - React Icons library

Technical

  • โœ… RESTful API - Clean Express backend
  • โœ… TypeScript - Type-safe codebase
  • โœ… Full-Stack - Next.js frontend + Express backend
  • โœ… Extensible - Easy to add features and apps

๐Ÿ”ง Development

Frontend Only

npm run dev:frontend

Backend Only

npm run dev:backend

Build for Production

npm run build
npm start

๐Ÿ“š API Documentation

Chat Endpoint

POST /api/chat
Content-Type: application/json

{
  "message": "Your message here",
  "appType": "study-buddy",
  "conversationHistory": []
}

Get All Apps

GET /api/apps

Get App Config

GET /api/apps/:appType

๐Ÿ† Project Highlights

Why KiroCore stands out:

  1. Versatile Skeleton - One codebase powers multiple specialized apps
  2. Real AI Integration - Google Gemini AI provides intelligent responses
  3. 6 Complete Apps - Education, creativity, coding, writing, wellness, career
  4. Production Quality - Full-stack architecture, not just a demo
  5. Extensible - Easy to add new apps in minutes
  6. Modern Stack - Next.js 16, React 19, TypeScript, Tailwind CSS 4
  7. Config-Driven - Each app is just a simple configuration file
  8. Scalable Architecture - Proven to scale from 2 to 6 apps effortlessly

๐Ÿ”ง Troubleshooting

Port Already in Use

# Kill process on port 3000
npx kill-port 3000

# Or use different port
PORT=3002 npm run dev:frontend

Backend Not Connecting

  • Check backend is running: http://localhost:3001
  • Verify .env files are configured
  • Check CORS settings in server/index.js

App Not Loading

  • Clear browser cache (Ctrl+Shift+R)
  • Check console for errors (F12)
  • Verify app config exists in apps/[app-name]/

Gemini AI Not Working

  • Check API key is set in server/.env
  • Verify API key is valid at https://makersuite.google.com/app/apikey
  • Check backend console for error messages
  • App will show fallback responses if API key is missing

Chat History Not Saving

  • Check browser localStorage is enabled
  • Clear localStorage and refresh: localStorage.clear()
  • Check console for errors

๐ŸŽฏ Roadmap

  • Google Gemini AI integration
  • Multi-conversation history
  • Persistent chat history (localStorage)
  • React Icons system
  • Streaming AI responses
  • Image upload & analysis
  • Voice input/output
  • Database for cloud sync
  • User authentication
  • Export conversations
  • Code syntax highlighting
  • Custom theme builder

๐Ÿ“„ License

MIT

๐Ÿค Contributing

Contributions welcome! This is a hackathon project but we're open to improvements.

See CONTRIBUTING.md for guidelines.

๐Ÿ“‹ Documentation


Built with ๐Ÿ’€ using Google Gemini AI

Version: 1.0.0 | Status: โœ… Production Ready | License: MIT

About

KiroCore is a universal AI agent platform that transforms a single codebase into multiple specialized applications through configuration files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published