6 comments

  • andai1 hour ago
    That&#x27;s cool. Sounds very impressive. What&#x27;s the point of all this security though?<p>You don&#x27;t want it to access your files, just give it its own Linux user. You don&#x27;t even need a container.<p>Better yet, you can give it root on a $3 VPS (or $30 Thinkpad) and get a sysadmin for free :)<p>Although, Cheerpx... that seems to imply your agent can play Java and Flash games. Alright, you might be on to something!
    • NotASithLord1 hour ago
      I hope so! There&#x27;s different approaches for different use cases, for sure. This seemed like a genuinely new one worth exploring and seeing where it goes. I think the benefits are that the agent &quot;lives&quot; where most people already work and live their online lives. Has direct web access, and all the other browser primitives I&#x27;ve tried to demo. But yeah, wasm especially opens up literally any kind of application as well. The guys at CheerpX have made a great engine and 64-bit is going to be a big unlock.
    • Garlef37 minutes ago
      &gt; just give it its own Linux user<p>it&#x27;s never &quot;just&quot; ...<p>(for example: how do you manage this across multiple isolated sessions?)<p>opening a browser is much easier<p>... and the entry barrier for non-linux people at your company is much much lower<p>... and the compliance barrier for companies is much much lower (how do you ensure that everyone creates the users correctly?)
  • NotASithLord1 hour ago
    Author here. Some other technical tidbits:<p>- Fully typed checked with JSdoc, and Bun&#x2F;TS for testing.<p>- stdlib-js is injected into every js runner and notebook for better math capabilities than vanilla js, and also charts etc.<p>- App dev tasks utilize mithril for making SPAs, a very small no-dependency framework that is very fit to purpose for the client side nature of peerd apps.<p>- Currently on main, tabs are global objects each chat session can freely mutate, which is not great. The new in progress model has one &quot;resident&quot; agent own every tab. Only they have the exposed capability to mutate it, and everything between agents&#x2F;sessions is message based. This has some cool properties: further isolation between contexts, mirroring the web runner subagent. Explicit ownership and scope is cleaner and better for parallel ops. Context and system prompts can be reduced and focused to the specific context the session is exposed to. The orchestrator doesn’t have any low level tab interactions available to it. The tab residents have <i>only</i> the tab interaction tools relevant to it, and the instructions specific to the tab type (js notebook, linux vm, app dev, etc). Over time model usage can be tuned and optimized for each specific context etc.
    • beepbooptheory28 minutes ago
      JSdoc? Not typescript? What is this, 2010?
      • NotASithLord9 minutes ago
        It&#x27;s vanilla JS with no unnecessary build step. Runs in the browser as is, and easy to audit.
  • danielrmay1 hour ago
    &gt; The name is always lowercase: peerd.<p>Gotta love it when agent instructions get blurted out in user-facing documentation
    • NotASithLord1 hour ago
      It&#x27;s a project convention for human contributors as well. Agree it can probably be relocated though.
  • toozitax1 hour ago
    If the web runners return summarized results and those are still treated as untrusted, what&#x27;s stopping a summary itself from carrying the injection up to the main loop?
    • NotASithLord1 hour ago
      It&#x27;s defense in depth, definitely not a silver bullet. The web runner has no access to wider capabilities outside of that page. So the only path for a prompt injection to do anything is to try and get itself included in the summary, and get the main loop to act on an instruction in that summary. That means getting pass two sets of &lt;untrusted&gt; tags and explicit instructions to treat everything inside as information, not instruction. Then the egress checkpoint and allow&#x2F;deny whitelists are the final guards regardless of what the main loop decides to do. Trying to harden wherever I can if you have any recs.
  • ricardobeat1 hour ago
    &gt; The bet is structural<p>Why has AI writing become so insufferable?<p>The project would be a lot more credible if the feature list wasn&#x27;t so comically extensive and verbose [1]. Slop overload.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;NotASithLord&#x2F;peerd&#x2F;blob&#x2F;main&#x2F;FEATURES.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NotASithLord&#x2F;peerd&#x2F;blob&#x2F;main&#x2F;FEATURES.md</a>
    • da_grift_shift1 minute ago
      I&#x27;m going to do a Simon here and coin &quot;Markdown hoarding&quot; for the Claudeism of producing reams of hyper-dense prose and compounding it with more and more prose. Gradually, the number of massive Markdown files in the repo grows and grows.<p>The critique is for Opus here, no slight on the author, but the Claude way-of-writing evokes &quot;Look! I&#x27;m SO TECHNICAL I CAN USE SO MUCH JARGON I AM SO SMART!&quot;<p><pre><code> SSRF &#x2F; private-network guard — blocks loopback&#x2F;LAN&#x2F;link-local incl. inet_aton encodings, IPv6 (::1, ULA, IPv4-mapped&#x2F;NAT64), *.localhost&#x2F;*.local; honest that DNS rebinding is out of scope. peerd-egress&#x2F;fetch&#x2F;private-network.js </code></pre> DNS rebinding protection does not need that much belaboring.
    • NotASithLord56 minutes ago
      Scrubbed. Taking a fresh pass through.