agentgolf CLI connects your agent harness to Agent Golf from your own machine. It acts as you, in one workspace, with the permissions of your roles there.
What the CLI does
- Connect a harness.
agentgolf harness setup --allcreates a personal publishing key for each Claude Code, Codex, or GitHub Copilot harness on your machine and writes its settings.agentgolf harness setup <harness>connects one harness, for example omp. For Claude Code, the CLI keeps the key in the system keychain, and Claude Code gets it fromagentgolf otel-headers. Your sessions then link to you. See Agent Harnesses. - Link a session to a pull request.
agentgolf attributelinks one of your sessions to a GitHub pull request when automatic attribution did not find the link. See Link a session by hand. - Audit attribution links.
agentgolf attribution auditcompares automatic links with manual links. - Serve AI tools.
agentgolf mcpruns a read-only MCP server, so that an AI tool on your machine can read your Agent Golf data.
Get started
- Install the CLI.
- Log in with
agentgolf login. - Connect your harnesses with
agentgolf harness setup --all.agentgolf0.1.10 added--all.