OSOpenSyntax
OpenSyntax Documentation

Terminal-first AI coding assistant for real engineering work.

OpenSyntax helps developers inspect repositories, connect model providers, edit files safely, run commands, and keep AI workflows inside the terminal.

npm install -g opensyntax
opensyntax "fix TypeScript errors"

Why OpenSyntax?

OpenSyntax is built for developers who want AI assistance without leaving the command line. It is provider-aware, git-aware, permission-controlled, and designed around explicit tool execution instead of hidden side effects.

Workspace aware

Reads, searches, patches, and validates code from the active project folder.

Safe by default

Uses permission levels, path guards, risky command detection, and patch-style edits.

Provider flexible

Connect OpenAI, Claude, Gemini, OpenRouter, NVIDIA NIM, local providers, and more.

Supported providers

OpenAIAPI key, OpenAI-compatible chat completions.
ClaudeAnthropic API key support.
GeminiGoogle Gemini API key support.
NVIDIA NIMOpenAI-compatible endpoint at NVIDIA Integrate.
OpenRouter, Groq, DeepSeek, Mistral, Together AIProvider-specific base URLs and model defaults.
Ollama and LM StudioLocal OpenAI-compatible model servers.

Quick start

1. Connect a provider

opensyntax auth

2. Open a project

cd your-project
opensyntax

Explore the docs