perplexity-cli
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
Local AI assistant, dreaming explorable worlds.
Build explorable 3D worlds with natural language — geometry, materials, lighting, audio, and behaviors. Open source, runs locally.
If you just want to run LocalGPT — no source checkout needed:
# World Building cargo install localgpt-gen # AI Assistant (chat, memory, daemon) cargo install localgpt
If you've cloned the repository and want to hack on the code, use cargo run to iterate without installing:
git clone https://github.com/localgpt-app/localgpt.git cd localgpt # World Building cargo run -p localgpt-gen -- "Create a desert scene with pyramids" # AI Assistant cargo run -- chat cargo run -- daemon start
Full options (feature flags, headless builds, Docker): see Installation.
localgpt-gen is a standalone binary for AI-driven 3D world creation with the Bevy game engine.
# Start interactive mode localgpt-gen # Start with an initial prompt localgpt-gen "Create a desert scene with pyramids and a UFO hovering above" # Load an existing scene localgpt-gen --scene ./world.glb # Verbose logging localgpt-gen --verbose
Queue world experiments and generate without a window — overnight batch runs, CI pipelines, or scripted variations:
# Generate a single world (no window) localgpt-gen headless --prompt "Build a cozy cabin in a snowy forest" # With style hint localgpt-gen headless --prompt "Village marketplace" --style "Studio Ghibli"
The memory system learns your creative style across sessions — palettes, lighting preferences, entity templates — and applies them automatically in future generations.
Full docs: Headless Mode & Experiment Queue
Use Gen from Claude Desktop, Codex Desktop, or any MCP-compatible editor (VS Code, Zed, Cursor):
localgpt-gen mcp-server
Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"localgpt-gen": {
"command": "localgpt-gen",
"args": ["mcp-server"]
}
}
}
For CLI tools (Claude CLI, Gemini CLI, Codex CLI), use --connect to route tool calls to your existing window. See CLI Mode (MCP Relay).
Full docs: LocalGPT Gen | MCP Server
Built something cool? Share on Discord or YouTube!
localgpt is a local-first AI assistant with persistent memory, autonomous tasks, and multiple interfaces.
# Interactive chat localgpt chat # Single question localgpt ask "What is the meaning of life?" # Run as daemon with HTTP API and web UI localgpt daemon start
LocalGPT uses XDG-compliant directories for config/data/state/cache. Run localgpt paths to see resolved paths.
Workspace memory layout:
<workspace>/
├── MEMORY.md # Long-term knowledge (auto-loaded each session)
├── HEARTBEAT.md # Autonomous task queue
├── SOUL.md # Personality and behavioral guidance
└── knowledge/ # Structured knowledge bank
Files are indexed with SQLite FTS5 for keyword search and sqlite-vec for semantic search with local embeddings.
Stored at <config_dir>/config.toml:
Local models via LM Studio (no API key, fully offline):
[agent] default_model = "openai/qwen/qwen3.5-35b-a3b" [providers.openai] api_key = "lm-studio" base_url = "http://127.0.0.1:1234/v1"
Cloud providers (Anthropic, OpenAI, etc.):
[agent]
default_model = "claude-cli/opus"
[providers.anthropic]
api_key = "${ANTHROPIC_API_KEY}"
Full config reference: website/docs/configuration.md
LocalGPT.md with tamper detectionSecurity docs: website/docs/sandbox.md | website/docs/localgpt.md
| Endpoint | Description |
|---|---|
GET / |
Embedded web UI |
POST /api/chat |
Chat with assistant |
POST /api/chat/stream |
SSE streaming chat |
GET /api/memory/search?q=<query> |
Search memory |
Full API reference: website/docs/http-api.md
localgpt chat # Interactive chat localgpt ask "question" # Single question localgpt daemon start # Start daemon localgpt memory search "query" # Search memory localgpt config show # Show config localgpt paths # Show resolved paths
Full CLI reference: website/docs/cli-commands.md
Rust, Tokio, Axum, Bevy, SQLite (FTS5 + sqlite-vec), fastembed, eframe
more like this
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
TachiSnap — Pixel Snapper for animation pixel artists. Rust + WebAssembly client-side tool for cleaning up AI-generated…
Pathfinding library for calculating all node pairs' shortest paths in an unweighted undirected graph.
search projects, people, and tags