<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>我的博客</title>
		<link>https://blog.lsl.life/</link>
		<description>Recent content on 我的博客</description>
		<generator>Hugo</generator>
		<language>zh-cn</language>
		
		
		
		
			<lastBuildDate>Wed, 14 Oct 2026 23:39:00 +0800</lastBuildDate>
		
			<atom:link href="https://blog.lsl.life/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Agent-一个门面收敛多家 LLM：PI Agent AI 模块解析</title>
				<link>https://blog.lsl.life/posts/agent-%E4%B8%80%E4%B8%AA%E9%97%A8%E9%9D%A2%E6%94%B6%E6%95%9B%E5%A4%9A%E5%AE%B6-llmpi-agent-ai-%E6%A8%A1%E5%9D%97%E8%A7%A3%E6%9E%90/</link>
				<pubDate>Sun, 30 Aug 2026 23:35:20 +0800</pubDate>
				<guid>https://blog.lsl.life/posts/agent-%E4%B8%80%E4%B8%AA%E9%97%A8%E9%9D%A2%E6%94%B6%E6%95%9B%E5%A4%9A%E5%AE%B6-llmpi-agent-ai-%E6%A8%A1%E5%9D%97%E8%A7%A3%E6%9E%90/</guid>
				<description>&lt;p&gt;当OpenClaw 火了之后，PI Agent作为其底层的Agent模块，因其简洁性也受到了社区中大量人员的喜爱，创始人对该项目也做了优化并依次出现了pi-ai,pi-agent,code-agent等项目。其中pi-ai是处于最底层用于封装各大llm厂商的交互逻辑并对外提供统一的调用接口，pi-agent是基于pi-ai之上的一个agent实现，而code-agent则是agent在代码编写场景的真实应用。现在我们就来学习一下pi-ai模块。&#xA;OpenClaw 走红后，作为其底层 Agent 模块的 PI Agent 也因为简洁性受到了社区大量关注。在持续优化中，PI Agent 内部逐渐形成了三个子项目：最底层的 &lt;code&gt;pi-ai&lt;/code&gt;（封装 LLM 交互）、中间的 &lt;code&gt;pi-agent&lt;/code&gt;（通用 Agent 实现），以及最上层的 &lt;code&gt;code-agent&lt;/code&gt;（代码场景应用）。接下来我们就从最底层的 &lt;code&gt;pi-ai&lt;/code&gt; 开始学习。&lt;/p&gt;</description>
			</item>
			<item>
				<title>kindle-kindle折腾笔记</title>
				<link>https://blog.lsl.life/posts/kindle-kindle%E6%8A%98%E8%85%BE%E7%AC%94%E8%AE%B0/</link>
				<pubDate>Thu, 20 Aug 2026 22:56:31 +0800</pubDate>
				<guid>https://blog.lsl.life/posts/kindle-kindle%E6%8A%98%E8%85%BE%E7%AC%94%E8%AE%B0/</guid>
				<description>&lt;h2 id=&#34;越狱&#34;&gt;越狱&lt;/h2&gt;&#xA;&lt;h3 id=&#34;设备信息&#34;&gt;设备信息&lt;/h3&gt;&#xA;&lt;p&gt;设备: Kindle Oasis(第九代)&#xA;固件版本: Kindle 5.16.2.1.1&lt;/p&gt;&#xA;&lt;p&gt;点击【设置】-【设备选项】-【设备信息】中找到设备的序列号和固件版本，先填入固件号，然后填入版本号，最后还有两个问题，分别是设备是否仍然可以注册至亚马逊，设备的屏蔽是图片还是广告。之后就可以推荐的越狱方式了。&#xA;&lt;img src=&#34;https://blog.lsl.life/posts/kindle-kindle%E6%8A%98%E8%85%BE%E7%AC%94%E8%AE%B0/20812b31_hu_c6fec1a61845de7a.webp&#34; width=&#34;1400&#34; height=&#34;849&#34; alt=&#34;&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&#xA;直接进入对应的越狱页面按照文档进行操作即可。&lt;/p&gt;</description>
			</item>
			<item>
				<title>AI-学Agent到底要学什么</title>
				<link>https://blog.lsl.life/posts/ai-%E5%AD%A6agent%E5%88%B0%E5%BA%95%E8%A6%81%E5%AD%A6%E4%BB%80%E4%B9%88/</link>
				<pubDate>Wed, 19 Aug 2026 08:11:44 +0800</pubDate>
				<guid>https://blog.lsl.life/posts/ai-%E5%AD%A6agent%E5%88%B0%E5%BA%95%E8%A6%81%E5%AD%A6%E4%BB%80%E4%B9%88/</guid>
				<description>&lt;p&gt;面对层出不穷的 Agent 框架，很多人不知从何下手，也不知道该学什么。直到读了&lt;a href=&#34;https://mp.weixin.qq.com/s/It5xtZ-VDNdiTREeYHrMMA&#34;&gt;相比层出不穷的 Agent 框架，不变的 Agent Protocol 是什么&lt;/a&gt; 一文，作者高屋建瓴地提出 &lt;strong&gt;Agent Runtime Protocol&lt;/strong&gt; 这一概念，才真正理解了 Agent 运行时所必需的底层能力。&#xA;本文是该文的读书笔记，也是一份系统学习 Agent 的路径指南。我们先从“Agent 到底在做什么”出发，逐步拆解出核心对象、生命周期操作和八大能力维度，最后给出分阶段的学习建议。&lt;/p&gt;</description>
			</item>
			<item>
				<title>关于我</title>
				<link>https://blog.lsl.life/about/</link>
				<pubDate>Tue, 18 Aug 2026 08:07:14 +0800</pubDate>
				<guid>https://blog.lsl.life/about/</guid>
				<description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;名称&lt;/strong&gt;：lsl&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;简介&lt;/strong&gt;：AI 小子，在AI道路上的持续学习者&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;邮箱&lt;/strong&gt;：&lt;a href=&#34;mailto:lsl@lsl.life&#34;&gt;lsl@lsl.life&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>归档</title>
				<link>https://blog.lsl.life/archives/</link>
				<pubDate>Tue, 18 Aug 2026 07:40:29 +0800</pubDate>
				<guid>https://blog.lsl.life/archives/</guid>
				<description></description>
			</item>
			<item>
				<title>clickhouse-clickhouse将冷数据存储至OSS</title>
				<link>https://blog.lsl.life/posts/clickhouse-clickhouse%E5%B0%86%E5%86%B7%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E8%87%B3oss/</link>
				<pubDate>Fri, 07 Aug 2026 23:35:20 +0800</pubDate>
				<guid>https://blog.lsl.life/posts/clickhouse-clickhouse%E5%B0%86%E5%86%B7%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E8%87%B3oss/</guid>
				<description>&lt;p&gt;Clickhouse可以设置每个表的存储策略&lt;code&gt;polices&lt;/code&gt;，存储策略中定义了卷&lt;code&gt;volumes&lt;/code&gt;,每个卷&lt;code&gt;volumes&lt;/code&gt;又可以使用定义好的磁盘&lt;code&gt;disk&lt;/code&gt;。然后利用表数据的TTL设置功能，将达到TTL条件的数据存储迁移至存储策略下的某个卷中。&lt;/p&gt;&#xA;&lt;h2 id=&#34;配置冷数据写入oss&#34;&gt;配置冷数据写入OSS&lt;/h2&gt;&#xA;&lt;h3 id=&#34;修改配置文件定义存储策略卷和磁盘&#34;&gt;修改配置文件，定义存储策略，卷和磁盘&lt;/h3&gt;&#xA;&lt;p&gt;编辑 &lt;code&gt;/etc/clickhouse-server/config.xml&lt;/code&gt; 或 &lt;code&gt;/etc/clickhouse-server/config.d/oss_storage.xml&lt;/code&gt;，在 &lt;code&gt;&amp;lt;clickhouse&amp;gt;&lt;/code&gt; 标签内添加 &lt;code&gt;&amp;lt;storage_configuration&amp;gt;&lt;/code&gt;标签。&#xA;OSS 使用 S3 兼容接口，ClickHouse 从 21.8 版本开始对 &lt;code&gt;s3&lt;/code&gt; 磁盘支持就比较稳定了，建议使用 22.x 及以上版本。&#xA;CLickhouse中存储有Volume和Disk的概念。Volume关联实际的Disk，然后配置表格将数据写到Volume中。&lt;/p&gt;</description>
			</item>
			<item>
				<title>postgresql-postgresql中检查慢查询的原因</title>
				<link>https://blog.lsl.life/posts/postgresql-postgresql%E4%B8%AD%E6%A3%80%E6%9F%A5%E6%85%A2%E6%9F%A5%E8%AF%A2%E7%9A%84%E5%8E%9F%E5%9B%A0/</link>
				<pubDate>Wed, 08 Jul 2026 07:59:57 +0800</pubDate>
				<guid>https://blog.lsl.life/posts/postgresql-postgresql%E4%B8%AD%E6%A3%80%E6%9F%A5%E6%85%A2%E6%9F%A5%E8%AF%A2%E7%9A%84%E5%8E%9F%E5%9B%A0/</guid>
				<description>&lt;p&gt;在 PostgreSQL 数据库中，查询变慢的原因多种多样，其中锁等待和长时间未提交的事务是两种常见但容易被忽视的因素。本文将介绍如何利用 &lt;code&gt;pg_stat_activity&lt;/code&gt;(SQL语句执行视图) 和 &lt;code&gt;pg_locks&lt;/code&gt;(PG锁视图) 这两个系统视图，系统地排查锁与事务引起的问题。&lt;/p&gt;</description>
			</item>
			<item>
				<title>postgresql-记一次因数据库锁导致的接口超时问题排查</title>
				<link>https://blog.lsl.life/posts/postgresql-%E8%AE%B0%E4%B8%80%E6%AC%A1%E5%9B%A0%E6%95%B0%E6%8D%AE%E5%BA%93%E9%94%81%E5%AF%BC%E8%87%B4%E7%9A%84%E6%8E%A5%E5%8F%A3%E8%B6%85%E6%97%B6%E9%97%AE%E9%A2%98%E6%8E%92%E6%9F%A5/</link>
				<pubDate>Fri, 26 Jun 2026 07:59:57 +0800</pubDate>
				<guid>https://blog.lsl.life/posts/postgresql-%E8%AE%B0%E4%B8%80%E6%AC%A1%E5%9B%A0%E6%95%B0%E6%8D%AE%E5%BA%93%E9%94%81%E5%AF%BC%E8%87%B4%E7%9A%84%E6%8E%A5%E5%8F%A3%E8%B6%85%E6%97%B6%E9%97%AE%E9%A2%98%E6%8E%92%E6%9F%A5/</guid>
				<description>&lt;h2 id=&#34;背景与现象&#34;&gt;背景与现象&lt;/h2&gt;&#xA;&lt;p&gt;线上系统采用腾讯云云原生结构,请求的链路如下：&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;client -&amp;gt; TencentCLB -&amp;gt; TencentIngress -&amp;gt; TencentPod(APP,python unicorn)&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;一次升级后，发现系统中某个接口请求后会被hang主，但其它接口正常。使用&lt;code&gt;kubectl log&lt;/code&gt;查看对应&lt;code&gt;Pod&lt;/code&gt;的日志，看不到任何关于该接口的请求记录。&lt;/p&gt;&#xA;&lt;h2 id=&#34;初步定位接口无响应日志缺失&#34;&gt;初步定位：接口无响应、日志缺失&lt;/h2&gt;&#xA;&lt;p&gt;通过浏览器开发者工具排查，确认是&lt;code&gt;/api/workspaces&lt;/code&gt;接口被挂住了，无任何响应。&#xA;使用 &lt;code&gt;kubectl port-forward&lt;/code&gt;直连API Pod。以绕开本地代理、公网边缘节点和内网 CLB，对同一个 Pod 发送两次请求：&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
