AI testing and development

For AI

Give AI-assisted development a situation your team can inspect.

Build around a customer’s order history, explore an uncertain API response, or check how an assistant handles a failed lookup. Prepare meaningful conditions, inspect the evidence, and keep your team’s expectations beside the result.

Make the customer situation inspectable

A useful order case needs more than a plausible response. Which customer owns the order? Has it shipped? What should the software say when an arrival date is unknown?

Connect a compatible model, including one hosted in your environment, to Studio. Draft linked fictional records, inspect the plan and relationships, and correct the expectations before putting the case in front of your software. Approved fixtures are exported and imported explicitly.

Authored illustration · linked order case

Customer

Mara Chen

Owns order order_demo_001

Related order

Awaiting dispatch

Delivery date: unknown

The team’s expectation

Explain the pending order without inventing an arrival date.

Review the records and expectation together. Studio checks, fixture import and your application’s result are separate steps.

Studio can also run approved bounded checks when its isolated runner is configured. Review those results separately from your application’s behavior; authoring a world does not establish that the application handles it correctly.

Explore customer-situation authoring

Explore responses beyond the prepared examples

When a service needs more response coverage, investigate a candidate without treating it as an accepted test case. Gostly’s local response-model workflow is separate from Studio’s scenario authoring.

Use eligible API examples to train a service-specific response adapter on your Full stack. Activate the adapter separately, inspect candidate responses, and retain useful cases only after your own acceptance checks. A generated response is not a correctness guarantee or an immediate answer to every unmatched request.

Authored illustration · response review

Examples for one service
Reviewed order requests and responses
Candidate to inspect
A pending order with no delivery date
Your acceptance question
Does the response preserve the order identity and the customer rule?
Review a candidate against the case’s expectations. Training, activation and caller acceptance each have their own outcome.

Explore the local response-model workflow

Check the answer your customer gets

An order assistant should handle a failed lookup without inventing a delivery date. Give your existing application or agent the selected API condition, inspect what its tool wrapper exposes, and compare its answer and actions with the expectation your team chose.

Authored illustration · synthetic order

Order assistantExample conversation

User

When will my order arrive?

Tool call

get_order("order_demo_001")
Selected HTTP request
Gostly test upstreamMOCK
HTTP 503Service unavailable
Tool result: unavailable

Assistant

I can’t look up your order right now, so I can’t confirm when it will arrive. Please try again later.

Expected behavior: no invented delivery date and no order-changing action through the inspected interface. Your harness checks these assertions.

Keep the task, reviewed API case and relevant starting state together when comparing versions. Your agent stays in its existing framework, and your harness judges the result. The same API inputs do not make model choices deterministic.

Choose an agent tool-call test

Where Gostly fits

Studio helps prepare and inspect a situation. Local response inference supplies a separate path for service-specific candidates. Your external agent calls the selected API environment; your team owns the application, its evaluation and delivery decisions.

The selected tool’s request and response path

Your agent

Chooses calls and answers

Tool call
Tool result

HTTP tool / wrapper

Routes the selected request

HTTP request
API response

Gostly API environment

Serves the reviewed API case

Optional MCP

Authorized client environment management

Your harness

Observes tool results, the agent’s answer and application effects.

Gostly controls the covered HTTP inputs. Your agent and evaluator remain in your own stack.

The worked order-tool procedure explains the HTTP condition, wrapper contract and evidence to inspect at each boundary.

Setup and comparison notes

Choose the setup for the work

Studio needs a tested compatible model connection reachable from your installation. A customer-hosted endpoint must be admitted by the operator; sharing content with a remote endpoint requires the appropriate consent. Studio does not install that model for you.

Authoring and fixture export work independently of the optional isolated runner. Approved checks need that runner; private proxy checks need additional execution setup. The standard installer does not include the optional Studio execution services. Exporting a world and importing its fixtures remain separate actions.

Local API-response specialization uses Full’s response model, not Studio’s connected reasoning model. Follow response-model training and activation for its setup and response acceptance to decide what evidence a candidate needs.

Choose the condition and behavior to check

Start with one task and a specific dependency condition: an unavailable service, a missing resource, incomplete data, a slow response or a rejected write. Define the expected answer and allowed actions before running the agent.

