RobotecAI / RobotecAI/rai

Artifact Database

Open
#164 1 comment 1 reaction 1 assignee View on GitHub

@maciejmajek is already working on this.

Since Apr 17, 2025.

enhancement good first issue
Dominant language
Python
Stars
589
Forks
76
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Feature
RAI uses an artifact database for saving artifacts such as images, audios, videos etc. returned by ToolCalls.

Current solution
Currently, a simple pickle file is used, which creates a bunch of problems due to tool calling concurrency (concurrent io ops).
https://github.com/RobotecAI/rai/blob/99ff0a9774ab4f4376a3d7a991fb51518851f001/src/rai/rai/agents/state_based.py#L84-L100
Better alternative
An alternative would be to use a database like redis with a fallback method if the server is not accessible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.