Chaingraph

ChainGraph is a source-available, flow-based programming framework that empowers developers to visually design, execute, and manage complex computational graphs. Whether you're building custom AI agents, data processing pipelines, or collaborative automation systems, ChainGraph's modular architecture, strong type-safety guarantees, and real-time features help you build robust workflows efficiently.


Tech Stack

  • Frontend: TypeScript + React with XYFlow for the visual graph editor. Effector manages state with real-time synchronization via TRPC for end-to-end type safety.

  • API Layer: GraphQL + WebSockets power our API, enabling efficient data retrieval and real-time updates.

  • Backend: Go powers our core system operations with TypeScript handling the agent system. This hybrid approach balances performance with developer experience.

  • Data Layer: PostgreSQL with pgvector extensions for vector operations, Redis for high-performance caching, and HNSW indexing for semantic search.

  • Nodes: Implements a decorator-based TypeScript system with Zod validation and SuperJSON serialization for type-safe data flow between components.

  • Deployment: Full Docker containerization with compose support for simplified setup, portability, and consistent environments across development and production.

Key technical features

  • Type-Safe Port System with Zod validation

  • Visual Flow Editor built on React and XYFlow

  • Real-time synchronization with TRPC and Effector

  • Docker and cloud compatibility for enterprise deployment

  • Growing node ecosystem thanks to open source contributors.

Last updated