Skip to main content

Extending Guide Index

Why do we need framework extensions?

JitAi provides a rich set of official development frameworks, but in real business scenarios, you may encounter:

  • Industry-specific requirements not yet covered by the official framework
  • Existing component functionality that's close but needs customization
  • Internal enterprise standards requiring unified custom component libraries

Framework extensions are designed to solve these problems, enabling you to build solutions that meet specific requirements on top of the JitAi ecosystem.

Must understand JAAP first

Before extending the JitAi development framework, developers must have a thorough understanding of the JAAP (JitAi AI Application Protocol) specifications, particularly the concepts of Meta, Type, and Instance elements and their relationships. If you intend to override or rewrite the official framework, you'll also need to understand the principles of inheritance and overriding.

Click here to learn JAAP

Problem-oriented guide

What You Want to AchieveRelated Documentation
Add a custom chart component that's not available in JitAiExtend Your Own UI Component Type Elements
Make my custom components configurable through drag-and-drop interfaceDeveloping Visual Editors for UI Component Type Elements
Integrate third-party services like Slack bots or IoT devicesExtend Your Own Element Families
Create user-friendly configuration panels for my backend integrationsDeveloping Visual Editors for Backend Type Elements
Build custom page templates with specific layouts and behaviorsExtend Your Own Page Type and Editor
Connect to proprietary databases or data sourcesExtend Your Own Database Type Elements
Work with custom data formats or business objectsExtend Your Own Data Model Type Elements
Integrate specialized AI models or custom LLM workflowsExtend Your Own AI Agent Type Elements
Create domain-specific AI assistants for your businessExtend Your Own AI Assistant Type Elements
Add support for regional payment gateways or custom billingExtend Your Own Payment Type Elements

Extension types

New extensions

Create entirely new Type elements and their visual editors, suitable for functionality completely absent from the official framework.

Inheritance extensions

Extend and modify existing Type elements while maintaining API compatibility (Liskov Substitution Principle).

Implementation approaches:

  • Complete rewrite: Reimplement all logic while maintaining consistent external interfaces
  • Incremental modification: Make local adjustments based on existing logic while maintaining interface consistency

Community support

  • For issues encountered during extension development, get help through the community forum
  • Excellent extension implementations are welcome to be shared with the community for other developers to learn
  • Extensions with universal value have the opportunity to be integrated into the official framework