1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Newt-Agent inference layer.
//!
//! - `backend::InferenceBackend` is the trait every backend implements.
//! - `local::LocalOllamaBackend` and `local::LocalVllmBackend` are the only
//! backends compiled into the default Newt binary.
//! - `provider_plugin::ProviderPluginBackend` spawns a subprocess that
//! speaks the Newt-Provider JSON-RPC protocol — this is how OpenAI,
//! Anthropic, etc. join via opt-in plugin installs.
/// In-process **embedder** (#720) — opt-in behind the `embedded` feature.
/// In-process inference backend (#639) — opt-in behind the `embedded` feature.
/// Curated palette of mini models for in-process inference (always available).
/// Independent bounded auxiliary inference for the smart harness.
// Step 9.7: the shared retry/backoff module moved to `newt-core` so the
// relocated agentic loop (`newt_core::agentic`) can use it without a
// `newt-inference` ⇄ `newt-core` cycle. Re-exported here so every existing
// `newt_inference::retry::*` path keeps working unchanged.
pub use retry;
pub use AnthropicBackend;
pub use ;
pub use ;
pub use BackendRegistry;
pub use ;