Skip to main content
Ctrl+K
Malevich Brain - Home Malevich Brain - Home
  • Getting Started
  • User Guide
  • API Reference
  • Examples
  • Getting Started
  • User Guide
  • API Reference
  • Examples

Section Navigation

  • Working with Agents
  • Working with Tools
  • Working with LLMs
  • Using Callbacks
  • Advanced Topics
  • User Guide

User Guide#

This guide provides comprehensive information on how to use Malevich Brain effectively.

  • Working with Agents
    • Creating an Agent
    • Agent Configuration
    • Running the Agent
    • Handling Agent Output
    • Agent Execution Flow
  • Working with Tools
    • Creating Tools
    • Custom Tool Names and Descriptions
    • Using Pydantic Models for Input/Output
    • Asynchronous Tools
    • Stateful Tools
    • How Tools Are Used by Agents
    • Tool Error Handling
  • Working with LLMs
    • Available LLM Implementations
    • Using the OpenAI LLM
    • Customizing LLM Parameters
    • Streaming Responses
    • Implementing a Custom LLM
    • Working with Files
  • Using Callbacks
    • Callback System Architecture
    • Creating Callbacks
    • Callback Function Parameters
    • Event Types
    • Event Matching Rules
    • Using Callbacks with Agents
    • Synchronous vs. Asynchronous Callbacks
    • Streaming Content with Callbacks
    • Working with the CallbackStream
    • Practical Use Cases
    • Advanced Callback Patterns
    • Best Practices
    • Callback Implementation Internals
  • Advanced Topics
    • Tool Composition
    • Specialized Input/Output Types
    • Error Handling Strategies
    • Testing Agents and Tools
    • Working with Multiple Tools
    • Performance Considerations

previous

Quickstart

next

Working with Agents

This Page

  • Show Source

© Copyright 2025, Malevich AI, Co.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.