01 / THE SIGNAL

我们发现了什么

Show HN: Deploy AI agent in 5 lines of code. Title: Custodian Labs | Build and deploy AI agents in 5 lines of code URL Source: https://www.custodianlabs.io/ Published Time: Thu, 16 Jul 2026

  • 来源:Hacker News(发现于 2026-07-20)
  • 证据等级:D · 发现产品或需求信号,暂未获得可核验的商业证据。
  • 商业模式:待核验
  • 主题:AI Agent
  • 初筛评分:15/100 · 收录 1 次
#工作流自动化#待验证#产品发现
02 / SOURCE & EVIDENCE

证据,比故事更重要。

发现产品或需求信号,暂未获得可核验的商业证据。

规则清洗与初筛,未经人工商业核验。原文语境、实际客户和付费情况仍需自行验证。

引用与数字披露

来源类型(原作者自述/第三方测算/媒体转引)需采集端标注,本版尚未落字段。

短句引用
作者
未标注
抓取日期
来源类型
未标注
数字口径
币种
未标注
口径
未标注
披露主体
未标注
披露日期
未标注

中文辅助译文(全文)

用 5 行代码构建并部署 AI 代理。

Custodian Labs 助你从构想到部署生产级 AI 代理——在每一层都内置隐私保护。无需基础设施。零数据泄露。

在 GitHub 上查看

获取 API 密钥

agent.py

from custodian_labs import Custodian

model = Custodian( model="gpt-4o", system_prompt="You are a helpful assistant...", )

model.deploy()

为什么选择 Custodian

你需要的一切。仅此而已。

Guardian layer

专有的 Guardian Layer 是一道防护栏,可在个人信息(PII)抵达任何模型之前检测出它,并让你掌控其处理方式。

开箱即用的 RAG

让你的智能体获得长期记忆与文档检索能力,无需配置嵌入模型或向量数据库。一行代码添加知识库,即可直接生效。

模型无关

一行代码即可在 OpenAI、Anthropic、Mistral 或本地模型之间切换——无供应商锁定,无需重写。你的智能体逻辑保持原样不变;只是底层的模型发生了变化。

免费开始使用

零基础设施

无需配置数据库、无需连接向量存储、无需管理托管。Custodian 抽象掉智能体下方的所有层,让你专注于逻辑本身。

研究级基础

由 AUT Ventures 及新西兰政府资金支持实现商业化。以深度学术研究为依托的生产可靠性。

Custodian 的差异化

无需数据库。无需托管。仅需部署。

通常你需要配置向量数据库、搭建托管环境、接入模型提供商、编写重试逻辑、处理流式响应——这一切都发生在你写出第一行业务逻辑之前。Custodian 将整个技术栈压缩成一个函数调用。

未使用 Custodian

使用 Custodian

第 1 步:配置向量数据库 + 嵌入流水线

pinecone.init(apikey=...), index = pinecone.Index("my-index") embedder = SentenceTransformer("all-MiniLM-L6-v2") chunks = [text[i:i+512] for i in range(0, len(text), 448)] index.upsert([(f"doc{i}", embedder.encode(c)) for i, c in enumerate(chunks)])

第 2 步:手动 PII 清洗(脆弱的正则表达式,听天由命)

re.sub(r"\b[A-Z][a-z]+ [A-Z][a-z]+\b", "[REDACTED]", prompt)

第 3 步:工具调度 + 重试逻辑

def callwithretry(messages, maxretries=3): for attempt in range(maxretries): try: return client.chat.completions.create(...) except: time.sleep(2 ** attempt)

第 4 步:通过 Redis 实现会话记忆

redisclient.setex(f"ctx:{sessionid}", 3600, json.dumps(messages[-20:]))

第 5 步:Flask 服务器、鉴权、限流、CORS、日志……

第 6 步:编写 Dockerfile、k8s 配置、CI/CD 流水线……

第 7 步:终于——你的智能体跑起来了。也许吧。

