Developer Resources
GeniSpace provides open-source components and SDKs that enable developers to build AI applications, custom operators, and chat plugins on the platform. This chapter introduces the available developer resources and entry points.
GeniSpace Developer Community
GitHub Organization: https://github.com/genispace
GeniSpace maintains multiple open-source projects on GitHub, covering SDKs, operator frameworks, chat plugins, and more. Developers can access source code, submit Issues, and create Pull Requests.
JavaScript SDK
Repository: https://github.com/genispace/sdk-javascript
The official JavaScript/TypeScript SDK for building AI applications on the GeniSpace platform, providing comprehensive API access capabilities.
Key Capabilities
- User management, API key management
- Agent management, conversations, and task execution
- Task management, execution, and logging
- Type safety, automatic retries, unified error handling
Quick Start
npm install genispace
import GeniSpace from 'genispace';
const client = new GeniSpace({
apiKey: 'your-api-key',
baseURL: 'https://api.genispace.ai' // China region can use https://api.genispace.cn
});
const user = await client.users.getProfile();
For detailed usage, refer to the SDK Repository README and the Developer Documentation SDK Section.
Open-Source Operator Framework
Repository: https://github.com/genispace/genispace-operators-custom
A zero-learning-curve operator development framework based on the standard OpenAPI specification, enabling you to quickly wrap business services into GeniSpace-compatible operators.
Key Features
- Based on OpenAPI 3.0, no new syntax to learn
- Configuration files + route files are all you need for operator development
- Supports GeniSpace platform API Key authentication
- One-click import into the GeniSpace platform
Quick Start
git clone https://github.com/genispace/genispace-operators-custom.git
cd genispace-operators-custom
npm install
npm start
For a detailed development guide, refer to the Operator Repository README.
Agent Chat Plugins
Repository: https://github.com/genispace/chat-plugins
A framework for developing remote plugins for GeniSpace chat applications, supporting custom conversation interfaces, forms, approval workflows, and more.
Key Features
- Independently deployed, dynamically loaded via HTTP URL
- React-based plugin development
- Supports bidirectional communication between plugins and the Chat application
- Built-in examples: Hello World, expense reports, travel requests, etc.
Quick Start
git clone https://github.com/genispace/chat-plugins.git
cd chat-plugins
npm install
npm run dev
For a detailed development guide, refer to the Plugin Repository README.
Related Documentation
- Applications Overview — Introduction to console, chat, workbench, and other sub-applications
- API Documentation — REST API reference
- Custom Operators — Configure and use operators on the platform