δΈζ | English
KWeaver Core is a harness-first foundation for enterprise decision agents. It turns fragmented data, knowledge, tools, and policies into governed context, safe execution, and verifiable feedback loops. With semantic modeling, real-time access, runtime control, and TraceAI, it helps AI systems reason, adapt, and act reliably in complex enterprises.
On this page: π Quick links Β· π¬ Demo video Β· π Quick start Β· π οΈ KWeaver SDK Β· π‘οΈ KWeaver Admin CLI Β· ποΈ KWeaver Core Β· π BKN Lang Β· π Benchmarks Β· π¬ Community
Note: KWeaver Core is a backend-only framework β it does not include a web UI. All interactions are through the CLI, SDK, or API. If you need a graphical interface, please install KWeaver DIP.
Want to have an intuitive experience of the core functions of KWeaver DIP? Click the link below to sign up and start your trial experience immediately to quickly unlock the product's value! π Apply for a trial: https://kweaver-ai.feishu.cn/share/base/form/shrcni732cNDY4x3A5SYTncrguf
- π KWeaver DIP - KWeaver DIP demo environment, Apply for a trial
- π οΈ KWeaver SDK - End-user / agent
kweaverCLI, TypeScript / Python SDK, and AI agent skills - π‘οΈ kweaver-admin - Platform administrator CLI (users / orgs / roles / models / audit) for full installs
- π€ Contributing - Guidelines for contributing to the project
- π’ Deployment - One-click deploy to Kubernetes
- π Documentation - Product documentation and usage guides (EN / δΈζ)
- π¦ Examples - End-to-end CLI walkthroughs (DB / CSV / actions)
- π Blog - KWeaver technical articles and updates
- π§Ύ Release Notes - All notable changes
Watch the KWeaver demo on Bilibili.
-
Prerequisites & planning β read the Deployment Guide and satisfy its prerequisites. Linux is the supported target for full installs; macOS local dev (kind) is optional β see Mac install (dev) (δΈζ).
-
Pre-install host check / fix with
preflight.sh(recommended)On the target install host, run a system check before
deploy.sh. It verifies kernel / sysctl / containerd /kubectl/helm/ Node /kweaverCLIs and can fix what's missing (each fix is opt-in unless-y):
git clone https://github.com/kweaver-ai/kweaver-core.git
cd kweaver-core/deploy
chmod +x preflight.sh deploy.sh onboard.sh
sudo bash ./preflight.sh # check-only (default)
sudo bash ./preflight.sh --fix # check + interactive fixes
sudo bash ./preflight.sh --fix -y # auto-approve every fix
sudo bash ./preflight.sh --list-fixes # preview which fixes would run, no changes
sudo bash ./preflight.sh --help # all flags (--role, --skip, --report, --output=json, β¦)Exit codes: 0 OK, 1 any FAIL, 2 only WARN. Use --report=/tmp/preflight.txt to keep a full log.
- Run installation scripts:
# (Same deploy/ directory as step 2)
# Minimum installation β recommended for first-time experience
./deploy.sh kweaver-core install --minimum
# Equivalent to:
# ./deploy.sh kweaver-core install --set auth.enabled=false --set businessDomain.enabled=false
# Full installation (includes auth & business-domain modules)
./deploy.sh kweaver-core install
# Or specify addresses explicitly (skips interactive prompts):
# --access_address Address for clients to reach KWeaver services (can be IP or domain)
# --api_server_address IP bound to a local network interface for K8s API server (must be a real NIC IP)
./deploy.sh kweaver-core install \
--access_address=<your-ip> \
--api_server_address=<your-ip>
./deploy.sh --help- Verify the deployment:
# Check cluster status
kubectl get nodes
kubectl get pods -A
# Check service status
./deploy.sh kweaver-core status-
Post-install bootstrap with
onboard.sh(recommended)On the same host as the install (where
kubectlreaches the cluster), run the post-install bootstrap. It (re-runnable) registers an LLM + an embedding, patches the BKN ConfigMaps when the default embedding actually changes, and on a full install also creates the business usertest, assigns every role fromkweaver-admin role list, switcheskweaverto that user, and imports the Context Loader toolset:
cd deploy
sudo bash ./onboard.sh # interactive; or: sudo bash ./onboard.sh -y
sudo bash ./onboard.sh --help # all flags (--config=models.yaml, --enable-bkn-search, --skip-context-loader, β¦)Why
sudo?onboard.shreads$HOME/.kweaver-ai/config.yaml(written bysudo deploy.shinto/root/.kweaver-ai/) and writes thekweaverauth token to$HOME/.kweaver. Running it withoutsudofalls back to the in-repo templatedeploy/conf/config.yamland may resolve a different access URL. macOS dev path (bash deploy/dev/mac.sh onboard) does not needsudo.
Re-runs are safe: existing models / BKN defaults are detected and skipped. For the full sequence, the Mermaid flow, and the kweaver / kweaver-admin two-CLI authentication notes (full ISF), see help/en/install.md β Post-install: onboard.sh.
-
Verify API access
KWeaver Core is backend-only and does not provide a web console. On the machine you use to reach the cluster (laptop, bastion, etc.), use the
kweaverCLI from kweaver-sdk: eithernpm install -g @kweaver-ai/kweaver-sdkornpx kweaver(no global install; see KWeaver SDK below). Then run:
# Minimum install (no auth):
kweaver auth login https://<node-ip> -k
# Full install: sign in as the user onboard.sh created (default password 111111 unless you overrode it):
kweaver auth login https://<node-ip> -u test -p '<password>' -k
kweaver bkn list
# or with npx instead of a global install:
# npx kweaver auth login https://<node-ip> -k
# npx kweaver bkn list- View help:
kweaver --help # list all commands
kweaver <command> --help # help for a specific command, e.g. kweaver bkn --helpFor full product documentation, see the Documentation (EN / δΈζ).
Did a full install (without
--minimum)? Also installkweaver-adminto manage users, organizations, roles, models, and audit logs β see help/en/install.md β Administrator tool after a full install.
No deployment yet? KWeaver DIP / public demo access may require prior signup β Apply for a trial. After you have access, open the KWeaver DIP web UI or connect your CLI/SDK to the demo environment (see below).
KWeaver Core is the AI-native platform foundation for autonomous decision-making. It sits between AI Agents (above) and AI/Data infrastructure (below), with the Business Knowledge Network (BKN) at its center, providing unified data access, execution, and security governance for Agents.
βββββββββββββββββββββββββββββββββββ
β AI Agents (Decision Agent, β
β Data Agent, HiAgent, ...) β
βββββββββββββββββ¬ββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββββ
β Business Knowledge Network β
β KWeaver Core β
βββββββββββββββββ¬ββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββββ
β AI Infrastructure & Data β
β Infrastructure β
βββββββββββββββββββββββββββββββββββ
KWeaver Core solves two critical pain points when connecting proprietary data with autonomous AI Agents:
In long-running agent scenarios, context inevitably faces explosion, decay, pollution, and high token costs. KWeaver Core addresses these through the Business Knowledge Network:
- Context explosion containment β Multi-source candidates are first organized and aggregated via the BKN semantic network, then unified by Context Loader (recall β coarse ranking β fine ranking) to retain only key evidence and constraints, avoiding massive prompt fragments that cause decision drift. Overall accuracy reaches 93%+.
- Context decay mitigation β Replaces long-text stacking with "real-time facts + evidence citations", keeping reasoning grounded around specific objects and reducing forgetting and hallucination risks in long inputs. Accuracy improves 15%+ over baselines across scenario types.
- Context pollution isolation β Builds precise enterprise digital twins through the BKN network, blocking unreliable content and potential injection risks outside the knowledge and execution boundary, ensuring a clean and controllable reasoning chain.
- Token cost compression β Converts multi-source materials into structured object information fetched on demand (not full-text concatenation), improving information density within the same budget. Token consumption reduced 30%+ while improving accuracy.
Beyond "seeing more", Agents must "do it right". KWeaver Core provides constraint engineering capabilities for enterprise-grade safe execution:
- Explainable decisions β Uses "Object β Action β Rule β Constraint" knowledge structures to express business intent graphs, grounding tool invocation and parameter selection to explicit semantic boundaries and rule dependencies, making it clear "why this action was taken".
- Traceable evidence chain β From action intent β knowledge node β data source β mapping/operator β final invocation, full-chain tracing is supported. Entities and relationships can be traced back to source data and active rules, enabling audit and review.
- Controllable execution loop β Unifies identity and access control down to knowledge network object/action permissions, with pre-execution validation, mid-execution policy interception, and post-execution audit logging, achieving "authorizable, approvable, revocable" security loops.
- Risk prevention mechanism β Models risks as "Risk Types" linked to Action Types; performs risk assessment and simulation before execution, with automatic downgrade/blocking/secondary confirmation when thresholds are hit, blocking high-risk actions before they execute.
βββββββββββββββββββββββββ KWeaver Core βββββββββββββββββββββββββ
β β β β
β β Decision Agent β β
β Info β (Dolphin Runtime / Agent Executor) β Trace β
β Secu- ββββββββββββββββββββββββββββββββββββββββββββ β
β rity β β AI β
β β AI Data Platform β β
β Fabric β ββββββββββββββββββββββββββββββββββββββ β Obse- β
β β β Context Loader β β rvab- β
β (ISF) β β βββββββββββββ βββββββββββββββ β β ility β
β β β β Retrieval β β β Ranker β β β / β
β Access β β βββββββββββββ βββββββββββββββ β β Evid- β
β Control β ββββββββββββββββββββββββββββββββββββββ€ β ence β
β / β β Business Knowledge Network β β β
β Secu- β β ββββββββββββββββββββββββββββββ β β β
β rity β β β BKN Engine β β β β
β β β β (Data/Logic/Risk/Action) β β β β
β β β ββββββββ¬ββββββββββββββ¬ββββββββ β β β
β β β β mapping β mapping β β β
β β β ββββββββββ βββββββββββββ ββββββββ β β β
β β β β VEGA β β Execution β β Data β β β β
β β β β Engine β β Factory β β flow β β β β
β β β ββββββββββ βββββββββββββ ββββββββ β β β
β β ββββββββββββββββββββββββββββββββββββββ β β
β β β β
βββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββ
β β β
Multi-source & Multi-modal Data (30+ data sources)
| Component | Description |
|---|---|
| AI Data Platform | Non-intrusive access architecture β unified data access, unified execution, and unified security governance through the Business Knowledge Network |
| Decision Agent | Goal-oriented autonomous task planning β acquires high-quality context from AI Data Platform, manages runtime effectively, suppresses hallucination and context decay, invokes tools and skills under permission control, forming a safe "reason β risk-assess β execute β feedback" business loop |
| Info Security Fabric | Unified identity, permissions, and policies as a single entry point β end-to-end control and audit over data access, model output, and tool invocation, reducing privilege escalation, leakage, and prompt injection risks |
| Trace AI | Full-chain observability and evidence chain tracing β supports issue localization and automatic optimization recommendations, enabling explainable and auditable AI applications |
BKN Lang is a Markdown-based business knowledge modeling language, designed for human-machine bidirectional friendliness:
- Easy to develop β Based on standard Markdown syntax, eliminating code barriers entirely. Business experts write, read, and modify definitions via WYSIWYG editors, with rapid version diff and collaborative review β modifying system rules is like editing a document.
- Easy to understand β "Object-Relationship-Risk-Action" four-in-one model perfectly maps enterprise business models. Humans read business semantics; Agents parse precise context constraints in real-time. Logic is made explicit, rejecting black boxes, fundamentally reducing LLM reasoning hallucination and logical deviation.
- Easy to integrate β Definitions stored as full-text in specific database fields with no complex underlying table coupling. Context Loader dynamically loads on demand, discarding static hardcoding. Plug-and-play across systems and Agents, flowing as lightweight assets through AI Data Platform.
| Metric | Value |
|---|---|
| Scenario Coverage | Q&A, workflow execution, intelligence analysis, decision judgment, exploration |
| TCO Reduction | 70% lower with integrated platform |
| BKN Build Efficiency | 300% improvement in knowledge network construction |
| Token Cost Savings | 50% reduction through context optimization and compression |
After deploying KWeaver Core, we recommend installing kweaver-sdk as your next step. The SDK provides the kweaver CLI and AI Agent Skills β the primary way to interact with the platform.
kweaver-sdk gives AI agents (Claude Code, GPT, custom agents, etc.) access to KWeaver knowledge networks and Decision Agents via the kweaver CLI. It also provides Python and TypeScript SDKs for programmatic integration.
Install the CLI with:
npm install -g @kweaver-ai/kweaver-sdkOr run it without a global install:
npx kweaver --helpInstall skills from kweaver-sdk with npx skills.
Install both skills (recommended):
npx skills add https://github.com/kweaver-ai/kweaver-sdk \
--skill kweaver-core --skill create-bknkweaver-coreβ full KWeaver APIs and CLI conventions so assistants can operate KWeaver on your behalf. See skills/kweaver-core/SKILL.md.create-bknβ guided workflow and tooling to create and manage Business Knowledge Networks (BKN) from your AI coding assistant. See skills/create-bkn/SKILL.md.
Install one skill (optional):
npx skills add https://github.com/kweaver-ai/kweaver-sdk --skill kweaver-core
# or
npx skills add https://github.com/kweaver-ai/kweaver-sdk --skill create-bknBefore using any skill, authenticate with your KWeaver instance:
kweaver auth login https://your-kweaver-instance.comSelf-signed certificate? If your instance uses a self-signed or untrusted TLS certificate (common for fresh deployments without a CA-issued cert), add
-kto skip certificate verification:kweaver auth login https://your-kweaver-instance.com -k
No deployment needed β Apply for a trial first, then connect your AI agent to the demo environment (for the web UI, visit KWeaver DIP).
npx skills add https://github.com/kweaver-ai/kweaver-sdk \
--skill kweaver-core --skill create-bkn
npm install -g @kweaver-ai/kweaver-sdk
kweaver auth login https://dip-poc.aishu.cn -kThen ask your AI agent (Cursor, Claude Code, etc.) using natural language:
List all knowledge networks
What object types are in the supply chain knowledge network?
Search the supply chain knowledge network for "supply chain risks"
Show 2 sample customer records
List all Decision Agents
Chat with Agent xxx, ask "What is the current inventory status?"
Or use /kweaver-core slash commands (the skill takes over automatically):
/kweaver-core List all knowledge networks
/kweaver-core What's in the supply chain knowledge network?
/kweaver-core Search knowledge network for "supply chain risks"
/kweaver-core Show 2 sample customer records from the knowledge network
/kweaver-core List all Decision Agents
/kweaver-core Chat with Agent <agent-id>, ask "What is the current inventory status?"
Demo access: Apply for a trial if needed.
The kweaver CLI supports authenticating without a local browser or without pasting callback URLs.
Which option to use
| Your situation | Use | Notes |
|---|---|---|
| Username and password sign-in is available | Method 1 (HTTP, -u / -p) |
One command on the host; no need to copy an OAuth callback from elsewhere. |
kweaver-sdk is installed (the kweaver command works) |
Method 2 (auth export / replay) |
After browser login, run kweaver auth export and replay the one-line command on the headless target. |
kweaver-sdk is not installed; you usually run npx kweaver |
Method 3 (--no-browser) |
After signing in on another device, an extra step: copy the full callback URL or only the authorization code (copy code), then paste at Paste URL or code in the headless terminal. |
Method 1 β Username/password HTTP sign-in (fully non-interactive on the host, no browser required)
No Node/Chromium needed β the CLI calls the platform's /oauth2/signin endpoint over HTTPS and stores the returned tokens. Suitable for CI runners, minimal Linux containers, and any host without a browser:
kweaver auth login https://your-instance -u <username> -p <password> -k-u / -p together select this path automatically (you can also add --http-signin explicitly). If you omit -u / -p, the CLI prompts for them on stdin (password input is hidden on a TTY). The CLI saves tokens under ~/.kweaver/ including a refresh_token when the IdP returns one β same auto-refresh behavior as a normal browser login.
Method 2 β Export & replay (kweaver-sdk installed; export and replay)
On a machine that has the kweaver CLI, sign in with the browser once, then export a one-line command for the headless host β you do not need to transcribe the OAuth callback URL or code in the terminal by hand.
- On a machine with a browser, run
kweaver auth login https://your-instance. After success, export credentials:
kweaver auth export # prints a one-line command you can paste on the headless host- On the headless host, paste the exported command. It uses
--client-id,--client-secret, and--refresh-tokento exchange tokens and save credentials under~/.kweaver/:
kweaver auth login https://your-instance \
--client-id <ID> --client-secret <SECRET> --refresh-token <TOKEN>Method 3 β --no-browser (when kweaver-sdk is not installed; extra copy/paste of URL or code)
Use this when the CLI is not installed globally and you run via npx kweaver (or similar). Compared with Method 2, you must manually copy the URL or code from the browser after login.
kweaver auth login https://your-instance --no-browser
# or: npx kweaver auth login https://your-instance --no-browserThe CLI prints an OAuth URL instead of opening a local browser window. Open that URL on any device with a browser (phone, laptop, etc.). After login, the browser redirects to a localhost callback β an error page is normal. Copy the full URL from the address bar, or only the authorization code, and paste it at the prompt below (the extra Paste URL or code step):
Open this URL on any device (use a private/incognito window if you need the full sign-in form):
https://your-instance/oauth2/auth?redirect_uri=...&client_id=...
After login, the browser may show an error page (this is expected if nothing listens on localhost).
Copy the FULL URL from the address bar and paste it here, or paste only the authorization code.
Paste URL or code>
With saved
~/.kweaver/sessions, the CLI automatically exchangesrefresh_tokenfor a new access token when it expires β no extra flags needed. You can also set environment variables (KWEAVER_BASE_URL,KWEAVER_TOKEN) instead of persisting credentials to disk.
Full details: kweaver-sdk β Authentication and Headless / Server Authentication. The Python kweaver CLI still uses interactive browser login; reuse the ~/.kweaver/ directory from a machine where the Node CLI finished login, or set the environment variables above.
kweaver auth login https://your-kweaver.com -k # authenticate (-k for self-signed TLS)
kweaver bkn list # list knowledge networks
kweaver bkn search <kn-id> "query" # semantic search
kweaver agent chat <agent-id> -m "Hello" # chat with a Decision Agent
kweaver --help # all subcommandsMinimal example (after CLI login or equivalent credentials):
import kweaver from "@kweaver-ai/kweaver-sdk/kweaver";
kweaver.configure({ config: true, bknId: "your-bkn-id", agentId: "your-agent-id" });
const results = await kweaver.search("What risks exist in the supply chain?");
const reply = await kweaver.chat("Summarise the top 3 risks");
await kweaver.weaver({ wait: true }); // rebuild BKN indeximport kweaver
kweaver.configure(config=True, bkn_id="your-bkn-id", agent_id="your-agent-id")
results = kweaver.search("What risks exist in the supply chain?")
reply = kweaver.chat("Summarise the top 3 risks")For streaming, KWeaverClient, and the full API surface, see the kweaver-sdk repository docs and examples.
kweaver-admin is a separate npm CLI for platform administrators, complementary to the kweaver CLI from kweaver-sdk:
| CLI | Audience | Scope |
|---|---|---|
kweaver (@kweaver-ai/kweaver-sdk) |
End users / Agents | BKN, Decision Agent, Action, Skill, query |
kweaver-admin (@kweaver-ai/kweaver-admin) |
Platform administrators | Users, organizations, roles, models, audit, raw HTTP |
Most
kweaver-admincommands target services that come with a full install (auth.enabled=true,businessDomain.enabled=true):user-management,deploy-manager,deploy-auth,eacp,mf-model-manager, OAuth2 (Hydra). On a--minimuminstall most commands return 401 / 404 β expected.
Requires Node.js 22+ (same as @kweaver-ai/kweaver-sdk on npm). Credentials are stored under ~/.kweaver-admin/platforms/, isolated from ~/.kweaver/.
npm install -g @kweaver-ai/kweaver-admin
kweaver-admin --version# Browser OAuth2 (skip TLS for self-signed certs)
kweaver-admin auth login https://<access-address> -k
# Username/password (CI / headless)
kweaver-admin auth login https://<access-address> -u <user> -p <password> -k
# Or via environment variables
export KWEAVER_BASE_URL=https://<access-address>
export KWEAVER_ADMIN_TOKEN=<bearer-token> # falls back to KWEAVER_TOKENkweaver-admin org tree # list departments
kweaver-admin user create --login alice # default password: 123456 (forced change at first login)
kweaver-admin user reset-password -u alice # admin reset
kweaver-admin role list
kweaver-admin role add-member <roleId> -u alice
kweaver-admin llm add # register an LLM
kweaver-admin small-model add # register an embedding model
kweaver-admin audit list --user alice --start 2026-04-01 --end 2026-04-30
kweaver-admin call /api/user-management/v1/management/users -X GET # raw HTTP with auth headerNew users created by
user createalways start with the platform default password123456and are forced to change it on first sign-in (this is documented upstream behavior of the ISF user store, not a CLI choice). For lost-password flows, preferkweaver-admin user reset-password.
Respect the separation-of-duties built-in accounts (
system,admin,security,audit) β operators should use individual accounts, not the sharedadmin.
Full command tree, security notes, and auth change-password (EACP modifypassword, same 401001017 first-login flow as the kweaver CLI): see kweaver-admin README and help/en/install.md β Administrator tool after a full install.
kweaver-admin ships its own progressive-disclosure skill so AI coding assistants can drive admin tasks (auth, org, user, role, model, audit, raw HTTP) on your behalf. Install with npx skills:
npx skills add https://github.com/kweaver-ai/kweaver-admin --skill kweaver-adminAfter installing, authenticate once with kweaver-admin auth login https://your-instance -k, then ask your assistant in natural language (/kweaver-admin slash also works):
List all roles
Create user alice and assign every role from role list
Reset alice's password
Show login audit for alice in the last 7 days
Register an embedding model named bge-m3 against https://api.siliconflow.cn
Skill source: skills/kweaver-admin/SKILL.md. It complements the kweaver-core / create-bkn skills above (which target the kweaver CLI).
See more details: KWeaver Blog
Based on 145 HR scenario samples (resume corpus with 118 multi-format PDFs), covering simple information lookup, cross-section experience analysis, and multi-hop comprehensive reasoning. All platforms used DeepSeek V3.2 + BGE M3-Embedding with identical data sources, tested in Agentic mode.
| Metric | KWeaver Core (v0.3.0) | BiSheng | Dify (v0.15.3) | RAGFlow (v0.17.0) |
|---|---|---|---|---|
| Accuracy | 99.31% (144/145) | 86.90% (126/145) | 96.55% (140/145) | 86.90% (126/145) |
| Avg Latency | 43.69s | 19.52s | 63.82s | 71.56s |
| P90 Latency | 56.92s | 32.53s | 79.15s | 95.37s |
| Avg Token | 21.36K | 4.98K | 36.25K | 16.28K |
KWeaver Core is the only platform that breaks the traditional RAG "performance impossible triangle" β achieving >99% accuracy while keeping inference cost and latency at production-ready levels. Dify trades high token consumption (1.7x) for decent accuracy; BiSheng sacrifices reasoning depth for speed; RAGFlow falls behind on both accuracy and latency.
The following ablation experiments identify the contribution of each KWeaver Core component:
Retrieval Depth β Increasing retrieval limit from 10 to 20 raised accuracy from 96.67% to 100%, with only +6.48s latency. Context Loader's semantic reranking and compression enable KWeaver Core to effectively handle the increased context without "Lost in the Middle" effects.
Schema Preloading β With Context Loader preloading the BKN schema:
| Configuration | Accuracy | Avg Steps | Avg Token |
|---|---|---|---|
| Schema preloaded | 100.0% | 3.2 | 20.07K |
| No schema | 93.33% | 5.8 | 38.54K |
Schema provides Agents with a clear "map" of entity relationships, reducing reasoning steps by 44.8% and token consumption by 47.9%.
Tool Curation β Precise tool selection outperforms providing all available tools:
| Configuration | Accuracy | Avg Steps | Avg Token |
|---|---|---|---|
| Full toolset (6 tools) | 75.0% | 7.1 | 42.3K |
| Curated toolset (3 tools) | 100.0% | 2.4 | 12.8K |
With excessive tools, Agents favor "seemingly powerful" broad-search tools whose noise triggers reflection loops and path divergence. Curated tools constrain Agents onto the correct path, achieving one-shot resolution.
Path Guidance β Encoding domain expert experience into executable reasoning templates:
| Configuration | Path Guidance | Tools | Accuracy | Avg Latency | Avg Token |
|---|---|---|---|---|---|
| Explore-kn_search | Yes | 3 | 100.0% | 37.82s | 15,420 |
| No guidance, 2 tools | No | 2 | 100.0% | 53.06s | 23,287 |
| No guidance, 3 tools | No | 3 | 80.0% | 53.28s | 19,870 |
Path guidance tells Agents "how to walk" for efficiency; tool curation "reduces wrong turns" for stability. Combined, they deliver optimal production performance.
F1 Bench is based on the BIRD test set with the Formula-1 database mixed with 30 unstructured documents, testing Agent capabilities in structured + unstructured heterogeneous data reasoning.
| Metric | KWeaver Core | Dify Retrieval Baseline |
|---|---|---|
| Overall Accuracy | 92.96% | 78.87% |
| SQL Waste Rate | 8.2% | 24.5% |
| SQL Hit Efficiency | 0.226 | 0.137 |
| Total SQL Calls | 292 | 408 |
KWeaver WeChat Group QR Code
Scan to join the KWeaver community group.

