BUILD WITH FAiE
FAiE (Frontier AI Engineer Agent) can help create tools, test implementations, and configure evaluations. Open Ask FAiE in your project and describe the workflow you want:BEFORE YOU START
Create a project in Oumi, or open an existing one. You’ll need access to a model that supports tool calling and a hosted model for the simulated tool and judge evaluator. These model calls are billed as inference. This tutorial uses one function,get_order_status, and a small test dataset. A model evaluation in Oumi runs the tool-calling conversation; it does not deploy a complete production agent.
1. DEFINE THE ORDER-STATUS TOOL
- Open your project’s Tools page and click
Create Tool. - Enter Get Order Status as the display name and
get_order_statusas the function name. - Describe when the model should call it: “Return the current status and expected delivery date of one order. Call when the customer asks where an order is or when it will arrive.”
- Add one required string parameter named
order_id. In its description, tell the model to use the order ID the customer provided. - Optionally, specify the output schema below so the tool returns predictable fields. Click
Create Tool.
2. SIMULATE THE TOOL’S RESPONSE
Oumi opens the implementation form after you create the tool.- Choose Simulated as the implementation type.
- Select a hosted model to generate tool responses.
- In the Tool persona, enter:
- Create the implementation. On its page, use the Test card to call it with the arguments below, then click
Run test.
status and, if present, an expected_delivery date. Because a simulated implementation uses a model, its results can vary. For deterministic tests, replace it later with a Lookup implementation; for real order records, use an Endpoint implementation connected to your HTTPS or MCP service. See Tool implementations.
3. UPLOAD A FEW TEST REQUESTS
Create a local file namedorder-status-test.jsonl and paste in the following three lines. Each line is one conversation that ends with a user request.
4. CREATE A TOOL-USE EVALUATOR
Go to Evaluators, clickCreate Evaluator, and choose an LLM judge evaluator. Select a judge model and create two judgments: Correct with score 1 and Incorrect with score 0.
Use these instructions for the judge:
5. RUN YOUR AGENT EVALUATION
- Open Evaluations, click
Run Evaluation, and chooseRun an Evaluation. - Under Inference Source, keep
Use model. Choose a tool-capable model as the Assistant Model. - Select Order status tool use as the evaluator and
order-status-testas the dataset. - Expand Tools and click
Select tools and implementations. Select the simulated implementation ofget_order_status. - Click
Execute, name the evaluation, and clickRun Evaluation.
6. INSPECT THE RESULTS
Open the completed evaluation. Review the scores and inspect individual conversations, including the assistant’sget_order_status call, the arguments, the simulated tool output, and the final response.
If a row fails, decide whether the problem is the tool description, the implementation output, or the model’s decision. Fix the appropriate part, then run the same dataset and evaluator again to compare results. See Evaluation results.
You’ve now built and evaluated a tool-using agent workflow in Oumi.
7. SYNTHESIZE AGENT DATA (OPTIONAL)
Use Synthesize agent data to generate more tool-using conversations for training or evaluation. With Generate Completions, you can reuse your test prompts and tool implementations to produce full conversations, optionally adding a simulated user for multiple turns. Review the generated examples before using them in a training or evaluation dataset.NEXT STEPS
Train a specialized model
Fine-tune a model on high-quality conversations, then compare it with your baseline.
Run your agent
Deploy the underlying model for inference and connect it to an agent harness such as pi or Hermes.
Bring your own harness
Evaluate an existing agent while keeping its orchestration, tools, and state in your runtime.
Continuous improvement
Use evaluated results and production evidence to guide further model improvements.
Deploying a model endpoint does not by itself host the full agent runtime. The tool loop, orchestration, and state must run in an agent harness or application. See Run your agent.