Kowalski
A comprehensive Rust-based agent framework for interacting with Ollama models and building AI-powered applications.
Overview
Kowalski is a modular framework that provides everything you need to build sophisticated AI agents. The framework is organized into specialized crates that can be used independently or together.
Architecture
Core Components
kowalski-core: Basic agent infrastructure, types, and utilitieskowalski-agent-template: Templates and builders for creating custom agentskowalski-tools: Collection of tools for web scraping, data processing, and morekowalski-federation: Multi-agent coordination and communication
Specialized Agents
kowalski-academic-agent: Research and academic paper analysiskowalski-code-agent: Code analysis, refactoring, and generationkowalski-data-agent: Data analysis and processing (optional feature)kowalski-web-agent: Web research and information gathering
Installation
Add to your Cargo.toml:
[]
= "0.5.0"
# Optional: Enable data analysis capabilities
= { = "0.5.0", = ["data"] }
Quick Start
use ;
async
Using Specialized Agents
Academic Research
use AcademicAgent;
let agent = new?;
let analysis = agent.analyze_paper.await?;
Code Analysis
use CodeAgent;
let agent = new?;
let refactored = agent.refactor_code.await?;
Web Research
use WebAgent;
let agent = new?;
let research = agent.research_topic.await?;
Features
- Modular Design: Use only the components you need
- Async/Await: Built on Tokio for high-performance async operations
- Tool Integration: Rich ecosystem of tools for various tasks
- Multi-Agent Coordination: Build complex systems with multiple agents
- Extensible: Easy to add custom tools and agents
Documentation
License
MIT License - see LICENSE file for details.