BAIEnterprise Digitalization · AI Application Development中文EN

FDE Capability Panorama (Stage Completion Status)

Date: 2026-11-03Category: Agent Framework ResearchTags: Capability map · Runtime · Pack · Evaluation

The FDE tool platform's stage-completion status, organized as six architectural layers plus three cross-cutting capabilities: what is finished and verified by offline tests, what is interface-ready only, what is still planned — and the acceptance criteria for each.

FDE Capability Panorama (Stage Completion Status)

Below is a panorama map organized along the previously settled “six layers plus three cross-cutting capabilities”.

Status legend:

  • ✅ Done: code, interfaces, and offline test verification exist
  • ◐ Exists but not yet extracted: exists in the original project, not yet moved into a general Pack or fully interfaced
  • △ Partially done: the base exists, but real-environment or production capability is insufficient
  • → Planned: to be built in the next stage

1. The panorama capability map

Layer / cross-cutting capability Completed capabilities Current status Planned Main acceptance criteria
1. Client application layer RuntimeService, CLI, scenario validation, run and recovery entry points ✅ Base entry points done; client UI not yet built Add Web, API, review workbench, result display and download per client project CLI, Web, and API all reuse the same RuntimeService
2. Scenario & domain Pack layer ScenarioSpec, PackManifest, AgentPack, PackRegistry, CapabilityGateway, reference Pack ✅ Pack assembly base done Extract evidence_driven_knowledge_work; connect the consulting-research Profile; later add bidding, legal, academic Profiles and industry extension Packs Scenarios, tools, Skills, rules, and templates can be swapped without modifying the Runtime core
3. Runtime layer Full Runtime, Direct Runtime, RuntimeService, model adaptation, Checkpoint, human-approval recovery ✅ Both Runtimes done and tested Split optional flow nodes further; support scenario-level enabling or skipping of planning, memory, evaluation steps; reduce fixed-flow coupling Simple tasks take the lightweight Runtime, complex research the full Runtime; recovery cannot switch modes
4. Tool & system connection layer Tool Registry, ToolService, parameter validation, authorization, middleware, Sandbox, audit, SubAgent tool boundaries ✅ General tool governance done Connect client HTTP, MCP, database, Git, ERP connectors; add versioning, timeouts, retries, idempotency, and receipt queries Every tool goes through the unified authorization, Sandbox, execution, and audit chain
5. Data, knowledge & memory service layer Memory/RAG/Skill/Artifact Providers; retrieval contracts; hybrid retrieval and reranking interfaces; evidence writing ✅ Interface boundaries done; local RAG accepted Build material registration, parsing, index versions, permission filtering, incremental sync, deletion propagation, and real knowledge-base connections Query results can locate the original text; material changes affect retrieval; memory can be reviewed, modified, and deleted
6. Run & infrastructure layer Task/Run/Thread, Worker, lease takeover, SQLite Checkpoint, Postgres Task Store adapter, external Sandbox Runner protocol △ Local and protocol-level verification done, production environment not fully accepted Postgres HA, backup and recovery, multi-Worker stress tests, container or micro-VM Sandbox, deployment upgrade and rollback Process restarts, Worker takeover, lease expiry, and external side effects all recover correctly
Cross-cutting 1: Identity & security governance tenant, scope, authorizer, approval, risk policies, Skill Policy, Sandbox Policy, redaction, and audit ✅ Core governance chain done Connect client IAM, role permissions, data classification, external-access approval, and end-to-end tenant isolation The model cannot widen its own permissions; approvals bind the specific task, tool, parameters, and resources
Cross-cutting 2: Quality & evaluation pytest, P3/P4 acceptance, retrieval evaluation, quality checks, Citation/Evidence validation, reference-scenario tests ✅ Engineering quality baseline done Bring consulting, bidding, legal, and academic cases into evaluation sets; connect real models and human quality evaluation Engineering tests, model tests, external-service tests, and human evaluation are distinguished
Cross-cutting 3: Observability & operations Trace, structured events, execution logs, Checkpoint events, tool-result summaries, error classification △ Observability base done Unified metrics, cost, latency, failure rate, human-takeover rate, alerting, run replay, and an operations panel Can answer what a task did, how long it took, where it failed, who approved it, and which materials it used

