You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the following issues #166, #168, #177, which this design should address/fix.
The AgentOS component programming model provides a standard (reproducible) way to prepare and run a Python program by having the runtime:
load parameters for the run (the parameters can be for the __init__() function of the component whose entry point is being run, or the __init__() of any of the components in its dependency DAG, or the actual entry-point (i.e. function) being run.)
instantiate the class and its dependency DAG (passing in the appropriate parameters for each from step 1 above)
call the entry point (i.e., one of the class instances's methods)
record all of this (plus any metrics and artifacts logged during the run) as a Run Record, which is sorted to the Run History.
As you can see in number 1 above, handling parameters in a clean, easy to understand way is very important!
Desirable functionality:
allow any param to be provided as a flag to the CLI agentos run [component] [--entry-point] command
allow params to be specified via a file
allow defaults to be set and handled in an intuitive cascading way (e.g., entry-point functions can be defined with default values, which should be overridden by values provided in a params file, which should in turn be overridden by values provided at the CLI)
OPEN QUESTION: should we support shell environment variables too?
STRETCH GOAL: allow one param to be passed to multiple entry-points in the run (i.e., allow a param to be shared by multiple component entry-points)
coreRelated to core abstractions and APIsacsAgentOS Component System
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
See the following issues #166, #168, #177, which this design should address/fix.
The AgentOS component programming model provides a standard (reproducible) way to prepare and run a Python program by having the runtime:
__init__()
function of the component whose entry point is being run, or the__init__()
of any of the components in its dependency DAG, or the actual entry-point (i.e. function) being run.)As you can see in number 1 above, handling parameters in a clean, easy to understand way is very important!
Desirable functionality:
agentos run [component] [--entry-point]
commandBeta Was this translation helpful? Give feedback.
All reactions