from custodian_labs import Custodian

model = Custodian( model="gpt-4o", system_prompt="You are a helpful assistant...", )

model.deploy()

多智能体能力

组建你的团队。统一部署。

构建由专业智能体组成的团队,每个智能体负责各自的细分领域——然后将它们作为统一端点进行部署。Custodian 的路由器会自动将每个查询路由到合适的智能体。

为每个智能体配置独立的数据源、工具、系统提示词与话题范围。在不重写接口的前提下扩展团队规模。

the_engineer

技术与工程问题

the_strategist

情报与战略咨询

the_scientist

科学与研究话题

router

自动将每个查询路由到合适的智能体

allstars_team.py

from custodian_labs import Agent, AgentTeam

team = AgentTeam( agents=[ Agent( name="theengineer", model="gpt-4o", systemprompt="You are a senior engineer. Handle all tech and engineering questions.", topics=["technology", "engineering", "AI"], ), Agent( name="thestrategist", model="gpt-4o", systemprompt="You are a strategy lead. Handle intelligence and strategy questions.", topics=["intelligence", "strategy", "espionage", "tactics"], ), Agent( name="thescientist", model="gpt-4o", systemprompt="You are a research scientist. Handle science and research questions.", topics=["science", "research", "biology", "physics"], ), ], routing_mode="single", )

app = team.deploy()

专有技术

Introducing the Guardian Layer

大多数隐私解决方案仅仅是去除 PII——但去除上下文会破坏 AI 的准确性。Guardian Layer 能够智能地检测 PII,然后让你完全掌控后续的处理方式,同时原始 PII 始终不离开你的环境。

自定义 PII 实体

在默认实体之外定义你自己的实体类型——内部员工 ID、产品代码、专有术语。Guardian Layer 会学习你的数据模式。

Person

Email

Phone

Org

Currency

Employee_ID

Product_Code

  • 自定义

输入(原始)

与 James Harrington(james@acmecorp.com)安排一次关于 $240,000 合同续签的后续跟进。

Guardian Layer — Transform

发送给 AI 模型

与 Alex Morgan(alex@synthco.io)安排一次关于 $240,000 合同续签的后续跟进。

返回给你时 PII 已重新关联

已为 James Harrington 安排周四下午 2 点的后续跟进。日历邀请已发送至 james@acmecorp.com。

输入(原始)

与 James Harrington(james@acmecorp.com)安排一次关于 $240,000 合同续签的后续跟进。

Guardian Layer — Mask / redact

发送给 AI 模型

与 [PERSON]([EMAIL])安排一次关于 [CURRENCY] 合同续签的后续跟进。

返回给你时 PII 已重新关联

已为 [PERSON] 安排周四下午 2 点的后续跟进。日历邀请已发送至 [EMAIL]。

输入(原始)

与 James Harrington(james@acmecorp.com)安排一次关于 $240,000 合同续签的后续跟进。

Guardian Layer — Detect only

发送给 AI 模型

与 James Harrington PERSON(james@acmecorp.com EMAIL)安排一次关于 $240,000 CURRENCY 合同续签的后续跟进。

检测报告

Person

James Harrington

99%

Email

james@acmecorp.com

100%

Currency

$240,000

97%

Org

acmecorp

88%

Transform

将个人身份信息(PII)替换为保留语义的合成等价物

Mask / redact

将个人身份信息(PII)替换为类型化标签——速度最快、最保守的转换方式

Detect only

仅展示存在哪些个人身份信息(PII),不对任何文本进行修改

Transform

将个人身份信息(PII)替换为保留语义的合成等价物

输入(原始)

与 James Harrington(james@acmecorp.com)安排一次关于 $240,000 合同续签的后续跟进。

Guardian Layer — Transform

发送给 AI 模型

与 Alex Morgan(alex@synthco.io)安排一次关于 $240,000 合同续签的后续跟进。

返回给你时 PII 已重新关联

