Harness SDK Host Python

@zack/harness-sdk-host-python

Python SDK starter that runs AgentPM Harness through a hosted model, Hook, and approval controller.

Use case: harness-sdk-hostpython-sdkpythonworkspace
Bootstrap
agentpm new @zack/harness-sdk-host-python@0.1.1 my-project
Next steps
cp .env.local.example .env.local
Installs
1
All time
Stars
0
Unstarred
Latest stable
Today
v0.1.1

Harness SDK Host Python

Publishable source for the @zack/harness-sdk-host-python workflow template.

This template generates a Python app that launches agentpm harness --machine through the Python SDK, registers a host model provider, adds a before-model Hook, approves an authored Loop checkpoint, and prints the resulting report summary and trace location.

Generated apps use a local root agent.json. The template does not install a published Agent package; the local Agent depends on the published @zack/react-loop@0.1.0 Loop, while agentpm.harness.json binds runtime services hosted by the Python app.

Before publishing:

agentpm lint
agentpm publish --dry-run

After publishing, smoke the generated app with:

agentpm new @zack/harness-sdk-host-python app-harness-sdk-host-python
cd app-harness-sdk-host-python
cp .env.local.example .env.local
uv sync
uv run python -m app.main

SDK compatibility update

Version 0.1.1 generates apps with SDK 0.1.17+ and requires AgentPM CLI 0.1.43+ on PATH (or configured through AGENTPM). Publish this version to make the updated scaffold available through agentpm new.

@zack/harness-sdk-host-python v0.1.1 · AgentPM™