Agents to support fractale agentic framework
Project description
fractale agents
Agents to use with fractale, agentic state-machine orchestrator for Science
A sub-agent is a single step in a state machine that can call other sub-agents, tools, or prompts, and respond dynamically to work on a scoped task. Sub-agents are created in order to map our expertise and logic into a more controlled execution or interaction with an LLM.
Agents
The following agents are availble.
| Name | Description | Path |
|---|---|---|
| flux-operator | expert to deploy Flux Operator MiniClusters to Kubernetes | fractale_agents.kubernetes.FluxOperatorAgent |
| flux-build | optimized to build containers for the Flux Operator | fractale_agents.kubernetes.FluxBuildAgent |
| result_parse | Parse specific metrics from output logs | fractale_agents.parsers.ResultParserAgent |
| optimize | General optimization agent | fractale_agents.optimize.OptimizeAgent |
| job-transform | Job specification transformation agent | fractale_agents.hpc.job.JobTransformAgent |
| job-generate | Job specification generation agent | fractale_agents.hpc.job.JobGenerationAgent |
The general prompt agent is provisioned by fractale directly, fractale.agents.general.PromptAgent.
Would you like to see an expert added? Please open an issue and let us know.
Usage
A sub-agent is a specialized expert that can be imported and used in a fractale workflow. You can register agents on the fly, or via a configuration file.
# Register a sub-agent tool on the fly
fractale prompt -t fractale_agents.kubernetes.FluxOperatorAgent Deploy lammps to Kubernetes using the Flux Operator
Or write the tool into a registry file:
# sub-agents.yaml
tools:
- path: fractale_agents.kubernetes.FluxOperatorAgent
And then:
fractale prompt -r ./sub-agents.yaml Deploy lammps to Kubernetes using the Flux Operator
The agents have logical dependencies. For example, the flux-operator sub agent is expecting to have access to a Kubernetes cluster to install and use the Flux Operator!
License
HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.
See LICENSE, COPYRIGHT, and NOTICE for details.
SPDX-License-Identifier: (MIT)
LLNL-CODE- 842614
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fractale_agents-0.0.12.tar.gz.
File metadata
- Download URL: fractale_agents-0.0.12.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21a36607889eb8f4da23d2cf9de4509fcc41d97adc26d47248cb150d65e6f9ba
|
|
| MD5 |
4ef2e02f022b8be62288c9f2249d901f
|
|
| BLAKE2b-256 |
323054d9457e1b82d7a5149382baadfd24b6fbfabcd55a4bcdcbddd3438d4f78
|
File details
Details for the file fractale_agents-0.0.12-py3-none-any.whl.
File metadata
- Download URL: fractale_agents-0.0.12-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c7ddb2975897d6014dc4d842276b618f591f9a4bab281e356fbe3b1770cd2b0
|
|
| MD5 |
68c75d7b4b931483944e58db4868aafa
|
|
| BLAKE2b-256 |
c547e4b8897a78da82dc8a89c86be5070fa7eed531f6952e99e517da8c853d69
|