updated the existing pipeline/v1 schema to support agent properties#636
Open
patelraj0602 wants to merge 3 commits intoharness:mainfrom
Open
updated the existing pipeline/v1 schema to support agent properties#636patelraj0602 wants to merge 3 commits intoharness:mainfrom
patelraj0602 wants to merge 3 commits intoharness:mainfrom
Conversation
|
|
…s,tools,mcp,rules,skill from top level schema for now
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.
Pipeline vs Agent Block Comparison
Overview
This document compares the properties of the Pipeline block and the Agent block in the pipeline.json schema.
Property Comparison
Common Properties (Both Pipeline and Agent)
Both blocks share these core pipeline properties:
id- Pipeline/Agent identifiername- Pipeline/Agent nameclone- Clone configurationinputs- Input variablestimeout- Execution timeoutdelegate- Delegate selectorsenv- Environment variablesrepo- Repository configurationbarriers- Pipeline barriersif- Conditional execution logicon- Trigger configurationtags- Pipeline tagsstages- Pipeline stages arrayPipeline-Specific Properties
Properties only in the Pipeline block:
allow-stage-executions- Allows stage executionsfixed-inputs-on-rerun- Fixed inputs on rerunnotifications- Pipeline notificationsAgent-Specific Properties
Properties only in the Agent block (AI-specific capabilities):
tools(lines 1241-1243)Configures built-in tools available to all agent steps:
read- File read capabilitywrite- File write capabilitygrep- Search capabilitybash- Shell command executionmcp_servers(lines 1245-1251)Defines Model Context Protocol servers available to all agent steps:
rules(lines 1252-1258)Defines behavioral constraints for the agent:
skills(lines 1259-1265)Defines skill files (markdown instructions) for the agent:
Design Philosophy
We are trying to keep both agents and pipelines as similar as possible so that we can take maximum advantage of existing pipeline constructs. This means:
Questions
1. For Rohan
I've tried to keep the pipeline and agent block as similar as possible to leverage the pipeline constructs. Does that sound good?
2. For Harshit
Since we don't have an implementation for top level support of
mcp,rules,skills- shall I remove it from the schema as of now?3. For Rohan
Do we need all different types of stages for starters under the top level Agents construct (line 1222)? Currently the
stagesarray supports:UnifiedStageNodeV1UnifiedPipelineStageNodeParallelStagesGroupStagesUnifiedTemplateShould we simplify this for the initial Agent implementation, or keep all stage types for maximum flexibility?
4. For Harshit
Since we are not using Tools, we shall remove the reference of it, right?