# Pi-go v1.0.0-rc.1: an embeddable Go agent runtime with approval and resume

**URL:** <https://forum.golangbridge.org/t/pi-go-v1-0-0-rc-1-an-embeddable-go-agent-runtime-with-approval-and-resume/43012>\
**Category:** Releases\
**Created:** [November 30, 2026, 2:04am UTC](https://forum.golangbridge.org/t/pi-go-v1-0-0-rc-1-an-embeddable-go-agent-runtime-with-approval-and-resume/43012 "2026-11-30T02:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![qdxiao](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/qdxiao/32/18096_2.png) [@qdxiao](https://forum.golangbridge.org/u/qdxiao)\
**Post date:** [November 30, 2026, 2:04am UTC](https://forum.golangbridge.org/t/pi-go-v1-0-0-rc-1-an-embeddable-go-agent-runtime-with-approval-and-resume/43012/1 "2026-11-30T02:04:45Z")

</div>

I’ve published the first public release candidate of [pi-go](https://github.com/qdxiao/pi-go), an MIT-licensed Go library for running agents inside an existing service. I wanted the host to keep control of identity, storage, tools, and the model, while the runtime coordinates each run. The core uses only the standard library; the provider and database adapters are separate modules.

The case I wanted to make easy to test is a tool call that needs human approval. The runtime waits without running the tool. Recording an approval still does not run it. The host explicitly resumes the run, and in the example the tool runs once. That separation lets the host decide how and when work continues rather than tying execution to the approval handler. Downstream idempotency still belongs to the host.

In an existing Go module (Go 1.23.7+):

```sh
go get github.com/qdxiao/pi-go@v1.0.0-rc.1

```

From a checkout, this test exercises the approval/resume example without model credentials:

```sh
go -C tests/tutorial test -run '^TestApprovalRequiresHostDecisionAndExplicitResume$' -v

```

If you have implemented this in a Go service, where do you put the boundary between recording a decision and scheduling resumed work? The API is still at RC stage, so examples of awkward integration points are useful.

This is my project. AI helped prepare this post.
