LyNexus is a community-driven AI agent platform that empowers developers to create, customize, and share intelligent agents with configurable prompts, tools, and behavior parameters. Built with flexibility and collaboration in mind, it transforms AI development into a shared experience.
Key Philosophy: Create once, share everywhere. Learn from others, build faster.
- Model Agnostic: Connect to various AI models (DeepSeek, OpenAI, Anthropic, etc.)
- Parameter Freedom: Fine-tune temperature, tokens, penalties, and more
- Custom System Prompts: Tailor AI behavior to your exact needs
- MCP Integration: Seamlessly integrate Model Context Protocol tools
- Built with React + Vite + Tailwind CSS
- Telegram-style chat interface
- Real-time streaming responses
- Dark theme optimized for long sessions
- File drag-and-drop support
- Multi-conversation management
- Export chats as TXT, JSON, or Markdown
- One-Click Export: Package your entire configuration for sharing
- One-Click Import: Use others' optimized setups instantly
- Configuration Sharing: Share & discover configurations
- Stand on Giants' Shoulders: Build upon community-tested configurations
- Dynamic Tool Discovery: AI automatically understands and uses MCP tools through their descriptions - no hardcoded tool names
- Command Execution: AI can execute shell commands (configurable)
- Tool Integration: Connect to various APIs and services via MCP protocol
- Execution Control: Stop long-running operations anytime
- History Management: Preserve and load conversation history
# Terminal 1: Start API server
python -m uvicorn api_server:app --reload
# Terminal 2: Start WebUI
cd webui
npm run devOpen http://localhost:5173 in your browser.
Coming soon - Pre-built release packages will be available for download.
LyNexus/
├── api_server.py # FastAPI backend server
├── aiclass.py # Core AI functionality
├── mcp_utils.py # MCP protocol utilities
│
├── webui/ # Modern WebUI (React + Vite)
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── services/ # API client & services
│ │ └── stores/ # State management (Zustand)
│ ├── electron/ # Electron desktop wrapper
│ ├── package.json
│ └── vite.config.ts
│
├── tools/ # MCP Tools Implementation
│ ├── files.py # File operations
│ ├── network.py # Network requests
│ ├── ocr.py # OCR functionality
│ └── osmanager.py # OS operations
│
├── utils/ # Utility Functions
│ ├── config_manager.py # Configuration management
│ ├── chat_data_manager.py # Chat data handling
│ ├── stream_processor.py # Stream processing
│ └── markdown_renderer.py # Markdown rendering
│
├── config/ # Configuration files
├── data/ # User data directory
│ └── conversations/ # Conversation storage
├── docs/ # Documentation
│ ├── README.md # English documentation
│ └── zh-cn/README.md # Chinese documentation
│
├── requirements.txt # Python dependencies
├── pyproject.toml # Project configuration
└── uv.lock # Dependency lock file
For detailed installation, configuration, and usage instructions, visit our documentation website.
The documentation covers:
- Installation and setup
- Configuration options
- Usage guide
- Sharing workflows
- Advanced features
- API reference
- And much more!
Once the API server is running, visit:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
python -m uvicorn api_server:app --reloadcd webui
npm run devcd webui
npm run buildcd webui
npm run electron:buildAll conversations and settings are stored in:
data/conversations/{id}/- Per-conversation datasettings.json- Conversation settings.confignore- API key (not exported){id}_ai.json- Message historytools/- MCP tool files
- GitHub Issues: Report bugs and request features
- GitHub Discussions: Share your amazing AI agents
- Documentation: https://solynacversion.github.io/LyNexus
We welcome contributions! Here's how you can help:
- Share Configurations: Upload your best setups
- Report Bugs: Help us improve stability
- Suggest Features: What would make LyNexus better?
- Improve Documentation: Help others get started
- Code Contributions: Submit pull requests
Check out our Contributing Guidelines for details.
# Windows
netstat -ano | findstr :8000
taskkill /PID <PID> /F
# Linux/Mac
lsof -ti:8000 | xargs kill -9# Windows
netstat -ano | findstr :5173
taskkill /PID <PID> /F
# Linux/Mac
lsof -ti:5173 | xargs kill -9- Check if API server is running: http://localhost:8000/docs
- Check WebUI console (F12) for errors
- Verify
webui/.envhas correctVITE_API_BASE_URL
- Go to Settings (gear icon in sidebar)
- Enter your API key
- Click "Save Settings"
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
- AI Community: For sharing knowledge and configurations
- Open Source Projects: That made this platform possible
- Contributors: Everyone who helps improve LyNexus
- Users: For trusting us with your AI development needs
Built with passion by the AI community, for the AI community
Documentation • Issues • Discussions
Star this repository if you find it useful!