已为 James Harrington 安排周四下午 2 点的后续跟进。日历邀请已发送至 james@acmecorp.com。

Mask / redact

将个人身份信息(PII)替换为类型化标签——速度最快、最保守的转换方式

输入(原始)

与 James Harrington(james@acmecorp.com)安排一次关于 $240,000 合同续签的后续跟进。

Guardian Layer — Mask / redact

发送给 AI 模型

与 [PERSON]([EMAIL])安排一次关于 [CURRENCY] 合同续签的后续跟进。

返回给你时 PII 已重新关联

已为 [PERSON] 安排周四下午 2 点的后续跟进。日历邀请已发送至 [EMAIL]。

Detect only

仅展示存在哪些个人身份信息(PII),不对任何文本进行修改

输入(原始)

与 James Harrington(james@acmecorp.com)安排一次关于 $240,000 合同续签的后续跟进。

Guardian Layer — Detect only

发送给 AI 模型

与 James Harrington PERSON(james@acmecorp.com EMAIL)安排一次关于 $240,000 CURRENCY 合同续签的后续跟进。

检测报告

Person

James Harrington

99%

Email

james@acmecorp.com

100%

Currency

$240,000

97%

Org

acmecorp

88%

定价

简单、透明的定价

今天免费开始。准备好后再扩展。

Basic

免费

沙箱环境,免费试用

免费开始使用

100k tokens

1k requests

GPT-4o

电子邮件与社区支持

Starter

$19

/ 月

面向需要更高额度、优先访问权限与 VIP 支持的用户

获取 API 密钥

推荐

1m tokens

10k requests

全部模型 + 最新模型优先

7×24 优先支持

产品路线图直接反馈

每月 1 对 1 产品沟通会

免费合规评估

Custom

联系我们

全面针对你的技术栈与合规需求量身定制

联系我们

自定义 token 上限

自定义请求上限

本地部署或私有云

离线部署

定制化合规与数据合约

专属支持与 SLA

开始使用

从构想到部署。 不到 10 分钟。

获取 API 密钥、安装 SDK,让一个隐私安全的 AI 智能体在生产环境中运行——无需任何基础设施。

获取你的免费 API 密钥

阅读文档

© 2026 Custodian Labs Limited

Legal

隐私政策 Terms & conditions Cookie preferences

Contact

发送邮件 Instagram LinkedIn X / Twitter

Links

Documentation GitHub Pricing

译文由上游机器翻译生成,可能有误;判断请以英文原文为准。

英文原文(来源本站未改写)

Build and deploy AI agents in 5 lines of code.

Custodian Labs takes you from idea to deployed, production-grade AI agent — with privacy built in at every layer. No infrastructure. No data leakage.

View on GitHub

Get API Key

agent.py

from custodian_labs import Custodian

model = Custodian( model="gpt-4o", system_prompt="You are a helpful assistant...", )

model.deploy()

Why Custodian

Everything you need. Nothing you don't.

Guardian layer

The proprietary Guardian Layer is the guardrail that detects PII and puts you in control of how it's handled before it reaches any model.

RAG out of the box

Give your agent long-term memory and document retrieval without configuring embeddings or vector DBs. Add a knowledge base in one line and it just works.

Model-agnostic

Switch between OpenAI, Anthropic, Mistral, or local models with one line — no vendor lock-in, no rewrite required. Your agent logic stays exactly as it is; only the model underneath changes.

Get started for free

Zero infrastructure

No database to provision, no vector store to connect, no hosting to manage. Custodian abstracts every layer beneath your agent so you focus entirely on logic.

Research-grade foundations

Commercialised with AUT Ventures and New Zealand Government funding. Production reliability grounded in deep academic research.

The Custodian Difference

No databse. No hosting. Just deploy.

Normally you'd provision a vector DB, set up a hosting environment, wire up your model provider, write retry logic, handle streaming — all before writing a single line of agent logic. Custodian collapses that entire stack to a function call.

Without Custodian

With Custodian

