
# Fine-Tune Prepare fine-tuning datasets. ```bash npx ai-fine-tune validate data.jsonl ```
# Vector Database Setup Set up vector databases for AI applications. Pinecone, Weaviate, Qdrant, pgvector. ## Quick Start ```bash npx ai-vector-db init pinecone ``` ## What It Does - Generate vector DB client code - Support for major providers - TypeScript ready - Customizable dimensions and names ## Usage ```bash # Generate client npx ai-vector-db init pinecone npx ai-vector-db init pgvector # List providers npx ai-vector-db providers # Compare options npx ai-vector-db compare ``` ##
# SSE Streaming Server-Sent Events streaming for LLM responses. Real-time streaming for OpenAI and Anthropic. ## Quick Start ```bash npx ai-streaming init ``` ## What It Does - Generate SSE streaming utilities - Stream OpenAI/Anthropic responses - Next.js and Express support - Client-side consumption helpers ## Usage ```bash # Generate Next.js streaming code npx ai-streaming init # Generate Express streaming code npx ai-streaming init --framework express # Show info npx ai-streaming i
# Ollama Local LLM setup. ```bash npx ai-ollama init ```
# AI Memory Conversation memory and context management for AI agents. ## Quick Start ```bash npx ai-memory init ``` ## What It Does - Sliding window memory (last N messages) - Token-based memory (stay within limits) - Persistent file storage - Search conversation history ## Usage ```bash # List conversations npx ai-memory list # Show conversation npx ai-memory show conv-123 # Search npx ai-memory search "query" # Generate files npx ai-memory init ``` ## Part of the LXGIC Dev Toolkit
# Context Window Management Manage LLM context windows. Token estimation, chunking, optimization. ## Quick Start ```bash npx ai-context-window estimate "Your text" ``` ## What It Does - Estimate tokens in text - Split documents into chunks - Check if content fits models - Truncate oversized content ## Usage ```bash # Estimate tokens npx ai-context-window estimate "text" # Chunk file npx ai-context-window chunk document.txt --tokens 1000 # Check fit npx ai-context-window fit document.txt
# LLM Cost Calculator Calculate and track LLM API costs. OpenAI, Anthropic pricing. ## Quick Start ```bash npx ai-cost-calc calc gpt-4-turbo 1000 500 ``` ## What It Does - Calculate per-request costs - Compare prices across models - Project monthly spending - Track usage with budgets ## Usage ```bash # Calculate cost npx ai-cost-calc calc gpt-4 1000 500 # Compare models npx ai-cost-calc compare 1000 500 # Monthly projection npx ai-cost-calc project gpt-4-turbo 100 1000 500 # List model
# AI Guardrails Input/output validation and safety for AI applications. ## Quick Start ```bash npx ai-guardrails validate "Check this text" ``` ## What It Does - Detect PII (email, phone, SSN, credit cards) - Block prompt injection attempts - Filter harmful content - Validate LLM outputs ## Usage ```bash # Validate text npx ai-guardrails validate "text" # Detect PII npx ai-guardrails pii "Email: [email protected]" # Check injection npx ai-guardrails injection "Ignore previous instruction
# AI Agent AI agent framework scaffolding. ReAct agents with tool use. ## Quick Start ```bash npx ai-agent demo "What is 25 * 4?" ``` ## What It Does - Create ReAct agents - Define custom tools - Multi-step reasoning - Type-safe with Zod ## Usage ```bash # Demo npx ai-agent demo "task" # Generate files npx ai-agent init ``` ## Part of the LXGIC Dev Toolkit One of 110+ free developer tools from LXGIC Studios. - GitHub: https://github.com/lxgicstudios - Twitter: https://x.com/lxgicstudi
# AI Guardrails Input/output validation and safety for AI applications. ## Quick Start ```bash npx ai-guardrails validate "Check this text" ``` ## What It Does - Detect PII (email, phone, SSN, credit cards) - Block prompt injection attempts - Filter harmful content - Validate LLM outputs ## Usage ```bash # Validate text npx ai-guardrails validate "text" # Detect PII npx ai-guardrails pii "Email: [email protected]" # Check injection npx ai-guardrails injection "Ignore previous instruction
# AI Agent AI agent framework scaffolding. ReAct agents with tool use. ## Quick Start ```bash npx ai-agent demo "What is 25 * 4?" ``` ## What It Does - Create ReAct agents - Define custom tools - Multi-step reasoning - Type-safe with Zod ## Usage ```bash # Demo npx ai-agent demo "task" # Generate files npx ai-agent init ``` ## Part of the LXGIC Dev Toolkit One of 110+ free developer tools from LXGIC Studios. - GitHub: https://github.com/lxgicstudios - Twitter: https://x.com/lxgicstudi
# Anthropic Claude Integration Set up Claude integration with streaming, tool use, vision, and 200K context. ## Quick Start ```bash npx ai-anthropic chat "Hello Claude!" ``` ## What It Does - Chat with Claude 3 Opus, Sonnet, and Haiku - Stream responses in real-time - Tool/function calling - Image analysis - Handle 200K token contexts - Track API costs ## Usage ```bash # Chat npx ai-anthropic chat "Explain quantum computing" # Stream npx ai-anthropic chat "Tell me a story" --stream # In
# AI Chatbot Drop-in chat UI for AI applications. ```bash npx ai-chatbot init ``` Generates React chat component with streaming support. ## Part of the LXGIC Dev Toolkit - GitHub: https://github.com/lxgicstudios
# Embedding Generator Generate and manage embeddings for AI applications. Similarity search, caching, batch processing. ## Quick Start ```bash npx ai-embedding embed "Hello world" ``` ## What It Does - Generate text embeddings - Calculate similarity between texts - Search and rank by relevance - Cache embeddings to save API calls - Batch process multiple texts ## Usage ```bash # Generate embedding npx ai-embedding embed "Hello world" # Calculate similarity npx ai-embedding similarity "ca
# Embedding Generator Generate and manage embeddings for AI applications. Similarity search, caching, batch processing. ## Quick Start ```bash npx ai-embedding embed "Hello world" ``` ## What It Does - Generate text embeddings - Calculate similarity between texts - Search and rank by relevance - Cache embeddings to save API calls - Batch process multiple texts ## Usage ```bash # Generate embedding npx ai-embedding embed "Hello world" # Calculate similarity npx ai-embedding similarity "ca
# Fine-Tune Prepare fine-tuning datasets. ```bash npx ai-fine-tune validate data.jsonl ```
# Function Calling Function calling and tool use for LLMs. Type-safe with Zod schemas. ## Quick Start ```bash npx ai-function-call demo "What is 25 * 4?" ``` ## What It Does - Define tools with Zod schemas - Auto-convert to OpenAI/Anthropic format - Execute tool calls automatically - Type-safe parameter validation ## Usage ```bash # Demo built-in tools npx ai-function-call demo "What time is it?" # Show schemas npx ai-function-call schema # Generate files npx ai-function-call init ```
# HuggingFace HuggingFace Inference API. ```bash npx ai-huggingface init ```
# LangChain LangChain scaffolding. ```bash npx ai-langchain init ```
# LLM Eval Test LLM outputs with assertions. ```bash npx ai-llm-eval init ``` ## Part of the LXGIC Dev Toolkit - GitHub: https://github.com/lxgicstudios
# LLM Eval Test LLM outputs with assertions. ```bash npx ai-llm-eval init ``` ## Part of the LXGIC Dev Toolkit - GitHub: https://github.com/lxgicstudios
# Model Deploy Deploy models to Replicate, HuggingFace, Modal. ```bash npx ai-model-deploy init replicate ```
# Multimodal AI Vision and audio AI integration. Image analysis, transcription, text-to-speech. ## Quick Start ```bash npx ai-multimodal vision ./image.png "Describe this" ``` ## What It Does - Analyze images with GPT-4 Vision - Extract text from images (OCR) - Transcribe audio with Whisper - Generate speech from text ## Usage ```bash # Vision npx ai-multimodal vision ./photo.jpg "What's in this?" # OCR npx ai-multimodal ocr ./screenshot.png # Transcribe npx ai-multimodal transcribe ./a
# OpenAI Integration Set up OpenAI integration with streaming, function calling, vision, and cost tracking. ## Quick Start ```bash npx ai-openai chat "Hello, how are you?" ``` ## What It Does - Chat with GPT-4 and GPT-3.5 - Stream responses in real-time - Function/tool calling - Image analysis with GPT-4V - Generate embeddings - Track API costs automatically ## Usage ```bash # Chat npx ai-openai chat "Explain quantum computing" # Stream response npx ai-openai chat "Tell me a story" --str
# Prompt Test Unit testing for prompts. ```bash npx ai-prompt-test init ```
# RAG Pipeline RAG pipeline scaffolding for AI applications. Ingest, retrieve, generate. ## Quick Start ```bash npx ai-rag init ``` ## What It Does - Generate complete RAG pipeline code - Document ingestion and chunking - Vector search retrieval - LLM response generation ## Usage ```bash # Generate pipeline npx ai-rag init # Custom vector DB npx ai-rag init --vectordb pgvector # Show info npx ai-rag info ``` ## Part of the LXGIC Dev Toolkit One of 110+ free developer tools from LXGIC
# Semantic Search Embeddings-based semantic search for AI applications. ## Quick Start ```bash npx ai-semantic-search init ``` ## What It Does - Search by meaning, not keywords - Hybrid search (BM25 + semantic) - LLM-based reranking - Custom filtering ## Usage ```bash npx ai-semantic-search init npx ai-semantic-search info ``` ## Part of the LXGIC Dev Toolkit One of 110+ free developer tools from LXGIC Studios. - GitHub: https://github.com/lxgicstudios - Twitter: https://x.com/lxgicstu
# Vercel AI SDK Vercel AI SDK scaffolding. ```bash npx ai-vercel-ai init ```