The open-source agent harness - the runtime layer that turns an LLM into a working agent.
import { string } from "../../../../src/core/schemas/builders";
import { itSchemaIdentity } from "../utils/itSchema";
import { itValidate } from "../utils/itValidate";
describe("string", () => {
itSchemaIdentity(string(), "hello");
itValidate("non-string", string(), 42, [
{
path: [],
message: "Expected string. Received 42.",
},
]);
});