✦Lumina CLI v1.0.5•Groq LPU Engine

The autonomous AI software engineer in your terminal.

Build, analyze, debug, and architect multi-file projects directly from your command line. Equipped with persistent PostgreSQL memory and 7 live developer tools.

$npm install -g @piyushkumariiitj/lumina-cli@latest
•

Zero configuration • No API key needed • Connects to cloud automatically

0.3s
Groq Inference
PostgreSQL
Persistent Memory
7 Tools
Local Sandboxing
RFC 8628
Device Auth
End-User Quick Start

Up & Running in 3 Simple Steps

Everything you need to know to get Lumina CLI working on your machine in under 60 seconds.

1
One Command

Install Globally via npm

Open your terminal on macOS, Linux, or Windows and install Lumina CLI globally:

npm install -g @piyushkumariiitj/lumina-cli@latest
Or run instantly without installing: npx @piyushkumariiitj/lumina-cli@latest wakeup
2
1-Click Approval

Sign In with GitHub (RFC 8628)

Run 'lumina login'. It displays a code and opens your browser for one-click GitHub authorization.

$ lumina login Code: ABCD-1234 ➜ Approved! ✔
Secure browser-based approval — no passwords stored in your console!
3
Instant AI

Launch Interactive Companion

Run 'lumina wakeup' to open the interactive capability selector (Chat, Tools, or Agent).

$ lumina wakeup ? Select: 💬 Chat | ⚡ Tools | 🤖 Agent
Start asking questions, inspecting code, or scaffolding multi-file apps.
❌The Old, Disconnected Way
  • •Copying and pasting code between browser windows and text editors continuously
  • •Manually creating folders and copy-pasting 10 separate files
  • •AI hallucinating outdated APIs without live documentation inspection
  • •Losing conversational memory the moment you close your browser tab
✅The Lumina CLI Way
  • ✔Lives right in your terminal alongside your active project workspace
  • ✔Autonomous Agent scaffolds entire multi-file project directories to disk
  • ✔Live Google search and code execution verify solutions in real time
  • ✔Neon PostgreSQL database persists multi-turn history seamlessly

Lumina Architecture in Simple Terms

Key concepts made clear for both beginners and experienced engineers.

Zero Manual API Keys

You never have to register, generate, or paste API keys manually. Lumina CLI uses built-in cloud AI inference right out of the box with zero setup.

RFC 8628 Device Flow

The standard protocol used by tools like GitHub CLI and Netflix. The terminal shows a one-time code and lets you approve it in your normal browser window.

Autonomous Full-Stack Agent

Instead of just printing code on screen, Agent Mode designs the architecture, creates the folder hierarchy, and writes actual source files directly onto your disk.

Local Tool Sandboxing

When Lumina inspects Git status, reads project files, or tests Python/JS snippets, it runs them safely on your local machine with strict sandboxing.

Why Lumina?

Built for Modern Engineering Velocity

Everything you need in an AI software engineering companion — without browser context-switching or hallucinated guesses.

Feature 01

Persistent Conversational Memory

Multi-turn AI reasoning where every session, title, role, and message is persisted to Neon PostgreSQL via Prisma ORM and automatically restored.

Feature 02

Real-Time Tool Calling Suite

Live Google search, sandboxed Python/Node.js runner, math formula engine, git repository inspector, and workspace file reader.

Feature 03

Autonomous Project Architect

Scaffolds complete multi-file projects with disk directory creation, un-truncated file writes, and copyable launch commands.

Feature 04

RFC 8628 Device Authorization

Enterprise-grade headless terminal login approved through the Next.js web portal via GitHub OAuth 2.0 with polling backoff.

Feature 05

Resilient Multi-Model Pipeline

Powered by Groq's high-speed LPU inference engine (openai/gpt-oss-120b) with automatic fallback (openai/gpt-oss-20b) on 429 rate limits.

Feature 06

Bespoke Cyberpunk TUI Design

Curated semantic ANSI palettes, glow badges, custom marked terminal markdown parser, and smart table-to-bullet-list converter.

Three Operating Paradigms

Engineered for Every Engineering Task

Switch effortlessly between persistent conversational reasoning, real-time developer tool execution, and autonomous multi-file application scaffolding.

Mode 1PostgreSQL Memory

💬 Chat Mode

Interactive multi-turn conversational AI pair programmer. Restores previous session context seamlessly from Neon PostgreSQL.

Automatic conversation session restoration
Real-time ANSI Markdown syntax highlighting
Responsive list converter for table wrapping
In-chat shortcuts: /clear, exit
❯ lumina wakeup > 💬 Chat
✦ Restored session: "Express Auth Config"
Prisma DB query time: 42ms
Mode 27 Real-Time Tools

⚡ Tool Calling Mode

Arms the LLM with live Internet access, sandboxed code execution, workspace file inspection, and git diagnostics.

Live Google search for new documentation
Sandboxed JavaScript & Python runner
Git repository inspector & diff analyzer
Polished visual cards (no raw JSON dumps)
⚡ Searching web: "Better Auth RFC8628"
✔ Found 4 active doc sources
✦ Synthesizing real-time answer...
Mode 3Disk Scaffolding

🤖 Autonomous Agent

Generates production-grade multi-file applications from a single prompt and automatically creates directory trees on your disk.

Fullstack multi-file scaffolding to disk
Hidden reasoning token budget optimization
Zod ApplicationSchema JSON validation
ASCII file trees & copyable launch commands
✦ Autonomous Architect Generated:
📁 portfolio/ (8 files created)
✔ Scaffolding complete in 3.4s
Interactive TUI Simulation

Experience Lumina in Action

