# tlDiagram > tlDiagram is a C4-inspired architecture diagramming ecosystem for building, nesting, and exploring complex distributed systems. It ships as a web/desktop editor, the `tld` command-line tool, a hosted Protobuf API with generated SDKs, and an MCP server for coding agents. Install the CLI with `curl -LsSf https://tldiagram.com/install.sh | sh`, then run `tld serve --open` to launch the local editor. Hosted API access uses an API key created from account settings. Start here: [Quick Start](https://tldiagram.com/docs/tld/quick-start/). Append `.md` to any docs URL for a raw Markdown source, or request any HTML page with `Accept: text/markdown` to receive a Markdown representation. ## Quick start - [Quick Start](https://tldiagram.com/docs/tld/quick-start/): Install the CLI, start a server, and publish a diagram in five minutes. ([Markdown](https://tldiagram.com/docs/tld/quick-start.md)) - [Introduction](https://tldiagram.com/docs/): Overview of the tlDiagram ecosystem and how the docs are organized. ([Markdown](https://tldiagram.com/docs/index.md)) - [Core Concepts](https://tldiagram.com/docs/core-concepts/): The hierarchy and linking mental model behind tlDiagram. ([Markdown](https://tldiagram.com/docs/core-concepts.md)) ## CLI reference (`tld`) - [Workspace & Init](https://tldiagram.com/docs/tld/workspace/): Workspace structure, initialization, and architecture-as-code. ([Markdown](https://tldiagram.com/docs/tld/workspace.md)) - [Configuration](https://tldiagram.com/docs/tld/configuration/): Global config, workspace config, and environment variables. ([Markdown](https://tldiagram.com/docs/tld/configuration.md)) - [Linting Rules](https://tldiagram.com/docs/tld/linting-rules/): Quality checks and strictness levels for diagrams. ([Markdown](https://tldiagram.com/docs/tld/linting-rules.md)) - [CRUD Commands](https://tldiagram.com/docs/tld/crud/): Add, connect, remove, rename, and update elements, connectors, and views. ([Markdown](https://tldiagram.com/docs/tld/crud.md)) - [index](https://tldiagram.com/docs/tld/indexing/): Index a repository into the code graph, one-shot or watching Git. ([Markdown](https://tldiagram.com/docs/tld/indexing.md)) - [git compare](https://tldiagram.com/docs/tld/git-compare/): Visualize the architectural impact between two Git revisions. ([Markdown](https://tldiagram.com/docs/tld/git-compare.md)) - [login & pull](https://tldiagram.com/docs/tld/sync/): Authenticate the CLI and pull server state into local YAML. ([Markdown](https://tldiagram.com/docs/tld/sync.md)) - [serve](https://tldiagram.com/docs/tld/serve/): Run a local tlDiagram instance with the full editor. ([Markdown](https://tldiagram.com/docs/tld/serve.md)) - [list & inspect](https://tldiagram.com/docs/tld/query/): List resources, inspect state, and render views as Mermaid. ([Markdown](https://tldiagram.com/docs/tld/query.md)) - [validate](https://tldiagram.com/docs/tld/validate/): Validate workspace YAML and confirm diagrams are current. ([Markdown](https://tldiagram.com/docs/tld/validate.md)) - [config](https://tldiagram.com/docs/tld/config-cmd/): Inspect and manage global CLI configuration. ([Markdown](https://tldiagram.com/docs/tld/config-cmd.md)) - [mcp](https://tldiagram.com/docs/tld/mcp/): Model Context Protocol server exposing tld tools to AI agents. ([Markdown](https://tldiagram.com/docs/tld/mcp.md)) ## Editor UI - [Editor](https://tldiagram.com/docs/ui/editor/): Place elements, connect relationships, and drill into nested detail. ([Markdown](https://tldiagram.com/docs/ui/editor.md)) - [Diagrams](https://tldiagram.com/docs/ui/diagrams/): Move between architecture views and layouts. ([Markdown](https://tldiagram.com/docs/ui/diagrams.md)) - [Inventory](https://tldiagram.com/docs/ui/inventory/): Search, filter, and maintain every element, view, and connector. ([Markdown](https://tldiagram.com/docs/ui/inventory.md)) - [Settings](https://tldiagram.com/docs/ui/settings/): Customize colors, editor options, and experiments. ([Markdown](https://tldiagram.com/docs/ui/settings.md)) - [Mermaid Integration](https://tldiagram.com/docs/ui/mermaid/): Export diagrams to Mermaid inside Markdown notes. ([Markdown](https://tldiagram.com/docs/ui/mermaid.md)) ## API, MCP & agent skills - [API SDKs](https://tldiagram.com/docs/api/): Protobuf-defined API with official SDKs hosted on Buf. ([Markdown](https://tldiagram.com/docs/api.md)) - [OpenAPI description](https://tldiagram.com/.well-known/openapi.json): Machine-readable API description (OpenAPI JSON). - [API catalog](https://tldiagram.com/.well-known/api-catalog): RFC 9727 linkset describing the API surface. - [MCP server](https://tldiagram.com/docs/tld/mcp/): stdio MCP server and tool list for agent integrations. - [Agent skill](https://raw.githubusercontent.com/Mertcikla/tld/refs/heads/main/skills/create-diagram/SKILL.md): Skill file that teaches an agent to diagram a codebase. - [Agent index](https://tldiagram.com/.well-known/agent-index.json) and [Agent card](https://tldiagram.com/.well-known/agent-card.json): Discovery metadata for the tlDiagram MCP endpoint. ## Product - [Homepage](https://tldiagram.com/): Product overview, features, and download links. - [Pricing](https://tldiagram.com/pricing): Plans, prices, and per-seat limits. - [Install script](https://tldiagram.com/install.sh): One-line CLI installer.