stockpot-core 0.22.2

Core library for Stockpot AI coding assistant
Documentation

stockpot-core

Core library for Stockpot, an AI-powered coding assistant.

Features

  • AI Agent Framework - Build and orchestrate AI coding agents
  • Tool System - File operations, grep, shell commands, and more
  • Multi-Provider Support - OpenAI, Anthropic, Google, local models
  • MCP Integration - Model Context Protocol for extensibility
  • Session Management - Persistent conversation history
  • Terminal Emulation - Full PTY support for interactive commands

Installation

[dependencies]
stockpot-core = "0.22.0"

Usage

use stockpot_core::agents::manager::AgentManager;
use stockpot_core::config::Settings;
use stockpot_core::db::Database;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    // Initialize database
    let db = Database::open_default().await?;
    
    // Load settings
    let settings = Settings::load()?;
    
    // Create agent manager
    let manager = AgentManager::new(db, settings).await?;
    
    // Use agents...
    Ok(())
}

Crate Structure

This is part of the Stockpot workspace:

  • stockpot-core (this crate) - Core library with all business logic
  • stockpot-tui - Terminal user interface
  • stockpot-gui - Graphical user interface (build from source)

License

MIT - See LICENSE