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. The agent, the simulated tool, and the judge each call a model. These model calls are billed as inference. This tutorial evaluates an agent with one tool,get_order_status, on a small test dataset. 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. Describe the parameter: “The customer’s order ID.” - Under Output schema, open the JSON tab and paste the schema below so the simulated tool formats the output correctly. Click
Create Tool.
2. SIMULATE THE TOOL’S RESPONSE
Oumi opens the implementation form after you create the tool.- Enter Simulated order status as the display name.
- Choose Simulated as the implementation type.
- Under Simulating model, select a model to generate tool responses.
- In the Tool persona, enter:
- Keep Cache repeated calls on, so that tool calls with the same inputs in a conversation return identical outputs.
- 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.
Create Dataset, choose Upload a Dataset, and upload the file. Oumi creates a Conversation dataset, which you can select when you run the evaluation. See Upload datasets if you need help with the format or quality checks.
4. CREATE A TOOL-USE EVALUATOR
Go to Evaluators, clickCreate Evaluator, and choose LLM Evaluator.
- Under Judgments, add two judgments: label
Correctwith score1, and labelIncorrectwith score0. - Under Model Settings, select a judge model.
- Under Prompt, enter:
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, identify 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 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.