Code generation agent for SageCell?

26 views
Skip to first unread message

Ingo Dahn

unread,
Aug 23, 2025, 7:41:20 AMAug 23
to sage-cell
In a langgraph context I'd like to include a node/tool that produces on request Sage code that can run in a SageCell.
Is there such a tool somewhere or are their hints on how to build it (preferably with Python)?

Dima Pasechnik

unread,
Aug 23, 2025, 5:21:44 PMAug 23
to sage...@googlegroups.com
surely with an investment of a few millions, pure peanuts in the AI bubble, we can develop whatever agents are in demand in that echo chamber ;-)

Ingo Dahn

unread,
Aug 25, 2025, 3:05:59 AMAug 25
to sage-cell
Thank you, Dima, for your generous offer, but I don't need your millions ;-). 
I wrote a Sage code writing tool for my AI agent within half an hour, but it was outperformed on simple math tasks by the Python writing tool which I wrote in parallel. I am aware that CoCalc has an intelligent AI Sage code writer deeply integrated, so I was hoping to find someone to learn from for improving my own simple tool.

Dima Pasechnik

unread,
Aug 25, 2025, 10:54:28 AMAug 25
to Ingo Dahn, sage-cell
On Mon, Aug 25, 2025 at 2:06 AM Ingo Dahn <ingo...@gmail.com> wrote:
>
> Thank you, Dima, for your generous offer, but I don't need your millions ;-).
> I wrote a Sage code writing tool for my AI agent within half an hour, but it was outperformed on simple math tasks by the Python writing tool which I wrote in parallel. I am aware that CoCalc has an intelligent AI Sage code writer deeply integrated, so I was hoping to find someone to learn from for improving my own simple tool.

A considerable part (all?) of CoCalc code is open-source, in
https://github.com/sagemathinc

No idea whether the code you are interested in is there.


>
> dim...@gmail.com schrieb am Samstag, 23. August 2025 um 23:21:44 UTC+2:
>>
>> surely with an investment of a few millions, pure peanuts in the AI bubble, we can develop whatever agents are in demand in that echo chamber ;-)
>>
>>
>> On August 23, 2025 6:41:20 AM CDT, Ingo Dahn <ingo...@gmail.com> wrote:
>>>
>>> In a langgraph context I'd like to include a node/tool that produces on request Sage code that can run in a SageCell.
>>> Is there such a tool somewhere or are their hints on how to build it (preferably with Python)?
>>>
> --
> You received this message because you are subscribed to the Google Groups "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-cell/901f013e-b1c0-42d0-b19b-5caaca4b3495n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages