cinch ai
cinch ai is the explicit AI boundary in Cinch. It does not run during copy, send, pull, desktop sync, or cinch mcp.
v1 has one workflow:
cat error.log | cinch ai fixcinch ai fix latestcinch ai fix 01HXABCDUse --no-send to generate the prompt only:
cargo test 2>&1 | cinch ai fix --no-sendcinch ai fix latest --no-sendInput priority:
- stdin, when piped
latest, from the local store- a clip ID prefix, from the local store
--copy copies the prompt or provider answer back to your system clipboard.
Provider boundary
Section titled “Provider boundary”If no provider is configured, cinch ai fix behaves like --no-send: it prints the AI-ready prompt and does not call a provider.
Supported provider names:
| Provider | Use case |
|---|---|
hosted-bedrock | Cinch-operated managed provider for hosted distributions. Requires operator endpoint config. |
bedrock-byok | BYOK AWS Bedrock boundary for self-hosters and developers. The v1 CLI documents the boundary; AWS request signing is not wired into this binary yet. |
openai-compatible | Ollama, LM Studio, llama.cpp servers, or OpenAI-compatible APIs. |
OpenAI-compatible local example:
export CINCH_AI_PROVIDER=openai-compatibleexport CINCH_AI_BASE_URL=http://localhost:11434/v1export CINCH_AI_MODEL=llama3.1
cargo test 2>&1 | cinch ai fixHosted provider example:
export CINCH_AI_PROVIDER=hosted-bedrockexport CINCH_AI_HOSTED_URL=https://api.example.com/ai/fixexport CINCH_AI_HOSTED_TOKEN=...
cinch ai fix latestPrivacy model
Section titled “Privacy model”- AI provider calls happen only under
cinch ai. --no-senddoes not call an AI provider.cinch mcpis read-only, and local-only by default; it contacts the relay only for fleet-scoped reads (CINCH_MCP_FLEET=1).cinch copy,cinch send,cinch pull, and desktop sync do not call AI providers.- Provider errors print the assembled prompt so the context is not lost.
Was this page helpful?