项目简介
在 Vercel 上构建和运行后台编码代理的参考应用。包含 Web UI、代理运行时、沙箱编排及 GitHub 集成,支持从提示到代码的完整工作流。
README 预览
# Open Agents\n\n[](https://vercel.com/new/clone?project-name=open-agents&repository-name=open-agents&repository-url=https%3A%2F%2Fgithub.com%2Fvercel-labs%2Fopen-agents&demo-title=Open+Agents&demo-description=Open-source+reference+app+for+building+and+running+background+coding+agents+on+Vercel.&demo-url=https%3A%2F%2Fopen-agents.dev%2F&env=POSTGRES_URL%2CBETTER_AUTH_SECRET%2CNEXT_PUBLIC_VERCEL_APP_CLIENT_ID%2CVERCEL_APP_CLIENT_SECRET%2CNEXT_PUBLIC_GITHUB_CLIENT_ID%2CGITHUB_CLIENT_SECRET%2CGITHUB_APP_ID%2CGITHUB_APP_PRIVATE_KEY%2CNEXT_PUBLIC_GITHUB_APP_SLUG%2CGITHUB_WEBHOOK_SECRET&envDescription=Neon+can+provide+POSTGRES_URL+automatically.+Generate+BETTER_AUTH_SECRET+yourself%2C+then+add+your+Vercel+OAuth+and+GitHub+App+credentials+for+a+full+deployment.&products=%255B%257B%2522type%2522%253A%2522integration%2522%252C%2522protocol%2522%253A%2522storage%2522%252C%2522productSlug%2522%253A%2522neon%2522%252C%2522integrationSlug%2522%253A%2522neon%2522%257D%252C%257B%2522type%2522%253A%2522integration%2522%252C%2522protocol%2522%253A%2522storage%2522%252C%2522productSlug%2522%253A%2522upstash-kv%2522%252C%2522integrationSlug%2522%253A%2522upstash%2522%257D%255D&skippable-integrations=1)\n\nOpen Agents is an open-source reference app for building and running background coding agents on Vercel. It includes the web UI, the agent runtime, sandbox orchestration, and the GitHub integration needed to go from prompt to code changes without keeping your laptop involved.\n\nThe repo is meant to be forked and adapted, not treated as a black box.\n\n## What it is\n\nOpen Agents is a three-layer system:\n\n```text\nWeb -> Agent workflow -> Sandbox VM\n```\n\n- The web app handles auth, sessions, chat, and streaming UI.\n- The agent runs as a durable workflow on Vercel.\n- The sandbox is the execution environment: filesystem, shell, git, dev servers, and preview ports.\n\n### The key architectural decision: the agent is not the sandbox\n\nThe agent does not run inside the VM. It run
常见问题 (2)
故障排除为什么我部署的Next.js应用在构建成功的情况下仍返回404错误?
故障排除
为什么我部署的Next.js应用在构建成功的情况下仍返回404错误?在你的部署设置中,从框架下拉菜单中选择'Next.js'。这将配置平台以处理Next.js路由并避免404错误。同时,确认根目录设置正确(例如,'apps/web')并且构建时的env vars存在。
故障排除在意外提交 .vercel/project.json 文件后,如何取消链接 Vercel 项目?
故障排除
在意外提交 .vercel/project.json 文件后,如何取消链接 Vercel 项目?在项目目录中运行 vercel unlink,然后使用 git rm .vercel/project.json 手动从 Git 仓库中删除 .vercel/project.json 文件,并提交更改。