TypeScript framework for building agents & workflows
Top 62.6% on sourcepulse
GenSX is a TypeScript framework for building LLM-powered agents and workflows, targeting developers familiar with React. It simplifies complex LLM interactions by enabling users to compose reusable, pure-function components using a JSX-like syntax, offering a familiar and type-safe development experience with built-in streaming and parallel execution.
How It Works
GenSX abstracts away the complexities of LLM orchestration by allowing developers to define workflows as a composition of components, akin to React components. These components are pure TypeScript functions that encapsulate LLM calls or other logic. The framework manages the execution flow, automatically handling parallel execution where dependencies allow, and supports seamless streaming of responses. This approach contrasts with traditional graph-based LLM frameworks, offering a more intuitive, top-down, and code-centric composition model.
Quick Start & Requirements
pnpm install
pnpm start:example
or cd examples/ && pnpm start
pnpm
.Highlighted Details
Maintenance & Community
CONTRIBUTING.md
.Licensing & Compatibility
Limitations & Caveats
The framework is described as "simple" and "easy to learn," suggesting it may be best suited for straightforward workflows or as an entry point into LLM agent development. The README does not detail advanced features like complex state management, error handling strategies beyond basic composition, or performance benchmarks against other LLM frameworks.
3 days ago
1 day