Skip to content

build: add basic workshop with Pi.dev agent harness - #912

Open
benhoyt wants to merge 3 commits into
canonical:masterfrom
benhoyt:workshop-with-pi
Open

build: add basic workshop with Pi.dev agent harness#912
benhoyt wants to merge 3 commits into
canonical:masterfrom
benhoyt:workshop-with-pi

Conversation

@benhoyt

@benhoyt benhoyt commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What it says on tin: adds a very basic workshop "dev" with Go installed and the Pi agent harness.

$ workshop launch  # this takes a couple of minutes the first time
$ workshop exec go test ./...  # run tests inside the workshop
$ workshop shell
> pi
/login
/model
...

Fixes #873

@benhoyt
benhoyt requested a review from hpidcock July 9, 2026 04:14
@hpidcock

Copy link
Copy Markdown
Member

I think the dev workshop should not have a built in agent. The dev workshop should be the bare essentials, then a dev-pi or dev-agent for the agentic workshop.

@benhoyt

benhoyt commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

I disagree, because then workshop launch won't work anymore, as there will be multiple workshops you'll have to specify the name workshop launch dev-pi or whatever, so it makes the dev experience a bit worse. I'd like to settle on an agent harness by default (but that doesn't prevent any individual dev from using a different one). We could have pi in the workshop be an alias to lazily install pi if it's not already installed.

I've also taken a look at how other workshop SDKs (in the store) install their tooling. It's a bit better than curl https://example.com/install.sh | sh -- they download a versioned file like https://github.com/canonical/copilot-sdk/blob/a02430240018bb14d3b061a986f7b5258b70f4e6/sdkcraft.yaml#L31-L36, and some of them do a checksum on it, like: https://github.com/canonical/opencode-sdk/blob/main/sdkcraft.yaml

Dmitry said there's also a Pi one that Hartmut put together (https://github.com/canonical/pi-coding-agent-sdk). He's going to check that it's best practice and then publish it properly. I suggest that once that's published we use that in the default workshop here.

@benhoyt

benhoyt commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Reference reference, for reference: https://github.com/canonical/reference-sdks

@hpidcock

Copy link
Copy Markdown
Member

OK, we can wait to see what happens with the pi SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup Workshop for Pebble

2 participants