2. Detailed status inside each layer

1. Client application layer

Capability Status Notes
CLI scenario validation ✅ Supports validate, run, resume
Programmatic Runtime API ✅ RuntimeService.start/resume form a stable entry
Web task submission △ The original project has a basic entry, but the current general base does not depend on the old UI
Approval workbench → Built later per client needs; not a core dependency of the general Runtime
Material management pages → Need upload, parsing status, permissions, and source viewing
Result management pages → Need versions, citations, human confirmation, and publication
Client portal / API gateway → Built once a concrete client delivery scenario exists

Current principle: there is no need to build a general UI in advance just to “complete the architecture diagram”.

2. Scenario & domain Pack layer

Capability Status Notes
Scenario identity and version ✅ ScenarioSpec supports it
Pack identity and version ✅ PackManifest supports it
Pack registration and installation ✅ PackRegistry supports it
Tool and Skill dependency checks ✅ Checked at scenario assembly time
Capability scope isolation ✅ A scenario sees only its declared tools and Skills
Reference Pack ✅ A reference Pack and end-to-end tests exist
General knowledge-work Pack → To be distilled from the consulting project
Consulting-research Profile ◐ V2/V3 have business implementations, not yet fully moved into a general Pack
Bidding-response Profile → Later scenario verification
Legal-research Profile → Later scenario verification
Academic-research Profile → Later scenario verification
Industry extension Packs → Telecom, government procurement, science-and-technology innovation, etc.
Client Adapter → Client materials, system connectors, templates, and permission configuration

In consulting V2/V3, the following are currently “existing but not yet extracted”:

  • Research planning
  • Question planning
  • Method pack
  • Quality evaluation
  • V3 workflow strategy

3. Runtime layer

Capability Status Notes
Full Runtime ✅ The original full flow has been migrated to full_engine.py
Direct Runtime ✅ Supports tool loops, round limits, approval, cancel, and recovery
RuntimeService ✅ Chooses Full or Direct by scenario
Model adaptation ✅ GatewayModel, LLMGateway
Tool-call loop ✅ Both Full and Direct use unified tool governance
SQLite Checkpoint ✅ Cross-process recovery supported
Human-approval recovery ✅ Tested in both Full and Direct
Scenario-bound recovery ✅ Recovery validates scenario, Pack, and Runtime versions
Flow nodes enabled per scenario ◐ The two Runtimes are distinct, but the full graph still has fixed flows inside
Workflow Profile connection → Connect consulting, bidding, and other workflow configurations into the Runtime
Replaceable Runtime executor → Later, evaluate a simplified implementation or a Pi adapter

4. Tool & system connection layer

Capability Status Notes
ToolSpec / ToolRegistry ✅ Tool declarations, Schemas, and executor management
ToolService ✅ Unified tool invocation service
Parameter validation ✅ Undeclared parameters and out-of-scope parameters are rejected by default
Deterministic authorization ✅ The LLM cannot directly decide whether a tool is approved
Human Approval ✅ High-risk tools can pause and wait for a human
Sandbox Adapter ✅ In-process and external Runner protocols
SubAgent tool boundaries ✅ Sub-Agents inherit the parent’s permissions and tool scope
MCP connection contract ◐ Can connect via adapters, but client MCP connectors are not systematically built
HTTP / database connectors → Accumulated one by one per client delivery
Idempotency and receipt mechanisms → Solve duplicate execution between external side effects and recovery
Tool health checks → Interface, credential, permission, and service availability checks
Tool version compatibility → Provide a compatibility layer when client system APIs change

