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 code style.
Of the AGENTS.md files we read, the 35,337 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.
- CLAUDE.mdCLAUDE.md
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
- Distinctive: line 3
Use this file as a high-signal quick ramp for this repo.
- Very specific: line 18
Run app in dev: npm run tauri dev
- Very specific: line 23
No automated test suite is present (*.test.*, *.spec.*, and src-tauri/tests are absent).
- Very specific: line 42
Avoid Option::is_none_or(...).
- Distinctive: line 47
Keep version in sync across all three files:
≈ “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.
Files
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 folderembedist/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 lintornpm testscript. - Fast local verification:
npm run buildcargo 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.*, andsrc-tauri/testsare 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.rsand implemented insrc-tauri/src/commands/*.rs. - Prompt system is file-based:
src/lib/prompts/modes/*.mdloaded viasrc/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<...>>(seeBuildStateinsrc-tauri/src/commands/platformio.rs). - Avoid
Option::is_none_or(...); use stable alternatives likeis_some_and(...). run_shellinsrc-tauri/src/commands/filesystem.rsrejects shell metacharacters; do not expect complex chained shell expressions through that command.
Release-critical checklist
- Keep version in sync across all three files:
package.jsonsrc-tauri/Cargo.tomlsrc-tauri/tauri.conf.json
npm run tauri buildproduces:- portable exe:
src-tauri/target/release/embedist.exe - NSIS installer:
src-tauri/target/release/bundle/nsis/Embedist_<version>_x64-setup.exe
- portable exe:
tauri.conf.jsonhasbundle.targets: ["nsis"]; installer output path/name follows that config.
Secondary package
docs/is a separate Docusaurus package with its ownpackage.json; run its commands fromdocs/only when changing docs.
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
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.

