Skip to content

Create a krunai runtime #77

@jeffmaury

Description

@jeffmaury

Create a krunai runtime, which will start a container using the libkrun library, and run the agent inside a micro VM.

The container can be personalized with (from workspace configuration):

The users directories are mounted:

  • sources
  • additional source dirs with path relative to sources (to support git worktrees, which link to the main repo)
  • .claude user directory (or similar for other agents)
  • other user files/directories (git config, gcloud config for vertex AI auth, etc)

The micro vm is started with a noop entrypoint (tail -f /dev/null), and the user needs to access the container with another command for the moment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions