Install
Use Node.js^22.18.0 or ^24.11.0. Install the matching core and harness packages and a TypeScript runner:
This example targets Agentium 4.0.0. Use matching versions of core and harness; see local-build installation when developing against SDK source.
Run a local driver
Save this ashello-harness.ts:
hello-harness.ts
result() returns the same settled result on subsequent calls. The empty array means session-resource cleanup produced no diagnostics.
Connect an Agent and source context
This complete alternative uses a provider and therefore makes a model call. Install its optional SDK:research.ts
research() supplies context but does not browse the web or grant tools. Passing configuration to agentDriver() creates a run-owned Agent and closes it after the run.
Next, configure grants and budgets, compose abilities, or consume events in a UI.
For a larger working example, build the research assistant, continue a conversation across runs, or review workspace files.