---
title: "Comment by Adam Lewis on \"Sandbox-First, AI-Second: A Safer Workflow for AI-Assisted Travel API Integration\" | Hashnode"
description: "Hallucination is what happens when the spec isn't there, and niche APIs are exactly where the docs were thin before any model touched them. The pattern-based pa"
url: "https://hashnode.com/posts/sandbox-first-ai-second-a-safer-workflow-for-ai-assisted-travel-api-integration/6a9fe70c68b730ca51604996/comment/6aacfe5cb4f62a539994ac1a"
---

[Discussion](https://hashnode.com/posts/sandbox-first-ai-second-a-safer-workflow-for-ai-assisted-travel-api-integration/6a9fe70c68b730ca51604996)

Comment [Sandbox-First, AI-Second: A Safer Workflow for AI-Assisted Travel API Integration](https://hashnode.com/posts/sandbox-first-ai-second-a-safer-workflow-for-ai-assisted-travel-api-integration/6a9fe70c68b730ca51604996)

[Adam Lewis](https://hashnode.com/@nark3d)

[Sep 18](https://hashnode.com/posts/sandbox-first-ai-second-a-safer-workflow-for-ai-assisted-travel-api-integration/6a9fe70c68b730ca51604996/comment/6aacfe5cb4f62a539994ac1a)

Hallucination is what happens when the spec isn't there, and niche APIs are exactly where the docs were thin before any model touched them. The pattern-based parts are safe because there's a corpus to interpolate from; the dangerous parts are the endpoints nobody wrote down, where the model is guessing and confident about it. Giving the agent a sandbox to poke at doesn't fix that if the sandbox is built from the same absent spec, because you've just automated the guessing.
