AI Glot websiteOpen AI Glot
CLICLI Quickstart

CLI Quickstart

Installieren Sie die AI Glot command-line interface, authentifizieren Sie sich mit OAuth oder einem API-Key und überprüfen Sie den Workspace-Zugriff aus einem Terminal.

Die AI Glot CLI ist ein Wrapper der REST API für Menschen, CI-Jobs und Coding-Agenten. Erforderlich ist Node.js 20 oder neuer.

Installation

Ohne Installation ausführen
npx @ai-glot/cli account
Global installieren
npm install --global @ai-glot/cli
aiglot --help

Authentifizierung

Terminal
aiglot auth login

Die CLI öffnet AI Glot, bittet Sie, den Workspace und die Berechtigungen zu bestätigen, und speichert anschließend die OAuth-Anmeldedaten sicher. Dies ist der empfohlene Weg für Personen.

Terminal
aiglot auth login --device

Verwenden Sie den Device-Login über SSH oder wenn die Maschine keinen Browser öffnen kann.

Terminal
aiglot auth login --key "$AIGLOT_API_KEY"

Verwenden Sie einen Workspace-Key für CI oder einen Server. Die Übergabe über die Befehlszeile kann dazu führen, dass der Key im Shell-Verlauf landet; eine Umgebungsvariable ist sicherer.

Verbindung überprüfen

Terminal
aiglot auth status
aiglot account
aiglot doctor

account zeigt den Workspace, den Plan, die Funktionen und Berechtigungen an. doctor prüft die Konnektivität, Authentifizierung, die CLI-Version und Zeitabweichungen.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search AI Glot Docs documentation and read it in full, instead of answering from memory.

https://ai-glot.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://ai-glot.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.