Ai Tests
OpenFrame Documentation
Get the most out of OpenFrame · Book 30 minutes with Conrad, 25 years in IT. He'll show you what Mingo and Fae can take off your list.
OpenFrame Documentation
Ai Tests is the end-to-end acceptance suite for the OpenFrame AI assistants. It exercises two distinct assistant surfaces supplied by the com.openframe.oss:openframe-test-service-core library at version 7.0.11:
The suite sends prompts through product APIs, waits for real assistant runs, and verifies observable results through independent channels such as SSH or product APIs. It therefore detects false success claims as well as failed side effects.
flowchart LR
TestRunner["JUnit Test Runner"] --> Harness["Assistant Test Harness"]
Harness --> Fae["Fae Client Assistant"]
Harness --> Mingo["Mingo Admin Assistant"]
Fae --> AgentSession["Machine Bound AGENT Session"]
Mingo --> AdminSession["ADMIN Session"]
Fae --> ProductApi["OpenFrame Product APIs"]
Mingo --> ProductApi
ProductApi --> AssistantServices["Assistant Services and Tools"]
AssistantServices --> ManagedDevice["Managed Device"]
TestRunner --> Verification["Independent Verification"]
Verification --> ManagedDevice
Verification --> ProductApi
AgentSession backed by credentials read from the SSH-verified target; Mingo uses the administrative test context.sequenceDiagram
participant Test as "Ai Test"
participant Session as "Actor Session"
participant Dialog as "Dialog Fixture"
participant Runner as "Assistant Runner"
participant Product as "OpenFrame APIs"
participant Verify as "SSH or Product API"
Test->>Session: Establish ADMIN or AGENT context
Test->>Dialog: Open assistant dialog
Test->>Runner: Submit prompt and approval policy
Runner->>Product: Execute assistant run
Product-->>Runner: Run result or provider failure
alt retryable provider failure
Runner->>Dialog: Archive failed dialog
Runner->>Dialog: Open fresh dialog after backoff
else completed run
Test->>Verify: Read independent ground truth
Verify-->>Test: Assert outcome and scope
end
Test->>Dialog: Archive dialog
Detailed documentation is organized into the following generated submodules:
Ai Tests is library code from the OpenFrame OSS Library, executed by this repository's openframe/services/openframe-test service. It validates behavior that spans the tenant deployment: assistant APIs, agent identity, managed devices, ticketing, knowledge base, scripts, Fleet MDM, and tenant AI settings. The test service is part of the repository's published com.openframe:openframe-test artifact.
Source files are maintained in the OpenFrame OSS Library under its AI test package. The detailed submodule documentation identifies the corresponding classes and test responsibilities.