fixie-ai/ai-jsx
A TypeScript/JavaScript framework for building AI applications using JSX-based prompt engineering and dynamic UI rendering.

AI.JSX is a framework for building AI applications using JavaScript and JSX. It allows developers to compose LLM prompts through modular, reusable components and enables LLMs to dynamically render React UI at runtime. The framework provides built-in support for tools, document question answering, and streaming, with seamless integration for Next.js, React, and LangChain. Multiple model providers including OpenAI, Anthropic, and Llama2 are supported.