"a bold undertaking"
An AI-powered Desktop app and matching CLI with 96+ tools, document intelligence, multi-LLM support, web-context grounding, embeddings-based semantic search, PHI/HIPAA compliance, and a layered prompt engineering system. Both binaries share the same config, conversation history, indexes, and memories.
Native macOS / Linux / Windows app built with Wails v2 + Svelte. Same Go runtime as the CLI, same config, same SQLite history.
Everything you need to work with AI assistants, manage your environment, and handle documents — from the terminal or the desktop.
System monitoring, file management, git operations, shell execution, Docker, SSH, databases, web fetching, document parsing, image handling, JSON processing, and more — across 22 categories.
Index documents with FTS5 full-text search. Generate PDF, DOCX, HTML, Markdown, and plain text. Parse and ingest PDF, DOCX, XLSX, CSV, and more into conversations.
Ollama (local), OpenAI, Anthropic, GitHub Models, Azure OpenAI, and custom OAuth endpoints. Switch providers instantly with profiles.
Toggle PHI mode to restrict all data to local-only processing. Enforces Ollama-only, disables network tools, enables audit logging, validates endpoints.
Base identity, capability tier, role defaults, user rules, model overrides, and emphasis rules. Role presets for developer, devops, cloud, data, security, and admin.
Query SQLite, PostgreSQL, MySQL, and SQL Server. Inspect schemas, describe tables, convert CSVs to SQLite. Formatted table output with execution timing.
Native desktop app built with Wails + Svelte alongside the terminal CLI. Both share the same configuration, tools, prompts, and conversation history.
Device-code and authorization-code flows for enterprise identity providers. Automatic token refresh. Connect to any OpenAI-compatible endpoint behind OAuth.
Schedule recurring tasks with cron expressions. Automated queries, system checks, report generation, and more — running on your schedule.
Configuration backup and versioning with export/import. Share setups across machines. Track changes to your emprise configuration over time.
Set output limits per model or globally. Control response length, tool calls per turn, and context window usage. Tune for speed or depth.
/dev scans 40+ tools across categories. Missing something? Select it and emprise installs it. Platform-aware: brew, apt, or winget.
Two interfaces, one brain. The Desktop app (Wails + Svelte) and the CLI share the same config, tools, prompts, and conversation history.
cat file | empriseemprise "question"Both apps read from ~/.emprise/config.yaml — change a setting in one and it applies to both.
All tools execute asynchronously. Toggle on/off per category with /tools. Every tool call is visible with arguments and output.
get_os, get_cpu, get_memory, get_disk, get_processes, get_network, get_env, get_uptime
read_file, write_file, list_dir, search_files, grep_files, edit_file, create_file, append_file, move_file, copy_file
git_status, git_log, git_diff, git_branch, git_blame, git_pr_diff, git_commit, git_stash, git_tag
run_command — streaming output, configurable timeout, safety blocklist
web_search, web_fetch, web_scrape
docker_ps, docker_logs, docker_images, docker_compose_status, docker_exec
start_process, check_process, stop_process, list_processes_managed
ssh_run — connect to configured remote hosts
clipboard_read, clipboard_write — pbcopy/xclip/clip
run_tests, check_dependencies, notify, lint, format
read_image, screenshot, image_resize
json_query, json_schema, json_transform — parse, query (jq-style), extract schemas, transform
sql_query, sql_schema, sql_describe, csv_to_sqlite — SQLite, PostgreSQL, MySQL, SQL Server
read_folder, read_pdf, read_docx, read_xlsx, read_csv — batch directory ingestion
generate_pdf, generate_docx, generate_html, generate_markdown, generate_text
index_documents, search_index, index_status — FTS5 full-text search engine
cron_create, cron_list, cron_delete, cron_status — recurring task automation
config_export, config_import, config_backup, config_restore, config_diff
http_request, ping, dns_lookup, port_scan
compress, decompress, list_archive
calculate, convert_units, statistics
batch_run, parallel_exec — run multiple operations concurrently
Index, search, generate, and parse documents — all from the same interface.
Index documents into a local FTS5-powered search engine. Full-text search across your document library with ranked results, snippets, and metadata filtering.
Generate documents in five formats: PDF, DOCX, HTML, Markdown, and plain text. Ask the LLM to create reports, summaries, or documentation and export directly to file.
Feed PDF, DOCX, XLSX, CSV, and plain text into conversations. Batch-ingest entire directories. Content is extracted and sent as LLM context automatically.
Connect to any provider. Switch between them instantly with /profile.
Local / Free
Run models locally with complete privacy. No API key, no network. Auto-detects available models. Required for PHI compliance mode.
Cloud / API Key
GPT-4o, GPT-4o-mini, o1, o3, and all OpenAI models. Pay-per-token pricing.
Cloud / API Key
Claude Opus, Sonnet, Haiku. Pay-per-token. Excellent for code review and analysis.
Cloud / Free Tier
Access models through your GitHub subscription. Uses your existing GitHub token.
Cloud / Enterprise
Connect to Azure-hosted OpenAI deployments. Enterprise compliance and data residency.
Enterprise / OAuth 2.0
Any OpenAI-compatible endpoint behind OAuth. Device-code and authorization-code flows with automatic token refresh.
emprise assembles the system prompt in 6 layers. Each layer adds context and rules that shape LLM behavior. Full docs on the wiki.
System info, OS, working directory, platform tools, emprise version
Auto-detected from model name. Small models get simpler instructions, large models get full context.
6 presets: developer, devops, cloud, data, security, admin — each with domain-specific rules
Custom instructions, user name, project context from .emprise.md files
Per-model tool limits, response length caps, extra rules for specific models
40+ toggleable rules. High emphasis repeats 3x for models that tend to ignore instructions.
Toggle PHI mode for environments where protected health information must never leave the device.
PHI mode enforces local-only LLM providers (Ollama). All clipboard, web, and SSH tools are disabled. Data never leaves your machine.
Every operation is logged to a dedicated audit file. Track what was queried, when, and which tools were invoked. Full accountability trail.
emprise validates that configured endpoints are truly local before allowing any data transmission. Prevents accidental cloud routing.
Type /phi to enable or disable. Visual indicator in the status bar. All restrictions apply immediately and persist across sessions.
/dev scans 40+ tools across multiple categories. Missing something? Select it and emprise installs it with platform-aware package managers.
CLI and Desktop app available for macOS, Linux, and Windows.
| Platform | Desktop | CLI | Notes |
|---|---|---|---|
| macOS (Apple Silicon) | Desktop DMG | CLI | Both signed + notarized — no Gatekeeper warnings |
| Windows (amd64) | NSIS Installer | CLI .exe | Bootstraps WebView2 if missing |
| Linux (amd64) | tar.gz | CLI | Needs libwebkit2gtk-4.0-37 + libgtk-3-0 |
Install script auto-detects your platform on macOS and Linux. Update anytime with emprise update — checks on launch and atomically swaps in the new binary.
Source is private. If a binary you need isn't in the latest release, please file an issue — it's a CI matter, not a build-it-yourself one.
rm -rf /, dd, mkfs and other destructive operations are hard-blocked and will never run.
/etc, /usr, /System, and home dotfiles are protected from modification.
Every tool call is shown with its arguments and output. Nothing runs hidden.
Tools run asynchronously. Press esc or ctrl+c to cancel any operation at any time.
Your data is only sent to the LLM provider you configured. Nothing else phones home.
Comprehensive test suite covering tools, prompts, config, providers, and safety mechanisms.