5. Data, knowledge & memory service layer

Capability Status Notes
Memory Provider ✅ Injectable into the Runtime
Skill Provider ✅ Supports directory Skills and Pack-built-in Skills
RAG Provider ✅ Scenarios can inject retrieval implementations
Artifact Backend ✅ Artifacts and evidence can be stored via injection
Evidence / Citation ✅ Results can be linked to evidence and sources
Keyword retrieval ✅ Implementation and interface exist
Vector retrieval ✅ Query-side contract exists
Hybrid retrieval ✅/◐ Mechanism and interface exist; scenario strategy still needs Profiling
Reranking ✅/◐ Reranker contract exists; real-model connection is accepted per environment
Document parsing ◐ A local implementation exists; the unified material lifecycle is incomplete
Material registration → Establish source, version, permissions, and parsing status
Index lifecycle → Incremental updates, deletion propagation, index versions, and rollback
Memory governance ◐ Read/write and storage base exists; confirmation, conflict, expiry, and deletion still needed
Knowledge permission filtering → Material permissions must run through retrieval, citation, and artifacts
Client knowledge-base Adapter → Connect the client’s existing index or knowledge-base system

6. Run & infrastructure layer

Capability Status Notes
Task / Run / Thread identity ✅ Lifecycle objects distinguished
Background Worker ✅ Task claiming and execution exist
Lease / Heartbeat ✅ Leases, renewal, and expiry takeover exist
Lease Fence ✅ Old Workers cannot keep writing
SQLite Checkpoint ✅ Local and cross-process recovery verified
Postgres Task Store ◐ Code and acceptance scripts exist; the target environment still needs a real deployment
Artifact Storage ✅/◐ A local artifact backend exists; the production storage strategy is undecided
External Sandbox Runner ◐ Protocol-level acceptance passed; the production isolation environment is not accepted
Multi-instance Workers → Need stress tests, failure drills, and duplicate-task verification
HA and backup/recovery → Postgres, object storage, and run data all need verification
Deployment and upgrade → Install, configuration, health checks, migration, and rollback
Resource and cost governance → Token, tool-call, time, and concurrency budgets

3. Completion status of the three cross-cutting capabilities

Cross-cutting capability Done Still to build
Identity & security governance Tool Authorization, Scope, Tenant, Skill Policy, Sandbox Policy, approval, audit, sensitive-output redaction Enterprise IAM, fine-grained data permissions, client network policies, end-to-end tenant isolation, multi-party co-signing
Quality & evaluation 300 offline tests passing; P3/P4 local acceptance passed; Pack, Runtime, RAG, Worker, Sandbox all have tests Real models, real external services, client samples, human evaluation, domain benchmark sets, and continuous regression
Observability & operations Trace, event logs, Checkpoint records, tool-result summaries, error classification Centralized metrics, alerting, cost analysis, run replay, operations panel, and SLA reports

4. Summary by current status

Capability category Current conclusion
General Runtime base First extraction round finished and passed local regression
Tool governance and security boundaries A reusable base has formed
Skill, RAG, Memory, Artifact interfaces Interfaced, but production services still need connecting
Pack assembly mechanism Done; the reference Pack runs
Consulting V2/V3 domain capabilities Exist in the original project, not yet moved into a general Pack
Bidding, legal, academic Profiles Not yet built; future extension directions
Client UI and portal Not a completion condition for the base right now
Real client production environments Not yet accepted

The base-closure evidence is in the master plan; the most important next stage is:

General Runtime base
        ↓
evidence_driven_knowledge_work
        ↓
consulting_research Profile
        ↓
V2 / V3 collaboration strategy
        ↓
Real consulting case verification
        ↓
Second-scenario verification of the reuse boundary

Among these, consulting V2/V3 is the first domain workflow to migrate; bidding, legal, and academic research are for now reuse-verification scenarios and should not all be implemented in advance.