Birds-of-a-Feather Session

Venue: 2027 CASS BoF Days

Series: CASS BoF Days

PETSc/TAO (the Portable, Extensible Toolkit for Scientific Computation / Toolkit for Advanced Optimization) is a software library for the numerical solution of partial differential equations (PDEs) and related problems. Developed over more than 30 years, PETSc/TAO is widely used in DOE labs, academia, and industry. However, developing the PETSc library and PETSc-based applications requires substantial effort and a solid understanding of PETSc APIs, which can present a steep learning curve for domain scientists and introduce unnecessary barriers to scientific software development.

Recent advances in artificial intelligence (AI) have opened new opportunities to make scientific software development more accessible and productive. To explore these opportunities, the PETSc team has begun integrating AI capabilities into its development workflow. These efforts include AI agents and skills for configuring, building, and generating code that follows PETSc conventions; AI-assisted code review in PETSc continuous integration (CI); and petscagent-bench, an agent-based evaluation framework for assessing PETSc code-generation agents using the Agent-to-Agent (A2A) and Model Context Protocol (MCP) standards. We have also developed pde-sim, a preliminary agentic AI system for generating PETSc-based code for PDE-driven simulation science. Meanwhile, PETSc developers and users are increasingly contributing AI-assisted merge requests, bringing new opportunities as well as questions about the role of AI in scientific software development.

This BoF session will bring together the PETSc community to discuss these emerging developments, share experiences and best practices, demonstrate new tools and workflows, and identify challenges and concerns. Topics may include AI-assisted PETSc development, agentic code generation for PDE-based simulations, code correctness and verification, and the integration of AI into existing development and review processes. Community contributions, questions, and open discussion are strongly encouraged. The feedback gathered will help guide the PETSc team’s future AI-related development and ensure that these efforts address the needs and priorities of the broader community.

Presenters

  • Barry Smith (Argonne National Laboratory)
  • Joseph Pusztay (University at Buffalo)

Moderator

  • Barry Smith (Argonne National Laboratory)

Organizer

  • Junchao Zhang (Argonne National Laboratory)