sgr-agent 0.5.1

SGR LLM client + agent framework — structured output, function calling, agent loop, 3 agent variants
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Shared provider configuration, auth, and proxy infrastructure.
//!
//! Handles API key resolution, subscription-based auth (Claude Keychain, Codex),
//! and CLI subprocess proxies — reusable across all BAML agents.

mod auth;
mod cli_proxy;
mod codex_proxy;
mod config;

pub use auth::{
    KNOWN_PROVIDERS, ProviderAuth, ProviderEntry, load_claude_keychain_token, provider_names,
    resolve_provider,
};
pub use cli_proxy::{CliProvider, start_cli_proxy};
pub use codex_proxy::{CodexAuth, start_codex_proxy};
pub use config::{UserConfig, load_config, save_config};