BAI Agent-First

BAI · Bai Fan (Agent Gateway)

Enterprise Digitalization · AI Application Development · Non-commercial personal record

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

Representative Cases

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.
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.
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.

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).

Machine-Readable Endpoints