<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AI Engineering on XWOS</title>
    <link>/en/Docs/Note/AI/</link>
    <description>Recent content in AI Engineering on XWOS</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/en/Docs/Note/AI/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>opencode</title>
      <link>/en/Docs/Note/AI/opencode/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/en/Docs/Note/AI/opencode/</guid>
      <description>&lt;h2 id=&#34;opencode&#34;&gt;opencode&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm i -g opencode-ai&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;installation--configuration&#34;&gt;Installation &amp;amp; Configuration&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Linux&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git clone https://gitee.com/xwos/opencode ~/.config/opencode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a2f&#34;&gt;cd&lt;/span&gt; ~/.config/opencode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm i&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;opencode documentation: &lt;a href=&#34;https://opencode.ai/docs/zh-cn&#34;&gt;https://opencode.ai/docs/zh-cn&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;codegraph&#34;&gt;codegraph&lt;/h3&gt;&#xA;&lt;h4 id=&#34;global-installation&#34;&gt;Global Installation&lt;/h4&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm i -g codegraph&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;codegraph install&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;Installation Options&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;opencode&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Installed codegraph CLI on PATH&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Apply agent configs to all your projects, or just this one?&lt;/code&gt; &amp;ndash; &lt;code&gt;All projects&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;After installation, &lt;code&gt;codegraph&lt;/code&gt; automatically writes to &lt;code&gt;~/.config/opencode/AGENTS.md&lt;/code&gt; and &lt;code&gt;~/.config/opencode/opencode.jsonc&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;project-level-initialization&#34;&gt;Project-Level Initialization&lt;/h4&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a2f&#34;&gt;cd&lt;/span&gt; &amp;lt;project root directory&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;codegraph init&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After initialization, &lt;code&gt;.codegraph&lt;/code&gt; data is generated&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
