albert-runtime 1.1.2

Conversation runtime for Albert CLI — session management, MCP, OAuth, bash execution, tool use and compaction
Documentation

albert-runtime

Core conversation runtime for Albert CLI — part of the Ternary Intelligence Stack.

Crates.io License: MIT

What this crate provides

  • Session management — persistent conversation history, context compaction, sliding-window memory
  • MCP client — stdio and network transport for the Model Context Protocol
  • OAuth / credentials — PKCE flow, token storage in ~/.config/albert/
  • Bash execution — sandboxed shell with deny-first AST interception
  • Permissions — runtime policy enforcement; blocks dangerous command patterns before they reach the OS
  • Config loading — resolves ALBERT.md, .ternlang.json, and provider credentials in priority order

Part of the Albert ecosystem

Crate Role
albert-runtime This crate — session, MCP, auth, bash
albert-api Multi-provider LLM client
albert-commands Slash command library
albert-tools Tool execution layer
albert-compat Manifest extraction harness
albert-cli Binary (albert)