HostedRepo#

Let a model keep its own tools and notes in a repository on disk. See the guide.

class zett_agent.jit_harness.host.HostedRepo(alias, tools, fingerprint, directory, close=None)[source]#

The tools of one loaded version of a repository, wherever its code runs.

Parameters:
  • alias (str)

  • tools (dict[str, AgentTool])

  • fingerprint (str)

  • directory (Path)

  • close (Callable[[], None] | None)

close()[source]#

Release what this version held; the files stay on disk.

Return type:

None