Skip to main content

Agents to support fractale agentic framework

Project description

fractale agents

Agents to use with fractale, agentic state-machine orchestrator for Science

PyPI version

https://github.com/converged-computing/fractale/raw/main/img/fractale-small.png

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

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 here rely on the fractale backend.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fractale_agents-0.0.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fractale_agents-0.0.1-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file fractale_agents-0.0.1.tar.gz.

File metadata

  • Download URL: fractale_agents-0.0.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for fractale_agents-0.0.1.tar.gz
Algorithm Hash digest
SHA256 864de77f8c41670742638df89cd0980cae6e2f014d831eaf413b3ad6bbd3591a
MD5 bf89c3f340776d87a41b9c389a884aef
BLAKE2b-256 dbaf9eed9ac42ff1c3f14bea0d1465d282d0a5fd6b0ef5adf6c931eda77c227b

See more details on using hashes here.

File details

Details for the file fractale_agents-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fractale_agents-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b5cbbd594be25a11b356a037340d3cffec1fe328039eeab29fdcd3153dfac9a
MD5 070495765130174fa9354ad58742db28
BLAKE2b-256 bd17624aae04cfe4f3aa83e4448b302dc1c7c8348d19a056dfc3d1d8f27f9522

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page