Skip to content

Instantly share code, notes, and snippets.

View lukehinds's full-sized avatar
🏃‍♂️
Either running or coding.

Luke Hinds lukehinds

🏃‍♂️
Either running or coding.
View GitHub Profile
#####################################################################
# Spin Blender Tools Dataset Configuration
#####################################################################
# This configuration demonstrates using Blender MCP tools via Spin
# for generating synthetic 3D design assistant training data.
#
# Prerequisites:
# 1. Start the Spin service:
# cd tools-sdk
# spin build && spin up
#!/bin/bash
# Load comprehensive Blender MCP mock data into the mock tools server
#
# Usage: ./load-blender-mock-data.sh [base_url]
# Default base_url: http://localhost:3000
set -e
BASE_URL="${1:-http://localhost:3000}"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
{
"description": "Comprehensive Blender MCP mock data for testing tool execution with 3D design assistant scenarios",
"version": "1.0.0",
"mockResponses": {
"get_scene_info": {
"defaultResponse": {
"name": "Untitled",
"objects": [],
"activeObject": null,
"renderEngine": "CYCLES",
{
"description": "Comprehensive Google Workspace mock data for testing tool execution with productivity assistant scenarios",
"version": "1.0.0",
"mockResponses": {
"search_gmail_messages": {
"defaultResponse": {
"messages": [
{
"id": "msg_001",
"threadId": "thread_001",
#####################################################################
# Spin Google Workspace Tools Dataset Configuration
#####################################################################
# This configuration demonstrates using Google Workspace MCP tools via Spin
# for generating synthetic productivity assistant training data.
#
# Prerequisites:
# 1. Start the Spin service:
# cd tools-sdk
# spin build && spin up
#!/bin/bash
# Load comprehensive Google Workspace mock data into the mock tools server
#
# Usage: ./load-google-workspace-mock-data.sh [base_url]
# Default base_url: http://localhost:3000
set -e
BASE_URL="${1:-http://localhost:3000}"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Execution-Based Tool Tracing: Building Better Agentic Training Data

Training agentic models that can effectively use tools remains one of the harder problems in applied ML. Models trained on purely synthetic data - where tool calls and their responses are both generated by an LLM - consistently underperform when deployed against real systems. They struggle with error recovery, mishandle state dependencies, and often exhibit what we call "time travel" errors: acting on information they haven't actually received yet.

This post introduces DeepFabric's execution-based tool tracing system, which replaces simulated tool outputs with real execution inside WebAssembly sandboxes. The result is training data grounded in actual system behavior, including the messy parts that make real-world tool use challenging.

The Problem with Simulated Tool Calls

Consider a typical synthetic data generation pipeline for tool-using agents. An LLM generates a user request, then generates an assistant response with tool calls,

The "Academic Diagram" Prompt Template

Replace the [bracketed text] with your specific topic.

Create a professional, high-fidelity academic diagram illustrating [insert concept or summary of text here].

Visual Style: Clean vector-style graphics, flat design, technical schematic. Similar to a figure found in a high-end computer science textbook or an IEEE research paper.

Composition: Organized flow-chart or system architecture layout. Use distinct geometric nodes (rectangles, cylinders for databases) connected by clear directional arrows to show process flow.

This file has been truncated, but you can view the full file.
{"messages": [{"content": "You are an expert in application performance monitoring (APM) with deep knowledge of Scout APM,\nperformance optimization, and distributed tracing. You have access to Scout APM tools to monitor,\nanalyze, and troubleshoot application performance issues.\n\nWhen presented with a task or question about application monitoring, you should:\n1. Analyze the requirements and determine what monitoring data or actions are needed\n2. Select the appropriate Scout APM tool(s) to execute\n3. Construct proper parameters with correct app IDs, time ranges, and filters\n4. Execute the tool(s) and interpret the results\n5. Provide clear explanations, insights, and actionable recommendations based on the data\n\nThink step-by-step about:\n- What application metrics, traces, or insights are needed\n- Which Scout APM tools are most appropriate\n- What parameters and time ranges to use\n- How to interpret performance data and identify bottlenecks\n- What follow-up investigations or optimizations might be