# CodeMirror — card for AI agents

Extensible code editor for the browser with rich language support.

Category: Markdown, editors and content · npm package `@codemirror/view` · latest version 6.43.15 (checked 2026-11-01)
Install: `npm install @codemirror/view`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 70.4 (#370 of all tools, 20 of 149 in its category)
- Used in 44 public projects set up for AI coding agents (0.7%)
- Downloads last week: 26,396,050 (as of 2026-11-24), +61.6% over 4 weeks

## Often used with
Tailwind Merge 59.1%, clsx 59.1%, Class Variance Authority 54.5%, UIW CodeMirror 40.9%, Playwright (JavaScript) 52.3%, React 70.5%

## Checked alternatives (same job)
- Tiptap: https://agentgid.com/tools/tiptap/agent.md
- Monaco Editor: https://agentgid.com/tools/monaco-editor/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/codemirror/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