Step 1: Provision a vector DB + embedding pipeline

pinecone.init(apikey=...), index = pinecone.Index("my-index") embedder = SentenceTransformer("all-MiniLM-L6-v2") chunks = [text[i:i+512] for i in range(0, len(text), 448)] index.upsert([(f"doc{i}", embedder.encode(c)) for i, c in enumerate(chunks)])

Step 2: Manual PII scrubbing (fragile regex, hope for the best)

re.sub(r"[A-Z][a-z]+ [A-Z][a-z]+", "[REDACTED]", prompt)

Step 3: Tool dispatch + retry logic

def callwithretry(messages, maxretries=3): for attempt in range(maxretries): try: return client.chat.completions.create(...) except: time.sleep(2 ** attempt)

Step 4: Session memory via Redis

redisclient.setex(f"ctx:{sessionid}", 3600, json.dumps(messages[-20:]))

Step 5: Flask server, auth, rate limiting, CORS, logging...

Step 6: Write your Dockerfile, k8s config, CI/CD pipeline...

Step 7: Finally — your agent runs. Maybe.

from custodian_labs import Custodian

model = Custodian( model="gpt-4o", system_prompt="You are a helpful assistant...", )

model.deploy()

Multi-agent capabilities

Assemble your team. Deploy as one.

Build teams of specialised agents that each handle their own domain — then deploy them as a single unified endpoint. Custodian's router automatically directs each query to the right agent.

Give each agent its own data sources, tools, system prompt, and topic scope. Scale the team without rewriting the interface.

the_engineer

Technology & engineering questions

the_strategist

Intelligence & strategy queries

the_scientist

Science & research topics

router

Automatically routes every query to the right agent

allstars_team.py

from custodian_labs import Agent, AgentTeam

team = AgentTeam( agents=[ Agent( name="theengineer", model="gpt-4o", systemprompt="You are a senior engineer. Handle all tech and engineering questions.", topics=["technology", "engineering", "AI"], ), Agent( name="thestrategist", model="gpt-4o", systemprompt="You are a strategy lead. Handle intelligence and strategy questions.", topics=["intelligence", "strategy", "espionage", "tactics"], ), Agent( name="thescientist", model="gpt-4o", systemprompt="You are a research scientist. Handle science and research questions.", topics=["science", "research", "biology", "physics"], ), ], routing_mode="single", )

app = team.deploy()

Proprietary technology

Introducing the Guardian Layer

Most privacy solutions simply strip PII — but stripping context destroys AI accuracy. The Guardian Layer detects PII intelligently, then gives you full control over what happens next, without the original PII ever leaving your envionrment.

Custom PII entities

Define your own entity types beyond the defaults — internal employee IDs, product codes, proprietary terms. Guardian Layer learns your schema.

Person

Email

Phone

Org

Currency

Employee_ID

Product_Code

  • Custom

Input (raw)

Schedule a follow-up with James Harrington at james@acmecorp.com about the contract renewal for $240,000 .

Guardian Layer — Transform

Sent to AI model

Schedule a follow-up with Alex Morgan at alex@synthco.io about the contract renewal for $240,000 .

Returned to you with PII relinked

Follow-up scheduled with James Harrington for Thursday at 2pm. Calendar invite sent to james@acmecorp.com .

Input (raw)

Schedule a follow-up with James Harrington at james@acmecorp.com about the contract renewal for $240,000 .

Guardian Layer — Mask / redact

Sent to AI model

Schedule a follow-up with [PERSON] at [EMAIL] about the contract renewal for [CURRENCY] .

Returned to you with PII relinked

Follow-up scheduled with [PERSON] for Thursday at 2pm. Calendar invite sent to [EMAIL] .

Input (raw)

Schedule a follow-up with James Harrington at james@acmecorp.com about the contract renewal for $240,000 .

Guardian Layer — Detect only

Sent to AI model

Schedule a follow-up with James Harrington PERSON at james@acmecorp.com EMAIL about the contract renewal for $240,000 CURRENCY .

