展示HN:具有完全互联网访问权限的开源AI代码解释器

1作者: v-yanakiev10 个月前原帖
Syntix.pro 是一个开源的 AI 代码解释器。它允许您向 AI 提问编程相关的问题,并以以下 8 种语言之一进行回答:JavaScript、TypeScript、Python、C#、Java、Go、Rust 和 pgSQL。 该 AI 会自动安装所需的依赖项,并在其自己的环境中执行生成的代码,且具有完全的互联网访问权限。 这使得 AI 能够即时反馈其代码,从而避免出现幻觉。 您还可以将文件和文件夹上传到执行环境中进行处理。当前的大小限制约为 7GB。 您还可以使用 Dockerfile 定义自己的执行环境。 我使用 fly.io 的 Fly Machines 作为执行环境以及应用程序的后端。 这是该服务的 Discord 服务器链接: [https://discord.gg/EsJPJdBaR3](https://discord.gg/EsJPJdBaR3) 以下是 Syntix AI 代理根据用户请求获取当天 Hacker News 顶部帖子的视频演示: [https://www.youtube.com/watch?v=_wcJ7mTNJ0A](https://www.youtube.com/watch?v=_wcJ7mTNJ0A) 以下是使用 Dockerfile 构建自定义环境的视频演示: [https://www.youtube.com/watch?v=JlY0KBnzCzA](https://www.youtube.com/watch?v=JlY0KBnzCzA) 以下是(仍在开发中)浏览器扩展的视频演示,允许您在任何地方执行代码块: [https://www.youtube.com/watch?v=WrYfF_y-wvk](https://www.youtube.com/watch?v=WrYfF_y-wvk)
查看原文
<a href="https:&#x2F;&#x2F;github.com&#x2F;v-yanakiev&#x2F;syntix">https:&#x2F;&#x2F;github.com&#x2F;v-yanakiev&#x2F;syntix</a><p>Syntix.pro is an open-source AI code interpreter. It allows you to ask an AI programming questions, and have it answer back in one of 8 languages: JavaScript, TypeScript, Python, C#, Java, Go, Rust, pgSQL.<p>The AI will automatically install any needed dependencies and execute the generated code in its own environment - with full internet access.<p>This gives the AI instant feedback on its code, circumventing hallucinations.<p>You can also upload files and folders to the execution environment for processing. The current size limit is about 7GB.<p>You can also define your own execution environment using a Dockerfile.<p>I use fly.io&#x27;s Fly Machines for the execution environments, as well as for the app&#x27;s back-end.<p>Here&#x27;s the Discord server for the service: <a href="https:&#x2F;&#x2F;discord.gg&#x2F;EsJPJdBaR3" rel="nofollow">https:&#x2F;&#x2F;discord.gg&#x2F;EsJPJdBaR3</a><p>Here&#x27;s a YouTube demonstration of the Syntix AI agent fetching the top Hacker News post of the day, based on a user request:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_wcJ7mTNJ0A" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_wcJ7mTNJ0A</a><p>Here&#x27;s a YouTube demonstration of building a custom environment using a Dockerfile:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=JlY0KBnzCzA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=JlY0KBnzCzA</a><p>Here&#x27;s a YouTube demonstration of the (still unfinished) browser extension, allowing you to execute code blocks everywhere:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=WrYfF_y-wvk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=WrYfF_y-wvk</a>