BAIEnterprise Digitalization · AI Application Development中文EN

Using the FDE Toolbox to Build a New Agent Project

Date: 2026-11-03Category: Agent Framework ResearchTags: FDE · Method · Scenario · Pack

A nine-step method for starting a new Agent project with the FDE toolbox: define a small but complete business loop first, declare the capability mix in a Scenario, finish a deterministic baseline, and only then verify with a real model.

Using the FDE Toolbox to Build a New Agent Project

The core idea: first define a small but complete business loop, then compose capabilities from the toolbox, and finally verify with a real model — rather than building a complete platform from the start.

1. Clarify the project goal

Answer three questions first:

  • What business problem should the Agent solve?
  • What are the input materials?
  • What is the final deliverable?

For example, in this project:

Given the project brief, weekly reports, meeting minutes, and risk register, generate project status cards with evidence sources.

Also make the boundaries explicit:

  • Read local materials only?
  • Internet access allowed?
  • File writes allowed?
  • Human confirmation required?
  • Real external systems needed?

2. Create a separate project directory

Each new project gets its own subfolder, so the shared Runtime is not polluted:

project-name/
├── scenario.json
├── demo-request.md
├── materials/
├── runtime/
└── README.md

Where:

  • scenario.json: declares which capabilities the project needs;
  • demo-request.md: a simulated user task;
  • materials/: simulated or real business materials;
  • runtime/: run reports and temporary results;
  • README.md: how to run it, and the project boundaries.

This project can serve as a template reference: project-review-agent.

3. Prepare test materials with business value

Do not write just one simple description. The materials should at least include:

  • Project background and goals;
  • Current progress;
  • Metric data;
  • Risks and issues;
  • Meeting minutes;
  • Acceptance checklist;
  • Deadlines and owners;
  • Conflicting or missing information.

Only then can you test whether the Agent can:

  • Distinguish facts, judgments, and items pending confirmation;
  • Spot conflicts between different files;
  • Handle times and metrics;
  • Give conclusions with grounds;
  • Avoid writing inferences as facts.

4. Write the Scenario composition declaration

In scenario.json, declare:

  • Runtime type;
  • Pack;
  • Skill;
  • Tools;
  • Shared Capability;
  • Required inputs;
  • Model round limits.

This time, the mix used was:

  • Tools: vfs_glob, vfs_read, file_search, calculator;
  • Work tools: knowledge_work_plan, evidence checking, quality gate;
  • Pack: evidence-driven-knowledge-work;
  • Skill: planning and evidence handling;
  • Shared Capability: evidence contract and run governance.

Reference: scenario.json.

Note: a Scenario only declares scope; it does not automatically grant permission. Whether something actually executes still goes through authorization and governance.

5. Finish the deterministic baseline first

In the first round, do not rush to connect a real model. Verify first:

  • Can the Scenario be assembled?
  • Do the tools execute?
  • Are tool parameters correct?
  • Is evidence traceable?
  • Does the quality gate take effect?
  • Are write tools correctly restricted?

The point of this step is a baseline that separates:

  • Problems in the tools themselves;
  • Problems in the orchestration logic;
  • Problems in the model.

6. Enrich the test scenarios and run a second verification round

The second round focuses on complex situations from real business:

  • Dates inconsistent across materials;
  • Weekly reports out of sync with the risk register;
  • Metric definitions not yet confirmed;
  • Key materials missing;
  • Tools returning empty results;
  • Tool calls failing;
  • Some tasks requiring human confirmation;
  • Conclusions required to cite sources.

At this point, check both the machine report and the human-readable report — do not look at the JSON only.

7. Connect a real LLM

When connecting a real model, verify in layers:

  1. Task understanding;
  2. Tool selection;
  3. Tool parameter generation;
  4. Tool execution;
  5. Final answer generation;
  6. Judge review.

The model may only propose tool calls; it cannot directly decide whether a tool call is allowed to execute.

This time, what was finally used came from the consulting project:

  • DashScope;
  • qwen3.7-plus;
  • Tool Calling;
  • The remote configuration and key were read only inside the process, not copied into this project.

Run report: real-ollama-report.md.

8. Establish acceptability criteria

A demo counts as done only if at least the following check out:

  • The goal was achieved;
  • The tools were actually called;
  • Tool results made it into the final answer;
  • Important conclusions have evidence;
  • Facts and judgments are distinguished;
  • Failures and uncertainty are handled correctly;
  • No unauthorized writes happened;
  • Real-model and Fake-Model results are recorded separately;
  • A human has read it.

9. Then decide whether to productionize

After the demo passes, add gradually:

  • Persistent tasks;
  • Checkpoint and recovery;
  • Human approval;
  • Artifact management;
  • Real business-system connections;
  • RAG indexing;
  • Automated evaluation sets;
  • Permissions, quotas, and audit;
  • A front-end workbench.

So the full method can be summarized as:

Define the business loop → create the project directory → prepare complex materials → declare the Scenario → compose tools and capabilities → finish the deterministic baseline → connect a real LLM → evaluate the results → then productionize.