Repository navigation
askx v0.1.0
One completion CLI and Go library across OpenAI/Anthropic HTTP APIs, ToolNexus ACP agents (devin, opencode, custom), and custom CLI adapters (claude, devin, opencode, copilot, gemini, custom) — with host-owned tools, MCP, skills, permission guardrails, and audit logs.
Highlights
- Multi-backend profiles (
~/.config/askx/profiles.yaml):openai,anthropic,acp, andcliadapters with${VAR}+.envexpansion and secret redaction. - Validated structured output (
--schema FILE|JSON): JSON Schema validation with automatic repair retries across every backend (#1). - Zero-config onboarding (
askx init&askx doctor): auto-discovers local Ollama/OpenAI servers, installed CLIs, and API keys (#2). - Profile fallback chains (
fallback: [...]): automatic failover on provider/transport errors, never on policy denial (#3). - Streaming (
--streamplain text &--stream-jsonNDJSON) for HTTP and ACP (#5). - Multimodal inputs (
-fimages & PDFs) with base64 scrubbed from audit logs (#6). - Named prompt templates (
-t NAME,askx template list|show|path) (#7). - Cross-platform warm daemon (
askx warm start|stop|status) for persistent ACP/CLI sessions (#8). - Token & cost budget guardrails (
--max-tokens-budget,--max-cost, exit 4) + partial usage preserved on aborted runs (#4, #9). - Public Go library (
go get github.com/muthuishere/askx@v0.1.0): concurrent-safe,CGO_ENABLED=0across macOS, Linux, and Windows (#10).
Install
go install github.com/muthuishere/askx/cmd/askx@v0.1.0
askx init && askx doctorOr download a prebuilt binary archive below.