Built on top of AI.JSX

React-compatible, not React-based

micro-agi similarly to AI.JSX (opens in a new tab) is not React (opens in a new tab), but it integrates seamlessly with it.

micro-agi is built on top of AI.JSX. AI.JSX key features include:

  • It enables developers, especially those familiar with front-end development, to build AI-powered applications using a familiar syntax.
  • AI.jsx supports various models and providers, offers full React integration, and allows for the creation of custom UI components and the invocation of custom tools and APIs.
  • The framework is designed for easy use and integration.

Why JSX?

Superior Abstraction and Flexibility

  • Declarative Composition: AI.JSX uses JSX to handle both string and logic composition, replacing prompt templates and chains. This approach allows for a more declarative and explicit composition of logic and data flow. It's an abstraction that simplifies understanding and enhances flexibility in constructing LLM-based applications.
  • Better Primitives: The choice of primitives in AI.JSX, facilitated by JSX, offers a more granular and intuitive building block for developers. These primitives can be easily and explicitly composed, leading to a design that is easier to understand and work with, compared to the more rigid structure of chains.

Enhanced Orchestration Framework

  • Ease of Connection: AI.JSX makes it straightforward to connect the output of one LLM call to the input of another, providing a seamless flow of data and logic across components.
  • Reusability and Encapsulation: Unlike chains that abstract away too much, including passing values and applying logic, AI.JSX embraces the function paradigm for its reusability and encapsulation benefits. This approach avoids forcing developers to learn new semantics for operations they are already familiar with.

Interoperability with LangChain's Ecosystem

  • Integration with Tools: AI.JSX easily integrates with LangChain's ecosystem, including tools like PDF file loaders and various vector databases (e.g., Pinecone). These integrations are streamlined because they are treated as functions within AI.JSX, making it simple to leverage the existing infrastructure and capabilities of LangChain within an AI.JSX-based application.
  • Seamless Use of LangChain Features: You can still utilize LangChain's offerings, such as chains and prompt templates, within AI.JSX. This is because these features are implemented as functions that can be directly called and their results integrated into JSX components, offering a seamless bridge between AI.JSX and LangChain's functionalities.