Better HN
topnewbestaskshowjobs
Log inSign up

elenaviter

1 karma · joined Jul 1, 2026 (4mo ago) · 13 submissions

I design and build complex systems. I work on modeling complex processes, concurrency, and where AI agents meet classical engineering.
Submissions

comment 3mo ago · link · parent

There might be the "agent card" - one place where the user manages what a specific agent is allowed to do. The user grants it tools, connects the accounts those tools need, narrows or revokes any of that at any time. For an autonomous agent the card is prepared and consented before the run. Such card is the primitive in so called "connection hub", a centralized component, and is rendered from what is declared there: tools declare their claims, accounts get connected in the browser (google docs tools need a google account connected), on their own or as part of preparing the card. Account credentials live in this hub, with the claims the user approved when connecting.

The agent authenticates with one token issued for this card and never receives the connected accounts credentials. Every operation is checked against the grant and this agent's binding to the account. If something is missing, the agent gets unauthorized with the details on what exactly. If the check passes, the hub, loaded by the server as a lib or reached in its internal network, releases the account credential into the operation's execution context. Account credentials renewal happens on hub. Revoking grant is also done in card and leads to agent's unauthorized on that op next call. Sub-agent and any automation are also such agents and also can be managed with such card.

So such hub develops into a useful ecosystem component, standalone, like an IdP for login. An MCP server then works together with this hub, it only declares its claims in the hub (so the hub knows what to render in the agent card). While all these auth realm duties such as approvals, the revocation and the credentials storage live "at infrastructure".

comment 3mo ago · link · parent

I also work on many projects at a time. To keep up, my notes grew into a whole network of documentation. It works as a network because a coding agent can follow the links. All the notes entries are markdown and all is in git. Here's my long-run notes network:

0) Work journals. One repo for all projects at once. Each project or feature has its folder with dated entries, one entry per significant move, and a small index: a row per entry with date, link and a few lines of what happened. The project folder points to its journal and the journal points back, so when two projects touch, both sides reference each other.

1) Docs. Always maintained starting from day one of the project, not scattered in the code but usually in repo/<proj|subproj>/docs in the code repos.

2) Knowledge base with the index on top which consolidates the knowledge across projects. The index is sqlite + faiss, built from what is in git and rebuilt as it changes, and there is MCP over it. So I can ask "where did I talk about X" and get a quick recap with the links to primary notes (can be docs, journals, other knowledge base articles, sometimes source code files).

3) Issues tracker (e.g. github issues). Journal entries reference the issues (no retelling, but the linkage is preserved). Optional and for smaller projects can be solved with journals.

4) Procedures. Notes that teach how to maintain all of this while working. This is the "onboarding procedure" for a maintainer, and it is a "must read". All these piles of knowledge and sources stay sane and survive months only because the maintainers always keep the network updated as they work. My coding agents follow these same procedures and journal.

Getting back to a project after a long break or onboarding a new agent starts from reading its journal index. I describe the feature, the agent finds relevant journals and onboards itself. This just works

comment 3mo ago · link · parent

My passion for prototyping took me to setting up an "app prototyping lab", plus a claude code plugin with the procedures for devopsing the lab and authoring the apps.

I do not literally use a prompt box inside that lab app, but it can sit there too, and then it looks like your case: the agent lives inside the app and builds on request. My agent works from "outside" from economic considerations: I want the coding agent on subscription instead of paying per api call for a chat-"resident" inside the box. So the agent-devops operates from my CLI and uses the lab app to prototype apps inside of it. And the lab hosts and runs them.

An app is a python backend with one declared entrypoint (python is the native backend but recently I added support for node sidecars), plus UI components in react/redux/whatever (each UI piece brings its own npm build, the host builds it into static assets and serves them, so for example angular fits similarly). The app exposes "surfaces" - it can declare a handler for data the box routes to it over channeled websocket and SSE and it can declare its own REST and MCP. That is how the clients reach the app, and its own UI components are such clients too. Auth is configured once at the host level.

App authoring/changing process looks like: I issue a token for my agent in the host app, and then the agent can add a whole new app to the host or remove one, or add/remove/change any part of an app, python or react, or its config, and run one reload command against the host. The host reloads the backend, rebuilds the widgets and serves them, the other apps at that time stay unaffected and are up. So if the ask was "make me a UI panel with some buttons that does X", after the reload that panel is simply there, in the running app's ui. Then the agent tests what it built through the browser or the API. I just look at the running result in the lab's frontend app where I can work with ui parts of my apps directly.

