agentleFS
mandarwagh9mandarwagh9/embedist/AGENTS.md

embedist

AGENTS.md47 starsChanged 6 months agoMITView on GitHub

Use this file as a high-signal quick ramp for this repo.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 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 repositoryOne other file it gives its agents.

The file

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

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this file as a high-signal quick ramp for this repo.

    line 3
  2. Very specific:

    Run app in dev: npm run tauri dev

    line 18
  3. Very specific:

    No automated test suite is present (*.test.*, *.spec.*, and src-tauri/tests are absent).

    line 23
  4. Very specific:

    Avoid Option::is_none_or(...).

    line 42
  5. Distinctive:

    Keep version in sync across all three files:

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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

Embedist Agent Notes

Use this file as a high-signal quick ramp for this repo.

Scope and source of truth

  • Work in embedist/embedist (the parent folder embedist/ is not the app root).
  • Trust executable config over docs when they differ (README version text can lag).
  • Platform target is Windows desktop (Tauri 2 + React + TypeScript + Rust).

Commands that actually exist

  • Root frontend scripts (package.json): npm run dev, npm run build, npm run preview, npm run tauri.
  • There is no root npm run lint or npm test script.
  • Fast local verification:
    • npm run build
    • cargo clippy --manifest-path src-tauri/Cargo.toml
  • Run app in dev: npm run tauri dev
  • Build release artifacts: npm run tauri build

Testing reality

  • No automated test suite is present (*.test.*, *.spec.*, and src-tauri/tests are absent).
  • Validation is build + clippy + manual app checks.

Architecture map (real entrypoints)

  • Frontend entry: src/main.tsx -> src/App.tsx.
  • Backend entry: src-tauri/src/main.rs -> src-tauri/src/lib.rs.
  • Tauri commands are registered in src-tauri/src/lib.rs and implemented in src-tauri/src/commands/*.rs.
  • Prompt system is file-based: src/lib/prompts/modes/*.md loaded via src/lib/prompts/index.ts.

AI/tool-calling facts that matter

  • Rust backend supports tool-enabled chat handlers for OpenAI, Anthropic, DeepSeek, and custom OpenAI-compatible endpoints (src-tauri/src/commands/ai.rs).
  • Ollama and Google handlers are text/chat only in current backend implementation.
  • Agent-mode tool execution is implemented in src/hooks/useAgent.ts + src/lib/agent-tools.ts.

Rust and state gotchas

  • For cloneable async shared process state, use Arc<tokio::sync::Mutex<...>> (see BuildState in src-tauri/src/commands/platformio.rs).
  • Avoid Option::is_none_or(...); use stable alternatives like is_some_and(...).
  • run_shell in src-tauri/src/commands/filesystem.rs rejects shell metacharacters; do not expect complex chained shell expressions through that command.

Release-critical checklist

  • Keep version in sync across all three files:
    • package.json
    • src-tauri/Cargo.toml
    • src-tauri/tauri.conf.json
  • npm run tauri build produces:
    • portable exe: src-tauri/target/release/embedist.exe
    • NSIS installer: src-tauri/target/release/bundle/nsis/Embedist_<version>_x64-setup.exe
  • tauri.conf.json has bundle.targets: ["nsis"]; installer output path/name follows that config.

Secondary package

  • docs/ is a separate Docusaurus package with its own package.json; run its commands from docs/ only when changing docs.

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.