Agent Apps Docs

Test your app

Run the conformance test suite with @agentapps/testing.

Test your app

Use @agentapps/testing to validate your app before publishing.

Create a test harness

import { createTestHarness } from "@agentapps/testing";

const harness = createTestHarness({
  app: "./dist/index.js",
});

Run conformance tests

await runConformanceTests(harness);

Conformance suite

The conformance suite verifies:

  1. initialize — app starts and reports its manifest correctly
  2. list_tools — all registered tools are discoverable with correct schemas
  3. health_check — health endpoint returns valid status
  4. tool_call — tools can be called and return valid results
  5. cancel — in-progress tool calls can be cancelled via AbortSignal

Next steps