Keep three checks distinct: what arrived over HTTP, what the wrapper exposed to the model, and what the agent said or did. A wrapper can turn a service error into an empty result and hide the condition you intended to test.

Use fault controls for supported errors and delays, and inspect the delivered condition. A configured delay, an HTTP timeout status and your client’s deadline expiry are different observations. Declare attempt and deadline limits in your harness.

Prepare and inspect the HTTP case

Use a Pro trial or license and the supported installation. The HTTP workflow works independently of the optional Team MCP integration.

Configure the tool’s actual HTTP client. A skill instruction alone cannot reroute an SDK or live connector. Control other tools, credentials and permitted writes separately; routing one dependency does not contain every agent action.

  1. Route the selected calls. Configure a supported base URL or proxy path using proxy setup. HTTPS interception requires client proxy support and trust in Gostly’s certificate authority. Certificate-pinned clients can reject that certificate; follow TLS setup. Supported HTTP replay does not include WebSocket frame replay.
  2. Prepare reviewed data. Capture representative requests in LEARN or use an appropriate reviewed library. Recording forwards requests upstream, including writes. Use suitable test credentials and inspect retained payloads before sharing or importing data.
  3. Build the library and select MOCK. Follow the record-and-replay workflow. Keep the library version, service configuration and intended response source with the case.
  4. Verify a known request. Confirm the expected status, body and response origin. A saved mock or accepted mode change alone does not establish that the proxy is serving the intended case.

Inspect what served. A recorded response comes from captured traffic; an adjusted response can change values for the incoming request; a generated response has a different origin. Review the source your assertion requires. Generated output needs its own acceptance checks before becoming a baseline.

Credential-header filtering and body scrubbing are separate. Original local replay bodies can remain, and imported files need review before import. The security model describes these data-handling boundaries.

Keep state and coverage explicit

Decide which state the test depends on. Supported session replay can use captured body and header fields held in memory. That session buffer clears on restart or the next LEARN window; persisted replay bodies have a separate lifetime. Restarting is therefore different from restoring a test’s starting state.

For supported resource workflows, linked mocks retain resource state. Enable bundled lifecycles or author statechart transitions when status changes matter. Capturing a response does not automatically model an arbitrary upstream workflow.

Use the Time Chamber snapshot and reset workflow for supported episode state and virtual API time. Reset your application’s conversation, caches and storage separately. Advancing API time does not advance an SDK retry scheduler or application clock.

Inspect new request shapes as the agent changes its path. An uncovered call needs coverage review; it cannot silently count as the same prepared case.

Keep the comparison evidence

Keep the task, reviewed API case, relevant starting state and evaluation rubric fixed. Record the agent, prompt, model and tool revisions; change the variable you want to compare. Declare a repeat count and retain each outcome. The same API inputs do not make model choices deterministic.

Inspect the actual wrapper result before judging the answer. Save requests, response origins, agent output, follow-up actions and assertion results. Keep uncovered calls, incorrect fixture delivery and missing traces separate from handling passes or failures. Request logs show exchanges, not the model’s reasoning.

Your harness supplies agent scoring; response origin alone cannot establish a correct interpretation.

Automate environment management with MCP

The optional Team MCP integration lets authorized clients inspect and manage the same Gostly environment. It is a control surface; your agent’s HTTP tools still need their configured request route.

  1. Discover the tools available to your credential, role and enabled features.
  2. Inspect the current services, coverage and serving state.
  3. Apply only the setup changes authorized for the case.
  4. Verify applied serving state and a known response before invoking your agent and harness.

Saving a mock, queuing a library build and applying a serving change are distinct operations. Follow the connection and permission requirements; discovery does not grant mutation access. Gostly’s built-in holdout evaluation measures response fidelity, while your evaluator checks the external agent’s answers and actions.

Carry the case into your CI workflow

Move the reviewed data and matching configuration together. Follow CI integration to start the supported stack, check readiness and select MOCK before your harness runs. Keep credentials in your CI secret store.

Retain the task and code revisions, library and configuration versions, starting-state/reset procedure, known-response checks and observed evaluation results with the job. Your runner and harness determine the job’s result.

Self-hosting gives you control over the environment and retained data. Review upstream forwarding, registry access, license validation, telemetry settings and selected model-provider connections separately. Keep live-provider compatibility checks and production tool permissions alongside your regression workflow.