landingbj/LinkMind
Über uns
LinkMind ist eine Middleware auf Unternehmensebene für zusammengesetzte multimodale Großmodelle.
KI und maschinelles LernenGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original简体中文 | English
LinkMind
LinkMind is enterprise-grade multimodal AI middleware for teams that need one stable layer between business systems, private knowledge, model providers, and agent runtimes. It focuses on fast onboarding, low-friction integration, routing and failover, RAG, multimodal APIs, and production governance.
Introduction
The current codebase exposes a single middleware layer for chat, RAG, OCR, ASR/TTS, image and video workflows, text-to-SQL, embeddings, rerank, MCP access, skills, worker orchestration, and APIs compatible with OpenAI Chat Completions / Responses and Anthropic Messages. It also includes runtime sync hooks for OpenClaw, Hermes Agent, DeerFlow, and OpenHuman.
Why LinkMind
One middleware layer covers chat, OCR, ASR/TTS, image generation, image and video understanding, text-to-SQL, embeddings, rerank, and document pipelines.
Multi-model routing, failover, and orchestration are configured centrally in
lagi.yml, so business systems do not need provider-specific rewrites.RAG can connect directly to Chroma, Elasticsearch, Milvus, MySQL, Pinecone, SQLite, and graph-style augmentation paths.
Medusa cache acceleration, token statistics, filters, and runtime governance are built for real production stability and cost control.
OpenClaw, Hermes Agent, DeerFlow, and OpenHuman integration hooks make it easier to join existing agent workflows instead of rebuilding them.
Get Started In Minutes
The following four methods are parallel options. Choose any one of them.
Option 1. Official Installer
Install JDK 8 or later. Follow the JDK setup and verification steps for your OS.
Windows PowerShell
iwr -useb https://cdn.linkmind.top/install.ps1 | iexmacOS / Linux
curl -fsSL https://cdn.linkmind.top/install.sh | bash
LinkMind uses one unified runtime: deploy it as a team AI hub on an appliance, server, personal computer, or Docker. When OpenClaw, Hermes Agent, DeerFlow, OpenHuman, or another supported frontend already exists locally, connect it as an optional integration while retaining configuration synchronization.
Option 2. Download Packaged Jar
Packaged downloads:
- Application package:
LinkMind.jar(Download) - Core library:
lagi-core-1.2.0-jar-with-dependencies.jar(Download)
java -jar LinkMind.jar
On first run, LinkMind creates config/, data/, and the default lagi.yml. Then open http://localhost:8080.
Option 3. With Docker Image
Prebuilt image: landingbj/linkmind
docker pull landingbj/linkmind
docker run -d -p 8080:8080 landingbj/linkmind
Then open http://localhost:8080.
Option 4. Build from Source
mvn clean package -pl lagi-web -am -DskipTests -U
Current packaging generates:
lagi-web/target/LinkMind.jarlagi-web/target/ROOT.war
Continue with Getting Started for the first console check and API call. Detailed deployment options are in Deployment, Security, and Cascade Networking.
After LinkMind is running, use Models, Routing, and Multimodal, Knowledge Base, and Agents, Tools, and Task Orchestration to enable runtime settings in lagi.yml by capability.
For deployment shape, containerization, reverse proxy, or cascade networking, see Deployment, Security, and Cascade Networking.
For a team AI hub, knowledge base, existing agent frontend, Medusa, security gateway, aggregation platform, embeddings, regional cascade, or benchmark, see setup and acceptance checks for nine scenarios.
API Surface
LinkMind exposes native routes and protocol-compatible routes:
- Native LinkMind routes without extra version prefixes where the server already supports them, such as
/chat/completions,/audio/speech2text,/audio/text2speech,/image/text2image,/sql/text2sql,/instruction/generate,/doc/doc2ext, and/ocr/doc2ocr - OpenAI-compatible routes, including Chat Completions at
/v1/chat/completions, Responses at/v1/responses, plus/v1/models,/v1/embeddings,/v1/images/generations, and/v1/rerank - Anthropic Messages-compatible route:
/v1/messages
One current exception is the vector administration namespace, which is still mapped in code as /v1/vector/*. Model and multimodal APIs are documented in Models, Routing, and Multimodal; vector, upload, and retrieval APIs are in Knowledge Base.
Customization API
LinkMind keeps secondary-development entry points behind object-oriented boundaries so teams can extend behavior without rewriting the main request flow.
Communication and out-of-band data: OpenAI-compatible chat requests acceptextra_body, and runtime helpers handle encoding, decoding, and current-user injection without pushing business parsing into the adapter itself. Existing completion, streaming, and cascade flows remain unchanged.Skill-level social data: social interaction data is encapsulated in skills and service classes, then exposed through/socialChannel/*. If you do not enable social skills, the original chat and token flow stays intact.- Use
/apiKey/*to manage API key pools and/credit/*to integrate billing. You can replace the backing service while preserving the HTTP contract.
This split gives two practical benefits for secondary development: zero-invasive integration with the current codebase, and opt-in adoption so you only enable the interfaces your deployment actually needs.
Agent Runtime Integration
- OpenClaw: LinkMind can inject itself as an OpenAI-compatible provider and can also load model selections back from OpenClaw into
lagi.yml. - Hermes Agent: LinkMind can import and export model settings through
~/.hermes/config.yamland.env. - DeerFlow: LinkMind can import and export model settings through DeerFlow
config.yamland.env. - OpenHuman: LinkMind can add a local Bearer-auth
linkmindprovider to OpenHumanconfig.toml, bind theprovider:linkmindauth profile, store the token in OpenHuman's desktop keychain file when available, and import supported OpenAI-compatible providers back intolagi.yml.
For the shortest evaluation path, start LinkMind directly and verify the web console and API. Connect an existing Agent frontend when needed; no product-version switch is required.
Core Features
1. RAG + Embedding
Turn private files, QA pairs, and structured knowledge into retrievable context through vector stores, embeddings, OCR, and document ingestion pipelines.
2. Medusa
Use built-in cache acceleration to shorten repeat response latency and improve runtime efficiency in real production traffic.
3. Airank
Route, rank, fail over, and orchestrate multiple models centrally through routers such as best(...) and pass(...) instead of hard-coding provider logic in each app.
4. Security & Safety
Guardrails, policy checks, data handling, access control, provider governance, and deployment responsibilities are documented in Deployment, Security, and Cascade Networking.
5. Graph
Augment retrieval and intent understanding with graph-style context so the middleware can make more stable decisions for complex enterprise knowledge scenarios.
6. Token Grid (Cascade Network)
Token Grid connects many LinkMind nodes into a national-power-grid-like intelligence network. In this topology, LinkMind nodes in a multi-level architecture are not passive relay stations. Like cascade hydropower stations, every layer can mount its own "machine-model" capacity, including local models, provider routes, tools, skills, private knowledge, and policy controls. Every node in the grid is both a consumer of upstream capabilities and a provider of compute and domain capability to downstream nodes, while cascade links preserve physical and logical isolation for data and permissions.
7. Agent Framework Support
Use LinkMind as the shared model, context, and governance layer for agent frameworks rather than configuring each model separately in every agent application. The runtime exposes OpenAI Chat Completions / Responses and Anthropic Messages-compatible APIs, so frameworks that use these protocols can connect through a common provider endpoint.
- Built-in configuration synchronization: OpenClaw, Hermes Agent, DeerFlow, and OpenHuman can import or export supported model and provider settings.
- Framework-neutral integration: Other agent frameworks can use the compatible APIs,
lagi.ymlmodel routing, MCP, Skills, RAG, and policy controls without requiring a framework-specific plugin. - Unified execution: Workers register and route local business agents and integrated external agent capabilities through one invocation surface.
To integrate these capabilities into your application via lagi-core or REST APIs, see System Integration and Secondary Development.
8. Worker Orchestration
Workers provide a unified way to invoke registered agents, supporting explicit agent selection or routing policies that choose a suitable executor. Reuse local business agents and integrated cloud agent platform capabilities for specialized assistants, domain question answering, and task dispatch.
Configure worker implementations and routes under skills.workers in lagi.yml, then invoke them through POST /chat/go. See Agents, Tools, and Task Orchestration for setup and More Integrations and Custom Extensions for custom implementations.
Model And Runtime Ecosystem
Models & Providers
Local Agent Frameworks
Cloud Agent Platforms
Data & Retrieval
Entries are grouped by type and listed alphabetically. These ecosystems are extensible; More Integrations and Custom Extensions covers new model, vector-store, adapter, and secondary-development integrations. For Chroma setup specifics, see Knowledge Base.
Agentic Social
Agentic Social gives agents a structured way to exchange context, user intent, collaboration signals, and social interaction data without forcing that logic into the main chat pipeline. Social data is encapsulated in skills and service classes, then exposed through /socialChannel/*, so teams can add agent-to-agent and user-to-agent collaboration features only when their deployment needs them.
LicenseThis project is distributed under the LICENSE. |
Online DemoPublic demo: https://linkmind.landingbj.com/ |
Documentation
The documentation is organized by capability. Each feature page brings together the required configuration, API entry points, and verification steps.
| Document | Contents |
|---|---|
| Getting Started | First installation, console check, and first API call |
| LinkMind Console | Console entries, usage records, and troubleshooting checks |
| Models, Routing, and Multimodal | Providers, routes, chat, embeddings, audio, image, video, and document APIs |
| Knowledge Base | Vector storage, RAG configuration, ingestion, and retrieval verification |
| Agents, Tools, and Task Orchestration | Agents, MCP, Skills, Workers, and runtime clients |
| System Integration and Secondary Development | REST, Java lagi-core, compatible protocols, and extension boundaries |
| Deployment, Security, and Cascade Networking | Installer, JAR, Docker, WAR, hardening, and cascade configuration |
| More Integrations and Custom Extensions | Compatible providers, adapters, stores, and runtime extensions |
Nine business scenarios and launch checks · Load-test scripts and result interpretation
Best Practices
| Topic | Recipe |
|---|---|
| Agent clients | OpenClaw, Hermes Agent, DeerFlow, OpenHuman |
| CLI clients | Codex, Claude Code, Client compatibility |
| Service and development integrations | Chroma knowledge base, Compatible model provider, MCP server, Java IDE, Tomcat WAR |
AI Agent Project Reading (English PDFs)
Ähnliche Projekte entdecken
Wird geladen…