Artifact Database
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.