创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Terrarium 发布受限权限智能体虚拟机测试版

AI 总结

Terrarium 是一款测试版工具,可在本机的持久 Linux 虚拟机中运行 AI 智能体。用户通过 YAML 配方定义虚拟机可访问的主机文件夹和网络目标;据创建者称,智能体及其启动的所有进程均无法访问未获授权的资源。项目提供连接项目目录与本地 Ollama 服务的示例,并支持 Linux、macOS 和 Windows。

深度见解

Terrarium 为 AI 智能体提供了专注的本地执行环境,并通过明确的文件系统和网络权限限制其对宿主机的访问。

I wanted a secure way to run AI agents against my local models without giving them my whole machine. Something in the spirit of pi: simple, narrow and auditable, yet flexible. What I found tried to do too much, so I built Terrarium.

It runs agents in persistent Linux VMs ("boxes") on your machine. A YAML recipe says which host folders a box can read or change and which network destinations it can reach. Everything else is blocked, for every process in the VM: the agent, and any tool or script it launches.

Example: an agent with one project folder and your local Ollama

mounts: - host: . guest: /work network: allow: - dl-cdn.alpinelinux.org:443 # package installs in on_create - ollama.host:11434 hosts: - { name: ollama.host, addr: HOST_LOOPBACK } hooks: on_create: [apk add --no-cache git nodejs npm] workload: entrypoint: /bin/sh workdir: /work 

Inside the box, http://ollama.host:11434 reaches Ollama on your host (even if it only listens on 127.0.0.1). Other host ports are refused, and public names don't resolve unless you allow them. An empty recipe shares no folders and allows no network at all.

#Terrarium#Ollama#rust-vmm

原文约 3 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。