EveryDev.ai
Subscribe
Home
Tools

3,804+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. cdai
    cdai icon

    cdai

    Command Line Assistants

    An AI-enhanced cd command that lets you jump to directories by intent, fuzzy name, or natural language, with a crawled index so unvisited folders are reachable.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT License. Install via Homebrew or npm.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Command Line AssistantsAI Coding AssistantsTerminal & Session Management

    Alternatives

    HumanSHSessionCastwallfacer
    Developer
    Franz EnzenhoferFranz Enzenhofer builds open-source developer tools focused…

    Listed Sep 2026

    About cdai

    cdai is an open-source, MIT-licensed CLI tool by Franz Enzenhofer that replaces the standard cd shell command with an intent-aware directory navigator. It indexes configured root directories so that folders you have never visited before are still searchable, and it optionally uses an LLM as a re-ranker over a closed candidate list — meaning the AI cannot hallucinate a path that does not exist on disk.

    What It Is

    cdai is a shell navigation tool for zsh, Bash, and Fish on macOS and Linux. It wraps the native cd command, preserving all standard behavior (explicit paths, flags, CDPATH, cd -, stack syntax), while adding a local directory index, frecency ranking, deterministic intent operators, smart Tab completion, and an optional AI fallback tier. The project is written in TypeScript, ships as a single bundled Node.js executable with zero runtime npm dependencies, and is installable via Homebrew or npm.

    How the Two-Tier Architecture Works

    cdai resolves navigation queries through two tiers:

    • Tier 1 (deterministic): Every directory name in the local index receives a match score — exact (1000), prefix (800), word boundary (600), substring (400), fuzzy (up to 380) — plus a frecency bonus and a context bonus for the current directory. Operators like latest, oldest, year tokens, and in <root> are handled without any model call. Tab completion reads only local cached state and never calls AI.
    • Tier 2 (optional AI): When no deterministic winner emerges, cdai sends up to 50 existing candidate paths to a configured LLM backend. The model may choose one exact path from that list or decline; cdai validates the answer against both the original list and the filesystem before acting. The model cannot invent a path.

    Supported AI backends include Apfel (Apple's on-device Foundation Model on macOS 26+), Claude Code, Gemini CLI, Ollama, and any one-shot CLI tool. AI can be disabled entirely with cdai setup --no-ai.

    Performance and Test Coverage

    The README reports benchmark results measured on an Apple M5 running macOS 26.1 with Node v25.1.0 against a real index of 2,467 directories. Tier 1 (exact hit) runs at a median of ~105ms total process spawn-to-exit, with roughly 30ms of actual work beyond Node startup. Tier 2 (AI fallback) takes seconds by design and is tuned to fire rarely. The v0.3.1 release suite covers 216 tests; CI runs on macOS and Linux with Node 20, 22, and 24, exercises real PTYs for Zsh, Bash, Fish 3.6, and Fish 4.8, and enforces hard latency gates (median ≤150ms, p95 ≤250ms for exact queries and cached Tab completion).

    Setup Path

    Installation is one command via Homebrew:

    brew install franzenzenhofer/tap/cdai
    

    After installation, users add a single eval line to their shell config, run cdai setup to configure root directories and choose an AI backend, and optionally run cdai doctor to verify state. Users migrating from zoxide can seed the frecency database with cdai import zoxide. Node.js 20 or later is required; Homebrew handles Node automatically.

    How It Compares to zoxide

    The README explicitly positions cdai against zoxide, which uses the same frecency aging formula. The key difference: zoxide only ranks directories already in its visit history, while cdai indexes configured roots so that a never-visited directory is a first-class candidate. cdai also adds deterministic intent operators (latest, oldest, year filters, in <root>) and a guarded natural-language fallback. The README recommends zoxide for pure visited-directory frecency and cdai when cold directories, deterministic intent, and guarded natural-language fallback justify a Node executable.

    Update: v0.3.1

    The README references v0.3.1 as the current release, with a 216-test suite and CI coverage across three Node versions and three shells. The repository was created in August 2026 and last pushed in September 2026, indicating active early development. The Homebrew tap at franzenzenhofer/homebrew-tap is the distribution channel for tagged releases.

    cdai - 1

    Community Discussions

    Be the first to start a conversation about cdai

    Share your experience with cdai, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the MIT License. Install via Homebrew or npm.

    • Full cdai CLI with all features
    • Local directory index and frecency ranking
    • Smart Tab completion
    • Optional AI backend integration
    • Shell integration for zsh, Bash, and Fish

    Capabilities

    Key Features

    • AI-enhanced cd command with intent-aware directory navigation
    • Crawled local directory index so unvisited folders are searchable
    • Frecency ranking using the same aging formula as zoxide
    • Deterministic intent operators: latest, oldest, year tokens, in <root>
    • Smart Tab completion from local cached state (no AI, no network)
    • Optional AI fallback confined to re-ranking a closed candidate list
    • Supports Apfel (on-device), Claude, Gemini, Ollama, and custom CLI backends
    • Confirmed natural-language aliases stored locally and revalidated before reuse
    • Native cd behavior preserved: explicit paths, flags, CDPATH, cd -, stack syntax
    • Zero runtime npm dependencies; single bundled Node.js executable
    • Shell integration for zsh, Bash, and Fish
    • zoxide frecency database import via cdai import zoxide
    • Hard latency gates enforced in CI (median ≤150ms for tier 1)
    • 216-test suite with real PTY tests for all three shells
    • Homebrew one-command install

    Integrations

    zsh
    Bash
    Fish
    Homebrew
    npm
    zoxide
    fzf
    Apfel (Apple Foundation Model)
    Claude Code
    Gemini CLI
    Ollama
    OpenAI-compatible CLIs
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate cdai and help others make informed decisions.

    Developer

    Franz Enzenhofer

    Franz Enzenhofer builds open-source developer tools focused on shell productivity and AI-augmented workflows. The cdai project combines a crawled directory index, frecency ranking, and a guarded LLM re-ranker to solve cold-directory navigation in the terminal. The project is MIT-licensed and distributed via a personal Homebrew tap.

    Read more about Franz Enzenhofer
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    HumanSH icon

    HumanSH

    HumanSH is an open-source CLI tool that translates plain English into reviewable shell commands directly in your terminal, without switching apps or auto-executing anything.

    SessionCast icon

    SessionCast

    Monitor and control your AI CLI terminal sessions from your mobile device with real-time streaming and bidirectional input.

    wallfacer icon

    wallfacer

    A terminal session manager for Claude Code, Cursor CLI, Kiro CLI, and Codex that lets you name, tag, search, resume, or delete AI coding sessions from a TUI or CLI.

    Browse all tools

    Related Topics

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    236 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    820 tools

    Terminal & Session Management

    Terminal emulators, multiplexers, and session managers that help developers run parallel AI coding agents, manage multiple workspaces, and maintain persistent terminal sessions.

    47 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions