agentleFS
Korus-DevKorus-Dev/agent-ui-sdk/AGENTS.md

agent-ui-sdk

AGENTS.md1 starsChanged 21 days agoApache-2.0View on GitHub

This package provides foundational Vue components for apps built on multi-agent-sdk: the conversation pane, composer, approvals, requests and similar controls, plus rich components such as the in-app browser. How components are assembled into screens is the consumer's responsibility, so there is no app chrome, sidebar, settings or analytics here. The UI never knows which provider it is talking to: it works from capabilities and session state, and apps supply wording such as permission labels. A diff view is application-specific and…

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,040 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep this package focused on reusable Vue conversation controls, renderer-safe host contracts, and optional Electron, browser and speech …

    line 7
  2. Very specific:

    Use behavioral tests at the owning boundary.

    line 15
  3. Very specific:

    Do not independently invoke browser/Playwright tests, Electron smoke/native macOS tests, sample builds or sample launches, or publishing.

    line 27
  4. Very specific:

    Follow the release cascade: codex-sdk → multi-agent-sdk → agent-ui-sdk → Korus.

    line 36
  5. Very specific:

    Wait for the upstream version to be published, then update the exact dependency pin and regenerate the lockfile with npm together.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent UI SDK contributor instructions

Role

This package provides foundational Vue components for apps built on multi-agent-sdk: the conversation pane, composer, approvals, requests and similar controls, plus rich components such as the in-app browser. How components are assembled into screens is the consumer's responsibility, so there is no app chrome, sidebar, settings or analytics here. The UI never knows which provider it is talking to: it works from capabilities and session state, and apps supply wording such as permission labels. A diff view is application-specific and does not belong here.

Keep this package focused on reusable Vue conversation controls, renderer-safe host contracts, and optional Electron, browser and speech adapters. Provider execution belongs in multi-agent-sdk; raw Codex protocol belongs in codex-sdk. Product navigation and persistence belong in applications.

Preserve capability-driven behavior and the renderer/host boundary. Do not expose provider handles, credentials or filesystem authority through renderer APIs.

Use behavioral tests at the owning boundary. Follow testing, prove regressions red before fixing them, and preserve the 85% statement coverage gate. Run npm run check and git diff --check before handoff. Document public contract changes and verify the real npm tarball with npm run check:package. Record unavailable native and live-provider validation explicitly.

During development, run tests only with npm run test:ai -- <name-or-path>, or npm run test:ai for the full unit suite. Do not call vitest, npx vitest or npm test directly for agent runs. npm run check stays the final handoff gate; test:ai is for iterating. The unit suite includes deterministic lab specs, but not the separately configured sample specs.

Do not independently invoke browser/Playwright tests, Electron smoke/native macOS tests, sample builds or sample launches, or publishing. Those operations require an explicit task instruction; the final npm run check gate remains required.

Preserve unrelated work. Do not create branches, commit, push or publish without explicit user authorization. Normal checks must not log in, execute paid prompts, record microphones or change the user's provider homes. Never commit credentials, runtime homes, local conversations or .env files.

Follow the release cascade: codex-sdk → multi-agent-sdk → agent-ui-sdk → Korus. Wait for the upstream version to be published, then update the exact dependency pin and regenerate the lockfile with npm together. Verify a clean npm ci --ignore-scripts, npm run check and the production audit before release.

Release only after Nicolas explicitly confirms Korus runs with the SDK working trees in local-source mode (SDK_LOCAL_SOURCE=1, optionally SDK_SOURCE_ROOT). Green CI alone is insufficient. Tarballs are for isolated consumer checks, not Korus qualification. Wait for his explicit go before version bumps, commits, pushes or publication.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.