A library of primitives for building agentic flows.
Project description
General Thoughts
Agents
Agents are comprised of planners, executors, observers, and discriminators.
For a given task the general flow is a planner will receive a task and generate an objective and a directed graph of either parallelizeable or sequential steps that executors will attempt to complete to achieve this.
Each output is passed to a discriminator who qualitatively and or functionally (depending on the task) asseses it. The discriminator will pass or fail an output which depdening on the configuration can either be retried or hard failed and kicked back up to the planner to decide next steps.
Observers are present during each stage and function to provide feedback to executors and discriminators. They do not make decisions and cannot directly affect execution but their output is supplied as context for a discriminator or executor to alter their outputs.
If an output succeeds it will be passed downstream to the next executor and the process repeats until completion.
Planners receive updates on step completion and have a discriminator and observer to influence viability of the plan being executed.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for asimov_agents-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfee30f4a2be68c1e0158aca3742ce86b4d50d99f5be57dfe44f43eb7f82cfe5 |
|
MD5 | d791d2e687b69eca53a41f4fbbc80aa0 |
|
BLAKE2b-256 | 1bed0dc51b5e2c313ca412afcf4ff13f226a4551641cd086e77b0e4a0b668917 |