ELITEA Agent Toolkit: Artifact Toolkit Guide

Introduction

Purpose and Overview

This guide is designed to assist users in setting up and utilizing the Artifact Toolkit within the ELITEA application. It provides detailed instructions on configuring the toolkit and integrating it into ELITEA agents. This integration empowers agents to leverage artifacts for temporary data storage, context management, and inter-agent data sharing, enhancing the efficiency of data handling within AI-driven workflows.

Brief Overview of the Artifact Toolkit

The Artifact Toolkit within ELITEA provides a simple yet powerful data storage mechanism for AI agents. It allows agents to create, read, update, and delete text-based files within project-specific buckets. Think of buckets as folders where agents can store temporary data files. This toolkit is particularly useful for:

Important Note: Artifact storage is designed for temporary data and operational context. It is not intended for long-term data archival or as a primary database. Files are subject to retention policies and potential manual deletion.

Key Terms

Setup and Configuration

To configure the Artifact Toolkit for use with an ELITEA agent, follow these steps:

Integration with ELITEA

  1. Navigate to ELITEA Agents: Access the Agent configuration section within your ELITEA instance.

  2. Configure a New Agent (or Edit Existing):

    • Create a new agent or modify an existing one.
    • Define the Agent Name, Description, and Instructions that guide the agent's behavior when using the Artifact Toolkit.
    • Select the appropriate Agent Type for your workflow ( e.g. OpenAI ) .

    artifact-Create_agent

  3. Add Artifact Tool: Within the Agent configuration, locate the "Tools" section and click the "+" (Add Tool) icon.

  4. Select Artifact Toolkit: From the dropdown list of available toolkits, choose "Artifact".

  5. Artifact Tool Configuration: The "New artifact tool configuration" section will appear. Configure the following:

    • Name: Enter a descriptive name for your Artifact Toolkit instance (e.g., "My Temporary Storage", "Context Artifacts"). This name is for your internal reference within the agent configuration.
    • Description: Provide a brief description outlining the intended purpose of this specific Artifact Toolkit instance. For example, "Used for storing intermediate test case generation results."
    • Folder (Bucket): Specify the name of the bucket (folder) you want to use.
      • Creating a New Bucket: If you enter a bucket name that does not already exist within the project, a new bucket with that name will be automatically created when the tool is first used by the agent. The bucket will initially be empty.
      • Using an Existing Bucket: If you enter the name of an existing bucket, the toolkit will connect to and use that bucket.
      • Default Bucket: If you leave this field blank or enter "test", it will use a bucket named "test". However, for better organization and to avoid potential conflicts, it is highly recommended to use descriptive and unique bucket names.

    artifact-Create_toolkit

  6. Select Tools: Choose the specific tools you want to enable within this Artifact Toolkit instance. You can select all tools or only the ones your agent will need:

    The Artifact Toolkit provides the following tools (actions) that your agent can use:

    • List Files:

      • Functionality: Retrieves a list of all files currently stored within the specified bucket (folder).
      • Purpose: To check which files are available in the bucket before reading or processing them.
    • Create File:

      • Functionality: Creates a new text file within the specified bucket.
      • Parameters: The desired name for the new file (e.g., test_cases.txt) and the initial text content to be written into the file.
      • Purpose: To store initial data, generated content, or start a new log file.
    • Read File:

      • Functionality: Reads and retrieves the text content of a specified file from the bucket.
      • Parameters: The name of the file to read (e.g., report_data.json).
      • Purpose: To access and process data previously stored in an artifact file.
    • Delete File:

      • Functionality: Permanently deletes a specified file from the bucket.
      • Parameters: The name of the file to delete (e.g., temp_data.csv).
      • Purpose: To remove temporary files that are no longer needed, or to clean up artifact storage. Caution: Deletion is permanent and files cannot be recovered.
    • Append Data:

      • Functionality: Adds (appends) text data to the end of an existing file in the bucket. If the file does not exist, it might create the file (behavior depends on specific ELITEA implementation, check documentation).
      • Parameters: The name of the file to append data to (e.g., log_entries.txt) and the text content to append to the file.
      • Purpose: To incrementally build up a file, such as adding log entries, accumulating test cases, or expanding a dataset over time.
  7. Save Configuration: Click the "Save" button to save the Artifact Toolkit configuration for your agent.

File Types Supported