The "sandboxed APIs" concept is here too, and the sandbox is the app itself: generated code belongs to its own app and is available only via the APIs of this app through the host. Since the host scales multi-worker and multi-machine, the generated app has to be written in this understanding (like if it was a fast api app). For the agent the host is a simulator box, but everything in it is real.

comment 4mo ago · link · parent

Not technical help, but I googled “indie sites” and found https://onepagelove.com/ among others, this one has a lot of beautiful examples of UX, and so many of them look great on mobile. Looking at beautiful things opens the imagination and makes it possible to “see” how the site with the certain character should look. Such an inspiration journey can also be just a great time on its own.

comment 4mo ago · link · parent

A good product has a soul. And if it has one, the author won't hide it behind an ugly cover. Why push people away from such a valuable, beloved creation (if that's what it is?) A cover like a hundred others is zero effort - and trust is built on invested effort. Good service is where the customer is cared for. If the customer isn't cared for, it's not service - it's pure selling.

comment 4mo ago · link · parent

It's same for me. I decided I want to control this somehow, at least the procedure of how memories are collected, and where. To be able to see them, process them, share them, mention them and outside of Claude storage, in my format.

I work in Cowork with a filesystem I control, or in Claude Code and also with Codex.

I instructed Claude and Codex to checkpoint into my external memory: keep a session journal in a fixed format markdown with front matter (date of creation, summary, keywords, status, links to related entries) and the body of such entry is the actual context and important notes, including also links to relevant files. (porbably what Claude or Codex could write in its own memories) and add such record to a common journal index. Notes are captured when I ask, and periodically if agent feels that we have some "milestone" in conversation. This means I now can ask Claude to make the "handoff" from such jounrals (give the filesystem links of the needed journals + the additional information) to "onboard" the other agent. I then simply place this in new chat and the agent onboards itself. I also can pick the needed articles myself and ask the agent to start from <these specific files> or let it search there ("start where I talked about.. on last week.."). Agents can search in this "context articles cloud" very efficiently. These "articles" are "memos" and are stored in one place on my file system organized by month when they were created and then by topics on which the agent was asked to work. They contain links to the project's relevant files, links to other notes in this knowledge base, and contextual information, real "context articles". Perhaps how agent would store it in their memories but now it stores in mine :) This also nice place for me to see that all, notes have clean visual organization and recognizable names. This really helps me.

comment 4mo ago · link · parent

We capture organizational knowledge during each change in the product. Contributors can be agents and people and have different roles. Agents must follow our procedures, and one of the most important assignments is to journal their work in our knowledge base, in a feature session journal, so they are not losing the track somewhere in their harness.

Our "project knowledge" consists of artifacts of such types:

- product documentation (made by human). Intended product behavior and capabilities.

- technical documentation (maintained by human and agent who work together on feature). Implementation documentation.

- feature session journal (made by agent and human who work together on specific feature). Per feature session. Contains original problem, gaps, problems, misunderstandings and failed attempts.

- wiki and ontology articles for targeted knowledge retrieval. Built by Knowledge Keeper procedure under human supervision on demand. Consolidate the knowledge across subsystems.

- code and tests (mostly written by agents).

All these knowledge artifacts (except code and tests) are mostly markdown articles. They are stored in git - this allows versioned storage, authorship and diffs. All articles have front matter with summary, keywords, status (draft or reviewed and approved by human) and links to related articles, so we and agents know what is relevant and what the source of truth is. Wiki and ontology articles hold the semantic relationships for better retrieval.

Typical process of changes: As agent and human work on the feature, this is captured in the session journal. At any moment in this process, the engineer who works with the agent can ask the agent to hand off their work to other agents, integrate in the technical documentation or handoff to a Knowledge Keeper. Such handoff includes the message with documentation links and the link to the session journal, so one who continues starts with the context.

The Knowledge Keeper is a supervised procedure that keeps wiki and ontology aligned with the product documentation, technical documentation, known issues. Knowledge integration process is currently manually initiated by the handoff of the human who worked with agent on the feature. The Keeper prepares the integration plan which a human approves. Keeper builds the index on top of wiki and ontology after integrating the knowledge and tests the knowledge retrieval via MCP to check if integrated knowledge retrieves correctly and reports to the human maintainer. MCP allows the consolidated view of the product and its capabilities. Its answers point to the primary docs, therefore users do not need to find one person who remembers everything.