<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
  <title>Ambient-Code on blog.yarwood.me.uk</title>
  <link>https://blog.yarwood.me.uk/tags/ambient-code/</link>
  <description>Recent content in Ambient-Code on blog.yarwood.me.uk</description>
  <generator>Hugo -- gohugo.io</generator>
  <language>en</language>
  <lastBuildDate>Mon, 27 Apr 2026 08:00:00 +0000</lastBuildDate>
  
    <atom:link href="https://blog.yarwood.me.uk/tags/ambient-code/index.xml" rel="self" type="application/rss+xml" />
  
  
    <item>
      <title>acptui - A TUI for the Ambient Code Platform</title>
      <link>https://blog.yarwood.me.uk/2026/04/27/acptui/</link>
      <pubDate>Mon, 27 Apr 2026 08:00:00 +0000</pubDate>
      <guid>https://blog.yarwood.me.uk/2026/04/27/acptui/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://ambient-code.dev&#34;&gt;Ambient Code Platform&lt;/a&gt; gives you managed AI coding sessions backed by real workspaces, but the web UI isn&amp;rsquo;t always where I want to be when I&amp;rsquo;m already living in the terminal. So I built &lt;a href=&#34;https://github.com/lyarwood/acptui&#34;&gt;acptui&lt;/a&gt; — a terminal UI for browsing and managing Ambient Code Platform sessions without leaving the shell.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&#34;https://blog.yarwood.me.uk/img/acptui-demo.gif&#34;&gt;
&lt;/figure&gt;

&lt;h2 id=&#34;what-it-does&#34;&gt;What it does&lt;/h2&gt;
&lt;p&gt;acptui starts with a project picker listing every project you have access to. Selecting one drops you into a session list showing phase, model, repo, and age at a glance. From there you can create, start, stop, or delete sessions, open a live chat view with streaming responses, browse workspace files, or check on background tasks — all without touching a browser.&lt;/p&gt;
&lt;p&gt;The chat view streams assistant responses over SSE in real time, including collapsible thinking blocks you can expand with &lt;code&gt;tab&lt;/code&gt;. You can export any conversation to markdown with &lt;code&gt;ctrl+e&lt;/code&gt;, or open the session in the web UI with &lt;code&gt;w&lt;/code&gt; if you need the full interface.&lt;/p&gt;
&lt;h2 id=&#34;session-management-from-the-cli&#34;&gt;Session management from the CLI&lt;/h2&gt;
&lt;p&gt;Beyond the TUI, &lt;code&gt;acptui create&lt;/code&gt; lets you spin up sessions programmatically:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;acptui create my-project --prompt &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Fix the flaky integration test&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --repo https://github.com/org/repo &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --model claude-sonnet-4-6
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;There&amp;rsquo;s also &lt;code&gt;acptui export&lt;/code&gt; for dumping conversations to markdown and &lt;code&gt;acptui login&lt;/code&gt; for browser-based OpenShift OAuth authentication.&lt;/p&gt;
&lt;h2 id=&#34;filtering&#34;&gt;Filtering&lt;/h2&gt;
&lt;p&gt;The filter bar supports regex and field-specific prefixes, same pattern as &lt;a href=&#34;https://github.com/lyarwood/cctv&#34;&gt;cctv&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;phase:Running                # match session phase
model:sonnet                 # match model name
repo:github.com/org/repo     # match repository URL
phase:Running model:sonnet   # multiple terms ANDed
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;stack&#34;&gt;Stack&lt;/h2&gt;
&lt;p&gt;Written in Go using the same &lt;a href=&#34;https://charm.sh/&#34;&gt;Charm&lt;/a&gt; libraries as cctv — &lt;a href=&#34;https://github.com/charmbracelet/bubbletea&#34;&gt;Bubble Tea&lt;/a&gt; for the TUI, &lt;a href=&#34;https://github.com/charmbracelet/lipgloss&#34;&gt;Lip Gloss&lt;/a&gt; for styling, and &lt;a href=&#34;https://github.com/spf13/cobra&#34;&gt;Cobra&lt;/a&gt; for the CLI. Ships with five color themes (&lt;code&gt;default&lt;/code&gt;, &lt;code&gt;catppuccin&lt;/code&gt;, &lt;code&gt;dracula&lt;/code&gt;, &lt;code&gt;nord&lt;/code&gt;, &lt;code&gt;light&lt;/code&gt;). Tests use &lt;a href=&#34;https://github.com/onsi/ginkgo&#34;&gt;Ginkgo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Source and installation instructions at &lt;a href=&#34;https://github.com/lyarwood/acptui&#34;&gt;github.com/lyarwood/acptui&lt;/a&gt;. Issues and PRs welcome.&lt;/p&gt;
</description>
    </item>
  
  </channel>
</rss>
