CEDAR: Context Engineering for Agentic Data Science
By: Rishiraj Saha Roy , Chris Hinze , Luzian Hahn and more
Potential Business Impact:
Automates data science tasks, making computers smarter.
We demonstrate CEDAR, an application for automating data science (DS) tasks with an agentic setup. Solving DS problems with LLMs is an underexplored area that has immense market value. The challenges are manifold: task complexities, data sizes, computational limitations, and context restrictions. We show that these can be alleviated via effective context engineering. We first impose structure into the initial prompt with DS-specific input fields, that serve as instructions for the agentic system. The solution is then materialized as an enumerated sequence of interleaved plan and code blocks generated by separate LLM agents, providing a readable structure to the context at any step of the workflow. Function calls for generating these intermediate texts, and for corresponding Python code, ensure that data stays local, and only aggregate statistics and associated instructions are injected into LLM prompts. Fault tolerance and context management are introduced via iterative code generation and smart history rendering. The viability of our agentic data scientist is demonstrated using canonical Kaggle challenges.
Similar Papers
CoDA: A Context-Decoupled Hierarchical Agent with Reinforcement Learning
Computation and Language
Helps computers remember more to solve harder problems.
Monadic Context Engineering
Artificial Intelligence
Builds smarter AI agents that don't break.
Monadic Context Engineering
Artificial Intelligence
Builds stronger AI agents that handle mistakes better.