docs(build-agent): annotate-trace is agent-callable on-platform via the annotate_trace op#15
Open
mmabrouk wants to merge 1 commit into
Open
docs(build-agent): annotate-trace is agent-callable on-platform via the annotate_trace op#15mmabrouk wants to merge 1 commit into
mmabrouk wants to merge 1 commit into
Conversation
…he annotate_trace op The skill claimed no agent-callable platform operation for annotations existed. Agenta now ships an annotate_trace platform op in the default build kit that self-targets the current run's trace/span, so on-platform agents can grade themselves at runtime. Clarify that the shell script remains a human/out-of-run tool for the public HTTP API, while pointing agent authors at the platform op for self-annotation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
references/annotate-trace.md(and a matching comment inscripts/extras/annotate-trace.sh) claimed:That's now stale. Fixed to:
Why
The Agenta platform ships an
annotate_traceop in the default agent buildkit (
DEFAULT_BUILD_KIT_OPS) — it self-targets the run's own trace/span viacontext binding, so an in-platform agent can grade itself without hitting
the public API from outside a run.
annotate-trace.shitself is unaffected:it still drives the public HTTP API and stays an experimenter/demo tool for
out-of-run annotation, since there's no public-API equivalent bound to "your
own current trace."