sdk-py

作者 KeyID-AI已验证

Free email for AI agents. No signup, no human needed. Install → provision → send and receive. Ed25519 keypair auth.

304
Stars
0
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/KeyID-AI/sdk-py

快速入门

使用 sdk-py 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

keyid

Free email addresses for AI agents. No signup. No human needed.

Your agent gets a real email address in 3 lines of code. Send, receive, reply, search — full email capabilities with zero registration, zero cost, zero human involvement.

KeyID.ai handles everything: domain management, rotation, reputation monitoring, deliverability. Your agent just generates a keypair and calls provision().

Install

pip install keyid

Quick Start

from keyid import KeyID

agent = KeyID()

# Register — get an email address instantly
result = agent.provision()
print(f"Agent email: {result['email']}")

# Read inbox
inbox = agent.get_inbox()
for msg in inbox["messages"]:
    print(f"{msg['from']}: {msg['subject']}")

# Send email
agent.send("user@example.com", "Hello", "Message body")

# Reply to a message
agent.reply(inbox["messages"][0]["id"], "Thanks!")

Authentication

KeyID uses Ed25519 challenge-response authentication. The SDK handles this automatically:

  1. On first use, a keypair is generated (or loaded from env/options)
  2. provision() registers the public key and returns an email address
  3. All subsequent calls auto-authenticate via signed nonce exchange
# Option 1: Auto-generate keypair (default)
agent = KeyID()

# Option 2: Provide existing keypair
agent = KeyID(public_key="...hex...", private_key="...hex...")

# Option 3: Custom base URL
agent = KeyID(base_url="https://your-instance.com")

API Reference

Identity

MethodDescription
provision()Register agent, get email address
get_identity()Get agent identity info
get_addresses()List all addresses (current + historical)
get_recovery_token()Get recovery token for key rotation

Messages

MethodDescription
get_inbox(**kwargs)Fetch inbox with pagination, filtering, search
get_message(id)Get single message detail
update_message(id, **kwargs)Update labels, read/starred status
get_unread_count()Count unread inbound messages
send(to, subject, body, **kwargs)Send email (HTML, CC/BCC, scheduled)
reply(message_id, body, **kwargs)Reply to a message
reply_all(message_id, body, **kwargs)Reply-all
forward(message_id, to, body=None)Forward a message

Threads

MethodDescription
list_threads(**kwargs)List conversation threads
get_thread(thread_id)Get thread with all messages
delete_thread(thread_id, permanent=False)Delete thread

Drafts

MethodDescription
create_draft(**kwargs)Create a draft
get_draft(draft_id)Get draft detail
update_draft(draft_id, **kwargs)Update draft
delete_draft(draft_id)Delete draft
send_draft(draft_id)Send a draft

Settings

MethodDescription
get_signature()Get email signature
set_signature(text, html=None)Set email signature
get_forwarding()Get forwarding settings
set_forwarding(**kwargs)Configure email forwarding
get_auto_reply()Get auto-reply/vacation settings
set_auto_reply(**kwargs)Configure auto-reply

Contacts

MethodDescription
list_contacts(**kwargs)List saved contacts
create_contact(**kwargs)Create a contact
get_contact(contact_id)Get contact detail
update_contact(contact_id, **kwargs)Update contact
delete_contact(contact_id)Delete contact

Webhooks

MethodDescription
list_webhooks()List webhooks
create_webhook(url, events=None)Create webhook
get_webhook(webhook_id)Get webhook detail
update_webhook(webhook_id, **kwargs)Update webhook
delete_webhook(webhook_id)Delete webhook
get_webhook_deliveries(**kwargs)Delivery history

Lists & Metrics

MethodDescription
add_to_list(direction, type, entry)Add to allow/blocklist
remove_from_list(direction, type, entry)Remove from list
get_list(direction, type)Get list entries
get_metrics(**kwargs)Query usage metrics

Features

  • Scheduled Sendagent.send("to@x.com", "Sub", "Body", scheduled_at="2025-01-01T10:00:00Z")
  • Full-Text Searchagent.get_inbox(search="invoice")
  • Starred Messagesagent.update_message(id, is_starred=True)
  • Auto-Replyagent.set_auto_reply(enabled=True, body="Out of office")
  • HTML Emailagent.send("to@x.com", "Sub", "text", html="<h1>Hello</h1>")

Requirements

  • Python 3.9+
  • httpx (installed automatically)

License

MIT

常见问题

What is sdk-py?

sdk-py is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by KeyID-AI. Free email for AI agents. No signup, no human needed. Install → provision → send and receive. Ed25519 keypair auth. It has 304 GitHub stars.

Is sdk-py safe to use?

Yes. sdk-py passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install sdk-py?

Clone the repository with "git clone https://github.com/KeyID-AI/sdk-py" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is sdk-py written in?

sdk-py is primarily written in Python. It is open-source under KeyID-AI on GitHub, so you can review or fork the full source.

Are there alternatives to sdk-py?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh sdk-py against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情