Building complex, agentic LLM workflows is challenging.
Basic APIs like OpenAI’s and Hugging Face’s are powerful, but they can’t handle complex, multi-step AI workflows on their own. Frameworks like Langraph, CrewAI and AutoGen try to fill this gap, but they’re often too abstract or rigid for custom, fine-tuned LLM pipelines. What if there was a flexible, reactive way to build any LLM-powered workflow you can imagine? I’m intrigued. Go on… Say hello to SmartGraph. Hello, SmartGraph! What’s your story? SmartGraph is a reactive Python framework that lets you build tailored, complex LLM applications with the ease of assembling Lego blocks. It’s flexible enough for any workflow, yet powerful enough to handle sophisticated AI agents and data transformations. You’ve piqued my curiosity. Show me more! It’s unlike anything you’ve worked with before. The best way to grasp its power is to see it in action. Grab your lab coat and safety goggles – we’re about to conduct some serious AI experiments. …I’ll fire up my quantum computerOk, let’s see some code
Here’s a real-time search assistant built with SmartGraph.How the heck does this work?
- SmartGraph sets up a reactive pipeline with modular components (like TextInputHandler and CompletionComponent).
- When a search query comes in, it flows through the pipeline.
- The DuckDuckGoToolkit performs a web search based on the query.
- The CompletionComponent uses the search results and the original query to generate a response with the LLM.
- SmartGraph manages the entire flow, handling state and asynchronous operations seamlessly.
Why SmartGraph?
- Reactive Core: Built on ReactiveX, SmartGraph makes handling complex, event-driven workflows a breeze.
- LLM-First: Tailored for AI applications, with optimized components for working with language models.
- State Management: Handling state across multiple API calls and LLM interactions? SmartGraph’s got you covered.
- Visualize Your AI: Understand your AI pipelines at a glance with built-in visualization tools.
Installation: As easy as ABC
Getting started with SmartGraph is as simple as:Exciting things to come…
SmartGraph is constantly evolving. Join our mailing list, and we’ll send you updates about the framework and upcoming educational materials. (You’ll also get the occasional AI wisdom drops, unsubscribe anytime) [Subscribe Button] We won’t send you spam. Only golden AI nuggets from our neural networks. Unsubscribe at any time.In Conclusion
SmartGraph brings the reactive programming paradigm to the world of AI and LLM applications. It’s not just a library; it’s a new way of thinking about and building AI-powered systems. Ready to simplify your LLM application development? Dive into the following sections to explore SmartGraph’s core concepts, advanced features, and best practices. Let’s revolutionize AI development together!Next Steps
To dive deeper into SmartGraph’s capabilities and learn how to build more complex applications, check out the following sections:- Core Concepts: Learn about the fundamental building blocks of SmartGraph.
- Controlling Flow: Discover how to create dynamic workflows using piplines and inputs handlers.
- State Management: Understand how to manage application state.
- AI Assistants: Learn how to integrate and leverage AI assistants in your SmartGraph applications.
- Custom Components: Explore how to extend SmartGraph with your own specialized components.