Skip to content

StarDust130/StarFire

Repository files navigation

βš”οΈ ΰ₯₯ StarFire ΰ₯₯ πŸ”₯

An AI Agent that grows with you. πŸͺ΄

A cloud-native, deeply personalized AI agent orchestrator designed to navigate the global opportunity landscape.


✦ Vision

AI should feel persistent, not purely transactional.

Startfire acts as a companion operating system rather than a standard chatbot. It builds a continuously evolving understanding of who you are, retaining context across days, weeks, and months. As it learns your capabilities and goals, it autonomously navigates opportunities, scouts for roles, and curates pathways tailored uniquely to you.



✦ Core Features

Capability Description
🧠 Persistent Memory Remembers conversations, goals, and context across extended timeframes.
🎯 AI Job Discovery Autonomously searches, ranks, and retrieves global opportunities daily.
πŸ” Semantic Retrieval Fetches perfectly tailored information using advanced vector search.
πŸ€– Agent Orchestration A "Boss AI" manages highly specialized, ephemeral worker agents.
πŸ“„ Resume Optimization Dynamically crafts and optimizes applications for specific roles.
βœ‰οΈ Outreach Automation Prepares intelligent, personalized founder and recruiter outreach.
πŸ“± Telegram Assistant Always-on messaging interface for immediate access and updates.
🌐 Multi-platform Extensible architecture built for the future of ambient computing.


✦ Architecture

Built for scale, resilience, and complex asynchronous execution.

Architecture Diagram

System Layers:

  • Web Layer: Next.js interface for user management and high-level dashboard visualization.
  • Core Orchestration: The "Boss AI" handling routing, memory states, and decision logic.
  • Worker Agents: Specialized node instances spawned for discrete tasks (e.g., job scraping, resume tailoring) that terminate upon completion.
  • Queues: BullMQ combined with Redis to handle asynchronous agent dispatching.
  • Data & Memory: PostgreSQL for relational structure, Qdrant for vector embeddings, and Redis for high-speed caching.


✦ Memory System

An intelligent, multi-tiered approach to user context retention.

Memory System

Our proprietary memory flow involves:

  1. Short-term Memory: Immediate session context and recent conversational turns.
  2. Long-term Relational: Structured data (career history, explicit preferences).
  3. Semantic Memory: Vectorized traits, nuanced skills, and inferred goals.
  4. Retrieval Flow: The Boss AI synthesizes state from all three tiers before dispatching instructions to worker agents.


✦ Event Flow

A clean lifecycle from user intent to execution.

Event Flow Diagram

1. Input: Telegram/Web β†’ 2. Processing: Core "Boss" AI β†’ 3. Dispatch: Queue β†’ 4. Execution: Worker Agents β†’ 5. Context Update: Memory Systems β†’ 6. Output: Response/Action.



✦ System Data Models

A robust relational state management underlying the entire orchestration network.

Data Architecture & Relation Tables


✦ Tech Stack

Category Technologies
🌐 Frontend Next.js, TailwindCSS, TypeScript
βš™οΈ Backend Express.js, Node.js
🧠 AI Layer LangGraph, OpenAI APIs
☁️ Infrastructure PostgreSQL, Redis, BullMQ, Qdrant, Prisma, Docker
πŸ” Workflow Turborepo, pnpm
πŸ€– Automation Playwright
πŸ“ˆ Monitoring Sentry, Pino


✦ Monorepo Structure

Startfire/
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ web/        # Next.js frontend application
β”‚   β”œβ”€β”€ core/       # Express API & Boss AI orchestrator
β”‚   β”œβ”€β”€ telegram/   # Telegram bot integration layer
β”‚   └── workers/    # Modular, task-specific worker agents
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ agents/     # Shared LangGraph agent logic
β”‚   β”œβ”€β”€ ai/         # LLM wrappers and utility functions
β”‚   β”œβ”€β”€ browser/    # Playwright automation scripts
β”‚   β”œβ”€β”€ config/     # Global TypeScript/ESLint configurations
β”‚   β”œβ”€β”€ database/   # Prisma clients and repository patterns
β”‚   β”œβ”€β”€ memory/     # Qdrant vector store and retrieval logic
β”‚   └── shared/     # Common types, schemas, and utilities
β”œβ”€β”€ infra/          # Docker compose, scripts, and monitoring
└── prisma/         # PostgreSQL database schema and migrations


✦ Getting Started

Prerequisites

  • Node.js (v20+)
  • pnpm (v9+)
  • Docker & Docker Compose

Fast Boot

# Clone the repository
git clone https://github.com/StarDust130/Startfire.git
cd Startfire

# Install dependencies
pnpm install

# Start infrastructure (PostgreSQL, Redis, Qdrant)
docker compose up -d

# Sync database
pnpm db:push

# Launch development servers
pnpm dev


✦ Environment Setup

Duplicate the example environment file and fill in your credentials.

cp .env.example .env

Essential Variables:

# Database
DATABASE_URL="postgresql://user:password@localhost:5432/Startfire"

# Memory & Queues
REDIS_URL="redis://localhost:6379"
QDRANT_URL="http://localhost:6333"

# Intelligence
OPENAI_API_KEY="sk-..."
✦ Docker Infrastructure

The project uses Docker Compose to containerize local dependencies required by the orchestrator:

  • PostgreSQL: Primary relational datastore (Prisma).
  • Redis: Powers BullMQ task queues and short-term caching.
  • Qdrant: High-performance vector database for semantic memory retrieval.

Run docker compose up -d in the root directory to spin up the required backing services before starting the node instances.



✦ Future Roadmap

  • Core orchestrator architecture
  • Basic persistent memory implementation
  • Telegram bot integration
  • WhatsApp integration
  • Advanced autonomous workflows
  • Voice interface capabilities
  • Deeply integrated AI productivity OS features
  • Browser automation for complex job applications
  • Memory evolution and continuous self-reflection


✦ Philosophy

Startfire is not trying to become another generic chatbot.

It is designed to become a deeply personalized, reliable, and adaptive digital twin. It focuses on continuity, trust, and proactive execution, moving beyond reactive Q&A to true asymmetric leverage for your future.


"We are entering an era where your OS doesn't just run your appsβ€”it runs your opportunities."


✦ License

This project is licensed under the StarDust License - "use it as you want but don't be a jerk." ~ 😎


✨ ✨ ✨


Built with precision. Engineered for the future.

Rocket Robot


Cool line animation

Releases

No releases published

Packages

 
 
 

Contributors

Languages