Give AI agents short-lived access to the environment variables they need. Store env vars by project, run workers in CI, and reuse grant templates with Pro.

1 points•oreldm•1 day ago•1 comment•

1 comment

oreldm1 day ago
I built EnvsAI because my coding agents kept running with my whole .env. The idea is per-job access: an agent (or its orchestrator) asks for named keys like DATABASE_URL and REDIS_URL, you approve, and the command runs with only those values for N minutes, then the grant is revoked. Sensitive keys can require an authenticator code and are delivered once; a second read is denied and shows up in an activity feed.

Setup is a Node installer in the repo plus a local MCP server, so agents can check which keys exist without seeing values.

Next I'm working on connectors, so the agent gets a short-lived EnvsAI token and EnvsAI adds the real API key to outgoing requests, and the agent never holds the secret.

I'd really like feedback from people running several agents against shared staging environments: what would you need before trusting something like this?

Read the full thread on Hacker News →

Related stories