# BAI · Bai Fan (Agent Gateway) > Bai Fan (BAI) works in enterprise digitalization and AI application development along two lines: 19 anonymized consulting and research engagements since 2023 (spanning energy digitalization, enterprise services, sci-tech innovation management, AI strategy, and knowledge modeling), and 9 AI application and agent system projects built over the past two years (Consulting Agent 1.0→3.0, a general agent framework, a multimodal knowledge base, and a household smart hub). This page is a structured, Agent-first read-only gateway; the full archive of projects, research, and essays remains at me.ai-clover.com. ## Core Focus - [Enterprise Digitalization Consulting & Research](https://me.ai-clover.com/en/research/): Nineteen research and consulting engagements since 2023 (all recorded without naming clients), spanning energy digitalization, enterprise services, sci-tech innovation management, AI strategy, knowledge modeling, and FDE team enablement. (Markdown: https://me.ai-clover.com/en/research/index.md) - [AI Agent Systems & Governed Runtimes](https://me.ai-clover.com/en/projects/agent-framework/): Built across Consulting Agent 1.0 → 2.x → 3.0 and a general agent framework, focusing on DAG planning, tool authorization and sandboxing, quality gates, checkpoint recovery, and source-traceable evidence. (Markdown: https://me.ai-clover.com/en/projects/agent-framework.md) - [Edge-Cloud Agents & Multimodal Knowledge Bases](https://me.ai-clover.com/en/projects/family-hub/): Includes a household smart hub running at home (gateway, StickS3 voice terminal, local models, WeCom channel, and four-state read-back verification) plus a local-first multimodal knowledge base connected to Obsidian. (Markdown: https://me.ai-clover.com/en/projects/family-hub.md) ## Representative Cases - [Family Smart Hub & Household Agent](https://me.ai-clover.com/en/projects/family-hub/) (2026.10 —): Context: Started from voice-controlled lighting and grew into family memory, health records, schedules, and remote messaging, requiring local reliability, safe physical-device control, and no exposure of private household data. Approach: Built a four-layer stack (family gateway, StickS3 voice terminal, local model service, model gateway) using high-confidence local rules with LLM fallback, ToolBroker execution with four-state read-back verification, narrow remote whitelists, and local-only unfreezing. Outcome: Recorded in the 2026-11-07 snapshot: 1,282 regression tests passing on the public snapshot (1,361 passed and 1 skipped on the production server, different scope); 45 end-to-end health validations and 14 no-data validations passing without fabricating missing dates. (Markdown: https://me.ai-clover.com/en/projects/family-hub.md, Code: https://github.com/baifan11/family-gateway) - [Consulting Agent 3.0 & General Agent Framework](https://me.ai-clover.com/en/projects/consulting-agent-3/) (2026.08—09): Context: Complex consulting research is a long-running workflow needing multi-step planning, evidence checks, and human review; after three iterations, task execution, tool authorization, auditing, and checkpoint recovery proved reusable across scenarios. Approach: 3.0 uses an Agent Lead to generate a DAG research plan and coordinate up to two levels of sub-agents with quality gates, readiness reviews, and logged exceptions; shared execution, middleware, sandboxing, and checkpoints were factored into a general runtime loaded with domain Packs. Outcome: Recorded in the 2026-09-07 frozen snapshot: 715 offline tests passing, 13 stage-review tests passing, and frontend build passing, with the explicit boundary that passing offline is not large-scale live production acceptance. (Markdown: https://me.ai-clover.com/en/projects/consulting-agent-3.md, Code: https://github.com/baifan11/generic-agent-framework) - [Multimodal Personal Knowledge Base & Obsidian](https://me.ai-clover.com/en/projects/knowledge-base/) (2025.12—2026.01): Context: Personal PDFs, Word files, slides, spreadsheets, screenshots, and scans were scattered and hard to search; the goal was local-first storage, source-traceable answers, and smooth write-back to daily notes. Approach: Local-first architecture supporting 9+ file formats (PPT-first page snapshots, dedicated table parsing, RapidOCR repair for scans, Qwen-VL-Embedding visual vectors), combining full-text, text-vector, and visual-vector recall with RRF fusion, reranking, and Obsidian integration. Outcome: Completed two generations and stabilized in local operation, returning citations pinned to the exact document, page, and visual element with write-back into Obsidian. (Markdown: https://me.ai-clover.com/en/projects/knowledge-base.md, Code: https://github.com/baifan11/multimodal-knowledge-base) ## Working Principles - An answer has to be traceable to its source - Any action that touches real data goes through permission checks before executing - Long tasks are assumed to be interrupted and designed to recover - Testing is reported at the exact level reached — passing offline is not being live ## FAQ - **How does this page relate to me.ai-clover.com?** me.ai-clover.com is Bai Fan's (BAI) main personal site and full archive (9 R&D projects, 19 consulting records, 15 articles, and 4 SME AI adoption reports). This standalone subdomain is a structured Agent-first discovery gateway derived from the same facts, keeping the same personal, non-commercial scope. - **Why are specific client and employer names omitted?** For confidentiality and disciplined record-keeping, all consulting and research entries are anonymized. They present problem structure, methodology, and shareable outcomes without naming clients, employers, or unpublished internal figures. - **Which endpoints should AI agents read first?** Start with /.well-known/agent.json and /en/llms.txt on this subdomain (or request / with Accept: application/json or Accept: text/markdown). For full project and article bodies, fetch https://me.ai-clover.com/en/index.json, https://me.ai-clover.com/llms-full.txt, or append .md to any main-site page URL. - **How can I contact Bai Fan?** Reach Bai Fan via public Email (buptbai@126.com), WeChat (xiaobaif_2005), or GitHub (https://github.com/baifan11). ## Agent Discovery & Protocol Endpoints (This Subdomain) - Agent card (HTML / Accept: application/json or text/markdown): https://agent.ai-clover.com/en/ - Dual-mode QR connect handshake (HTML / Accept: application/json): https://agent.ai-clover.com/en/connect - Agent discovery metadata (JSON): https://agent.ai-clover.com/.well-known/agent.json - English llms.txt: https://agent.ai-clover.com/en/llms.txt - Chinese llms.txt: https://agent.ai-clover.com/llms.txt - Sitemap: https://agent.ai-clover.com/sitemap.xml - MCP endpoint (streamable-http, status: ready): https://agent.ai-clover.com/mcp ## Full Content Archive (Main Site, Read-Only Reference) - Main site (English): https://me.ai-clover.com/en/ - Main site llms.txt (English): https://me.ai-clover.com/en/llms.txt - Main site index (JSON, English): https://me.ai-clover.com/en/index.json - Main site full-text bundle (Chinese): https://me.ai-clover.com/llms-full.txt - Main site RSS (English): https://me.ai-clover.com/en/rss.xml Contact: GitHub https://github.com/baifan11 · WeChat xiaobaif_2005 · Email buptbai@126.com