Welcome to DioscHub Documentation
What is DioscHub?
DioscHub is an enterprise-grade AI assistant platform that enables seamless integration of intelligent conversational AI into any web application. Built with modularity, security, and performance in mind, DioscHub provides a complete solution for adding AI capabilities to your existing systems without requiring extensive modifications.
Key Features
Modular Web Components
Framework-agnostic components built with Stencil.js that work with React, Vue, Angular, or vanilla JavaScript:
- diosc-agent: Headless agent manager for invisible AI integration
- assistant-bot: Full-featured chat interface with streaming
- diosc-action-button: AI-powered buttons for quick actions
- diosc-form: AI-enhanced form processing
BYOA (Bring Your Own Authentication)
Revolutionary approach where the AI borrows the user's authentication instead of having its own credentials:
- AI operates with user's exact permissions
- Clear audit trails (actions show as user, not "AI bot")
- Zero credential management
- Automatic multi-tenancy support
- Works with any auth system (JWT, OAuth, sessions, API keys)
Learn more in BYOA Concepts.
MCP Integration
Connect to legacy systems and external APIs via Model Context Protocol:
- Global tool loading per session with user authentication
- Context injection for smarter API calls
- Auto-invoke for proactive data loading
- Connection pooling and caching
Learn more in MCP Concepts and MCP Development Guide.
Role-Based Behavior
Configure different AI behaviors based on user roles:
- Different system prompts per role
- Tool access control
- Custom greeting messages
- Permission-based features
Learn more in Roles Concepts.
Real-Time Streaming
WebSocket-based communication with graceful degradation:
- Typewriter effect with token buffering
- Tool and task delegation
- REST API fallback
Quick Start
Get started in under 5 minutes:
<!-- Add chat interface to any webpage -->
<script type="module" src="https://unpkg.com/@diosc-ai/assistant-kit@latest"></script>
<diosc-chat
backend-url="https://your-hub.example.com"
api-key="your-api-key">
</diosc-chat>
See the Client SDK Reference for complete API documentation.
Documentation Sections
Core Concepts
Understand how Diosc works:
- What is DioscHub? - Platform overview
- BYOA - Bring Your Own Authentication
- Sessions - Conversation management
- MCP - Model Context Protocol
- Roles - Role-based behavior
Frontend Integration
Integrate Diosc into your application:
MCP Development
Build MCP servers to connect your APIs:
Admin Portal
Configure and manage assistants:
Reference
- Client SDK Reference - Web component APIs
- User Resolution - User resolver webhook
Next Steps
For Frontend Developers
- Get started quickly: Follow the integration guide for your framework
- Explore the API: Read the Client SDK Reference
- Understand core concepts: See What is DioscHub?
For Backend Developers
- Build MCP servers: Follow the MCP Development Guide
- Implement user resolution: See User Resolution
- Handle authentication: Read MCP Authentication
For Administrators
- Configure assistants: Start with the Admin Portal Overview
- Set up roles: Define role-based behavior in Role Configuration
- Connect MCP servers: See MCP Server Configuration
DioscHub: Enterprise-grade AI assistant platform with modular components, BYOA authentication, and seamless legacy integration.