Welcome to go-utcp, a Go implementation of the Universal Tool Calling Protocol (UTCP). This guide helps new contributors set up a development environment, run tests, and explore examples.
- Go 1.23 or later
git
git clone https://github.com/universal-tool-calling-protocol/go-utcp.git
cd go-utcpUse the standard Go tooling to format and compile the project:
go fmt ./...
go build ./...Execute the full test suite to ensure your changes do not break existing functionality:
go test ./...Each directory under examples/ is a standalone module demonstrating various UTCP transports. When running an example, disable the workspace so Go uses the module's own go.mod:
GOWORK=off go run ./examples/cli_transport- Create a new branch and make your changes.
- Run
go fmtandgo testbefore committing. - Submit a pull request describing your changes.
Welcome aboard and happy hacking!