{
 "kind": "tool",
 "slug": "prompt-toolkit",
 "path": "tools/prompt-toolkit/",
 "name": "prompt-toolkit",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Build powerful interactive command-line applications in Python.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install prompt-toolkit"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/prompt-toolkit/python-prompt-toolkit"
  },
  {
   "label": "Website",
   "href": "https://github.com/prompt-toolkit/python-prompt-toolkit"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/prompt-toolkit/python-prompt-toolkit"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 20, 2026",
   "note": "Latest GitHub release Jul 26, 2026. ",
   "src": "https://github.com/prompt-toolkit/python-prompt-toolkit"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "35 projects",
   "status": "info",
   "sub": "#38 of 299 in its category",
   "note": "Dependency in 35 public GitHub projects set up for AI coding agents that we scanned (0.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What prompt-toolkit does",
   "parts": [
    {
     "t": "prose",
     "text": "Build powerful interactive command-line applications in Python."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "prompt-toolkit popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "76",
       "of": "/ 100",
       "l": "Gid Score, #179 overall"
      },
      {
       "n": "53.4M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "10.6K",
       "l": "GitHub stars"
      },
      {
       "n": "35",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How prompt-toolkit is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "prompt-toolkit is a dependency in 35 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.2% of the 1,623 Python ones), #38 of 299 in dev workflow and config.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 771; those are left out of every share on this page.",
      "The most used alternative in our scan is Rich (222 projects).",
      "Projects that use it most often also use Rich (82.9%), Pydantic (74.3%), PyYAML (65.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "23 projects, 0.7%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "9 projects, 2.7%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "9 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 82.9% of its projects",
       "v": "Rich",
       "path": "tools/rich/"
      },
      {
       "l": "In 74.3% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 65.7% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 62.9% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 57.1% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 51.4% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 51.4% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 51.4% of its projects",
       "v": "websockets",
       "path": "tools/websockets/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about prompt-toolkit",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "python-dotenv",
         "path": "tools/python-dotenv/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Pydantic Settings",
         "path": "tools/pydantic-settings/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        },
        {
         "text": "chalk",
         "path": "tools/chalk/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "prompt-toolkit",
       "me": true,
       "facts": [
        "BSD",
        "Gid 76",
        "53.4M/wk"
       ]
      },
      {
       "name": "Rich",
       "why": "Python library for rich text and beautiful formatting in terminal output.",
       "path": "tools/rich/",
       "facts": [
        "MIT",
        "Gid 86",
        "141M/wk"
       ]
      },
      {
       "name": "Click",
       "why": "Python package for composing command-line interfaces with decorators.",
       "path": "tools/click-py/",
       "facts": [
        "BSD-3-Clause",
        "Gid 82",
        "268M/wk"
       ]
      },
      {
       "name": "Typer",
       "why": "Framework for building CLI applications using Python type hints.",
       "path": "tools/typer/",
       "facts": [
        "MIT",
        "Gid 79",
        "74.7M/wk"
       ]
      },
      {
       "name": "IPython",
       "why": "Interactive Python shell with enhanced features for productive computing.",
       "path": "tools/ipython/",
       "facts": [
        "BSD-3-Clause",
        "Gid 76",
        "27.3M/wk"
       ]
      }
     ],
     "more": "Compare prompt-toolkit with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install prompt-toolkit"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for prompt-toolkit yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi prompt-toolkit"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "BSD"
  ],
  [
   "Gid Score",
   "76.1"
  ],
  [
   "Rank in category",
   "#38 of 299"
  ],
  [
   "GitHub",
   "prompt-toolkit/python-prompt-toolkit"
  ],
  [
   "Last change",
   "Oct 20, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/prompt-toolkit.png"
}