Click any mode below to test real terminal flows, or type commands directly into the prompt.

lumina — developer@local: ~
❯
Try typing: lumina login, lumina whoami, mode agent, or help
⚡ Powered by Vercel AI SDK ai + Groq LPU
Built-in Developer Tools

7 Real-Time Tools at Lumina's Disposal

Lumina doesn't guess or hallucinate. It executes live tools directly, capturing stdout and synthesizing natural language answers.

Web & Google Searchweb_search

Searches the live web for technical documentation, new framework releases, and error solutions.

Sandboxed Code Runnercode_execution

Safely executes JavaScript (Node.js) or Python code in an isolated subprocess to test algorithms.

Math & Formula Enginecalculator

Evaluates mathematical equations, algebraic operations, trigonometry, and logarithms with high precision.

Workspace File Readerworkspace_reader

Reads project source files, configuration files, and package.json to analyze dependencies and code.

Git Repository Inspectorgit_inspector

Inspects uncommitted diffs, active branches, commit logs, and repository health.

Web URL & API Readerfetch_url

Fetches live JSON data or raw content from any public HTTP/HTTPS endpoint.

System Diagnosticssystem_info

Inspects local developer OS architecture, Node.js runtime version, memory usage, and platform specs.

Web & Google Search

Active Tool Sandbox & Execution Trace

Tool Ready
Developer Query
❯"Search for Prisma 7 PostgreSQL connection pool parameters and SSL requirements."
Tool Invocation Logs
⚡ Searching Google Knowledge API: 'prisma 7 postgresql sslmode connection pool'
✔ Discovered 4 live documentation sources (prisma.io/docs)
✔ Extracted: sslmode=verify-full requires channel_binding=require on Neon
✔ Extracted: connection_limit default is num_physical_cpus * 2 + 1
Groq AI Synthesis
Prisma 7 recommends setting `sslmode=verify-full&channel_binding=require` when connecting to serverless PostgreSQL (such as Neon DB).
Cloud & System Architecture

Production Cloud Topology & Workflows

Clean separation between local client execution and cloud infrastructure on Vercel, Render, Neon, and Groq.

Client vs Production Cloud Infrastructure

End users need zero configuration. The CLI seamlessly coordinates with Lumina Cloud.

Zero Client-Side Secrets
END-USER DEVELOPER MACHINE
Local Execution
CLI Commands
lumina wakeup, login, whoami
Local Tool Sandbox
Git inspector, Node/Python runner, File I/O
Secure Local Cache
~/.better-auth/token.json
HTTPS / RFC 8628 Device Authorization
LUMINA PRODUCTION CLOUD STACK
Managed Services
Lumina Web Portal (Vercel)Next.js 16

https://luminacli.vercel.app

Device code authorization, approval pages, and social login handler.

Lumina Backend Server (Render)Express 5

https://lumina-cli.onrender.com

Better Auth device plugin, GitHub OAuth provider, and message persistence.

Groq LPU Engine
Primary 120B with instant 20B fallback on 429
Neon PostgreSQL
Persistent conversations and sessions via Prisma
Setup Guide

Get Started with Lumina

Zero-config quickstart for users, or run the complete full-stack monorepo locally.

Zero Configuration: No manual API keys, local database, or backend required. Built-in cloud AI ready out of the box.
01

Global Install

npm

Install the CLI globally to enable the lumina command in any terminal.

terminal
npm install -g @piyushkumariiitj/lumina-cli@latest

# Or instant run:
npx @piyushkumariiitj/lumina-cli@latest wakeup
02

Authenticate

RFC 8628

Get a one-time code and login via GitHub OAuth browser portal.

terminal
lumina login
03

Launch Agent

Interactive TUI

Start interactive console for Chat, Tools, and Scaffolding.

terminal
lumina wakeup
CLI Specification

CLI Command Reference

Complete options and flag reference matching Commander.js definitions.

CommandOptionsCategoryDescriptionAction
lumina wakeup—InteractiveLaunch interactive menu to choose between Chat, Tools, Autonomous Agent, or Diagnostics.
lumina login--server-url <url>, --client-id <id>AuthAuthenticate with GitHub via browser device approval (RFC 8628). Optionally specify custom backend server URL.
lumina whoami--server-url <url>DiagnosticsView current authenticated developer profile, user ID, active Groq model, and database status.
lumina logout—AuthEnd session and securely clear stored local credentials from ~/.better-auth/token.json.
lumina --help-hUtilityDisplay CLI help menu, available commands, and option flags.
lumina --version-vUtilityOutput currently installed version of Lumina CLI (e.g. v1.0.5).
/clear—In-ChatClear the terminal screen inside Chat/Tools mode while preserving PostgreSQL memory.
exit / quit—In-ChatGracefully end the interactive conversational AI or agent session.
Engineering Rigor

Troubleshooting & Solved Edge Cases

Hardened for zero-crash execution across any machine and network condition.

⚠ Problem & Root Cause:

Commander.js options with complex defaults previously passed unexpected object constructors when options like --server-url were omitted.

Production Solution:

Configured clean option flags with explicit fallback resolution in src/lib/server-url.js, ensuring safe defaults whether running in production or locally.

Beginner Friendly Guide

Frequently Asked Questions

Everything a beginner needs to know to get started with Lumina CLI smoothly.

Lumina is an AI-powered coding companion that lives directly in your computer's terminal. Instead of copying and pasting code between a web browser and your editor, you can chat with AI, search docs, run Python/JS code snippets, and even scaffold full multi-file web applications directly from your command line.

✦

Ready for your first run?

Open any terminal window and run npx @piyushkumariiitj/lumina-cli@latest wakeup

Try Terminal Sandbox