newt-inference
Newt-Agent inference layer: backend trait + local Ollama/vLLM + provider-plugin host.
backend::InferenceBackendis the trait every backend implements.local::LocalOllamaBackendandlocal::LocalVllmBackendare the only backends compiled into the default Newt binary.provider_plugin::ProviderPluginBackendspawns a subprocess speaking the Newt-Provider JSON-RPC protocol — how OpenAI, Anthropic, etc. join via opt-in plugin installs.
Also provides the BackendRegistry, streaming chat types, and retry/backoff
helpers used by the rest of the workspace.
Part of Newt-Agent, a small, fast, local-first agentic coder.
License
Apache-2.0