The Artifact Toolkit is designed to work with plain text files. It supports various text-based file formats, including:

Unsupported File Types:

The toolkit does not support binary files or formatted document types that contain complex structures and formatting beyond plain text. Examples of unsupported file types include: .docx .pdf .xlsx, Images like .jpg, .png, etc.

Bucket Accessibility and Security

Artifact Retention

artifact-artifacts_page

Artifact Functionality Section

Use Cases

The Artifact Toolkit provides a versatile set of tools to enhance agent workflows within ELITEA. Below are key use cases, illustrating how each tool can be applied to streamline data handling and improve agent capabilities:

Troubleshooting and Support

Troubleshooting

  1. File Not Found Errors:

    • Problem: Agent execution fails with "File Not Found" errors when attempting to use read_file, delete_file, or append_data tools.
    • Troubleshooting Steps:
      • Verify Filename: Double-check the filename specified in the agent instruction. Ensure it exactly matches the filename of the artifact in the bucket.
      • Check Bucket Name: Confirm that the correct bucket name is configured for the Artifact Toolkit.
      • List Files: Use the list_files tool to list the contents of the bucket and verify if the file actually exists and if the filename is spelled correctly.
      • File Deletion or Retention: Ensure the file has not been accidentally deleted by another agent/user or automatically deleted due to exceeding the retention period. Check the ELITEA Artifacts page fore more details about files and retention settings.
  2. Bucket Not Found or Access Issues:

    • Problem: Bucket is empty.
    • Troubleshooting Steps:
      • Verify Bucket Name: Double-check the bucket name configured in the Artifact Toolkit settings. Ensure it is spelled correctly and matches the intended bucket name.
      • Project Scope: Remember that buckets are project-specific. Ensure you are trying to access a bucket within the correct ELITEA project. Buckets from other projects are not directly accessible.
  3. Data Not Appending or Creating as Expected:

    • Problem: append_data or create_file tools do not seem to be creating or modifying files correctly. Data is missing, incomplete, or not being saved.
    • Troubleshooting Steps:
      • Check Tool Output/Errors: Carefully examine the agent's execution logs or chat output for any error messages or warnings related to the append_data or create_file tool calls. Errors can provide clues about why the operation failed.
      • File Type Limitations: Confirm that you are working with supported text file types. The Artifact Toolkit is designed for plain text files. Attempting to write binary data or complex formatted files might lead to unexpected results.
      • Instructions provided to LLM: Verify that the instructions given to the language model are clear and capable of effectively carrying out the intended operations. Ensure that commands are precise and aligned with tool capabilities.

FAQs

Q: Can I work with binary files e.g. excel or images in Artifacts?

A: No, the Artifact Toolkit is designed for plain text files only. It does not support binary files, images, or formatted document types like .docx or .pdf. You can store text-based data in formats like .txt, .csv, .json, .yaml, etc.

Q: What is the maximum file size for artifacts?

A: While there isn't a strict file size limit documented for individual artifacts, there is a project-wide storage limit of 9 GB for all artifacts within a project. It is best practice to keep individual artifact files reasonably sized for optimal performance. Extremely large files might impact agent performance and processing efficiency.

Q: How long are files stored in Artifacts?

A: By default, files stored in Artifact buckets have a retention period of 30 days. After 30 days, they are automatically deleted. You can potentially modify the retention period from the ELITEA Artifacts page.

Q: Can I recover deleted files from Artifacts?

A: No, files deleted from Artifact buckets (either manually or due to retention) are permanently deleted and cannot be recovered. It is important to download and back up any important data stored in artifacts if you need to retain it beyond the retention period. More information how to download artifacs can be found in ELITEA Artifacts page

Q: How do I access and download files stored in Artifacts?

A: You can access and manage artifact files through the ELITEA Artifacts page within the ELITEA application. Refer to the "Artifact Functionality Section" of the main ELITEA documentation for detailed instructions on browsing buckets, viewing file lists, downloading files, and managing artifact retention.

Support and Contact Information

If you encounter any persistent issues, have questions not covered in this guide, or require further assistance with the Artifact Toolkit or ELITEA Agents, please contact the ELITEA Support Team:

Please provide the following details in your support request to help us assist you efficiently:

Before Contacting Support:

We encourage you to first explore the resources available within this guide and the broader ELITEA documentation. You may find answers to common questions or solutions to known issues in the documentation.