Skip to content

Send build info with registration metadata#103

Merged
smoreinis merged 3 commits into
mainfrom
stas/agent-build-info
Sep 23, 2025
Merged

Send build info with registration metadata#103
smoreinis merged 3 commits into
mainfrom
stas/agent-build-info

Conversation

@smoreinis

@smoreinis smoreinis commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

https://github.com/scaleapi/agentex-agents/pull/241 is adding a build-info.json file to the agent's project directory which will have build info like the commit hash and the link to the repository and directory path of the agent's source code.

I'm using inspect to get at the agent's project directory from the SDK, and since they all call FastACP create from acp.py this seemed like the most obvious place to check for the file existence and figure out the build-info path to set it as the environment variable.

Agent registration will then read the build-info file if the path is set, and send along its contents as registration metadata to the server which will store it into a JSONB column.

@smoreinis smoreinis changed the title Loading agent build info on ACP create if it's available Send build info with registration metadata Sep 8, 2025
@smoreinis
smoreinis marked this pull request as ready for review September 8, 2025 22:01
@smoreinis
smoreinis merged commit e50809c into main Sep 23, 2025
8 of 10 checks passed
@smoreinis
smoreinis deleted the stas/agent-build-info branch September 23, 2025 19:18
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.

2 participants