Detection report

Person

James Harrington

99%

Email

james@acmecorp.com

100%

Currency

$240,000

97%

Org

acmecorp

88%

Transform

Replaces personally identifiable information (PII) with synthetic equivalents that preserve meaning

Mask / redact

Replaces personally identifiable information (PII) with a typed label — the fastest and most conservative transform

Detect only

Only surface what Replaces personally identifiable information (PII) exists, without modifying any text

Transform

Replaces personally identifiable information (PII) with synthetic equivalents that preserve meaning

Input (raw)

Schedule a follow-up with James Harrington at james@acmecorp.com about the contract renewal for $240,000 .

Guardian Layer — Transform

Sent to AI model

Schedule a follow-up with Alex Morgan at alex@synthco.io about the contract renewal for $240,000 .

Returned to you with PII relinked

Follow-up scheduled with James Harrington for Thursday at 2pm. Calendar invite sent to james@acmecorp.com .

Mask / redact

Replaces personally identifiable information (PII) with a typed label — the fastest and most conservative transform

Input (raw)

Schedule a follow-up with James Harrington at james@acmecorp.com about the contract renewal for $240,000 .

Guardian Layer — Mask / redact

Sent to AI model

Schedule a follow-up with [PERSON] at [EMAIL] about the contract renewal for [CURRENCY] .

Returned to you with PII relinked

Follow-up scheduled with [PERSON] for Thursday at 2pm. Calendar invite sent to [EMAIL] .

Detect only

Only surface what Replaces personally identifiable information (PII) exists, without modifying any text

Input (raw)

Schedule a follow-up with James Harrington at james@acmecorp.com about the contract renewal for $240,000 .

Guardian Layer — Detect only

Sent to AI model

Schedule a follow-up with James Harrington PERSON at james@acmecorp.com EMAIL about the contract renewal for $240,000 CURRENCY .

Detection report

Person

James Harrington

99%

Email

james@acmecorp.com

100%

Currency

$240,000

97%

Org

acmecorp

88%

Pricing

Simple, transparent pricing

Start today for free. Scale when you're ready.

Basic

Free

Sandbox, try it out free

Get started for free

100k tokens

1k requests

GPT-4o

Email and community support

Starter

$19

/ month

For users who want more limits, priority access, and VIP support

Get API Key

Recommended

1m tokens

10k requests

All models + newest first

Priority 24/7 support

Direct roadmap input

Monthly 1:1 product call

Free compliance assessment

Custom

Let's talk

Everything tailored to your stack and compliance needs

Contact us

Custom token limit

Custom request limit

On-premise or private cloud

Offline deployments

Custom compliance & data contracts

Dedicated support & SLA

Get started

From idea to deployed. In under 10 minutes.

Get an API key, install the SDK, and have a privacy-safe AI agent running in production — no infrastructure required.

Get your free API key

Read the docs

© 2026 Custodian Labs Limited

Legal

Privacy policy Terms & conditions Cookie preferences

Contact

Email us Instagram LinkedIn X / Twitter

Links

Documentation GitHub Pricing

出处https://custodianlabs.io抓取日期 · 采集源 Hacker News

03 / EVIDENCE GAPS

这条还缺什么证据?

下面每条都由本条已有字段推出(等级、理由、商业模式、来源次数、是否演示), 本站不生成推测性结论;通用验证方法放在方法论页。

  • 可核验的收入或付费证据查官网定价页与付费口径;第三方数据源(如 GetLatka)只作旁证,需标注来源与时点。
  • 商业模式未定确认按席位/按用量/授权还是开源托管版收费;开源项目另查 LICENSE 与是否存在付费版。
  • 只有单一来源找一手站点或其他渠道是否重复出现同一产品;社区热帖数量不等于商业进展。

通用验证清单(谁有这个问题/谁愿意付费/一个人能交付哪一小步)见我们的筛选方法。

04 / SIGNAL HISTORY

发现时间线