Examples# This section provides practical examples of using Malevich Brain for various applications. Simple Assistant Basic Tools Creating the Assistant Streaming Responses Complete Example Web Search Agent Implementing a Web Search Tool Creating a Mock Implementation Building the Web Search Agent Complete Example Document Question Answering Document QA Tool Setting Up the Document QA Agent Complete Example Chat Memory with Callbacks Building a Memory System Creating Memory-Related Tools Setting Up Memory Callbacks Creating the Agent with Memory Complete Example Alternative Approach: Stateful Tool