Better HN
topnewbestaskshowjobs
Log inSign up

eugenekaliisa

3 karma · joined Jun 7, 2023 (3y ago) · 8 submissions

Submissions

1.

Pyper SDK – Python SDK for AI agents that guides users to fix missing API keys

1 points · by eugenekaliisa · 1y ago · discuss

comment 1y ago · link · parent

I'm working on a project called Piper to tackle the challenge of securely providing API keys to agents, scripts, and MCPs. Think of it like a password manager, but for your API keys.

Instead of embedding raw keys or asking users to paste them everywhere, Piper uses a centralized model.

You add your keys to Piper once.

When an app (that supports Piper) needs a key, Piper asks you for permission.

It then gives the app an sts token, not your actual key.

You can see all permissions on a dashboard and turn them off with a click.

The idea is to give users back control without crippling their AI tools.

I'm also building out a Python SDK (pyper-sdk) "https://github.com/greylab0/piper-python-sdk" to make this easy for devs.

Developers register their agents and define "variable names" (e.g., open_api_key)

The agent uses the SDK which vends a short-lived token that the agent can use to access the specific user secret.

Also incliudes environment variable fallback in case the agent's user prefers not to use Piper.

This gives agents temporary, scoped access without them ever handling the user's raw long-lived secrets.

3.

MCP/ Agent user API key management(agentpiper.com ↗)

2 points · by eugenekaliisa · 1y ago · 1 comment

comment 1y ago · link · parent

Hey HN, We're launching the beta for Piper, a dashboard for managing credentials (API keys, tokens) for AI agents, LLM tools, and MCPs.

The problem: API keys end up scattered, hardcoded, or manually managed, which is insecure and doesn't scale, especially when users need to grant access to third-parties.

We provide a centralized vault where users store their credentials and a OAuth 2.0 based authorization layer: Store - User stores their API key/token with us. Authenticate - The agent authenticates using standard OAuth flows to request access to a specific user credential it needs for a task. Grant - The user is prompted to explicitly grant or deny this specific agent access to that specific credential (optionally for a limited time). Temporary credentials - If approved, Piper uses Google Cloud's STS to generate short-lived, temporary credentials. The agent uses this temporary credential to access only the specifically approved secret/token for the duration of the credential's validity.

This flow keeps the agent from ever seeing the user's long-lived keys and enforces user consent + least privilege via STS. You can use the same key for multiple agents without ever sharing it and you can easily revoke an agent’s access to the key because you just have to stop issuing short-lived credentials to it.

We think this pattern offers significant security benefits, but we're keen on your feedback

Any better ways to handle the user consent step, especially integrating with LLM interactions or protocols like MCP?

5.

Piper – Securely connect AI tools to user secrets with OAuth and STS(agentpiper.com ↗)

2 points · by eugenekaliisa · 1y ago · 1 comment

6.

i can't be the only one that thinks ChatGPT naming is intentional

3 points · by eugenekaliisa · 1y ago · 1 comment