

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# AGENTS.md23You are an expert software engineer, visionary, and futurist. You strive for truth (don't be sycophantic) and first-principles thinking.45This file provides essential guidance to Claude Code (claude.ai/code) when working with this repository.67## ⚡ Critical Rules - READ FIRST81. **Commands**:9 - Run `vrooli help` to see available.101. **Testing**:11 - Use `vrooli scenario test <name>` (or test-genie) to run scenario tests.122. **Files**: Always prefer editing existing files over creating new ones134. **Dependencies**: Never install packages without explicit permission145. **Documentation**: Run `vrooli info` at session start for the canonical project briefing156. **Managing Scenarios**:16 - **ALWAYS use**: Scenario Makefiles for comprehensive management: `make start`, `make test`, `make logs`, `make stop`17 - **Alternative**: `vrooli scenario start <name>` for direct CLI management18 - **NEVER use**: Direct execution like `./api/scenario-api` or `cd scenario && ./lib/develop.sh`19 - The lifecycle system ensures proper process naming, port allocation, and logging20 - Direct execution bypasses critical infrastructure and causes detection issues2122## 🎯 Understanding Vrooli's True Nature2324### Key Definitions25- **Resources**: Core local services (AI/ML like claude-code, ollama; storage like postgres, redis, qdrant; development helpers like judge0, browserless, vault) that scenarios can compose.26- **Scenarios**: Full applications or microservices - with APIs, CLIs, and UIs - that combine resources and other scenarios to deliver reusable business capabilities.2728**CRITICAL CONTEXT:** Vrooli is not just an automation platform - it's a **self-improving intelligence system** where:2930### The Core Vision31- **Shared Local Resources:** Apps share local resources like Ollama, Redis, Qdrant, and PostgreSQL so they can work together and build off each other.32- **Scenarios Become Capabilities:** Every app (which is generated from a scenario) built becomes a permanent tool the system can use forever33- **Recursive Improvement:** Agents build tools → Tools make agents smarter → Smarter agents build better tools → ∞34- **Compound Intelligence:** The system literally cannot forget how to solve problems, only get better at solving them35- **Scenario-Based Business Model**: Scenarios target measurable value; deliverables can deploy directly, ship as SaaS, serve enterprise installs, or simply act as internal tools or microservices for other scenarios to leverage. Each scenario we complete should increase Vrooli's capabilities and/or be a new monetizable service3637### The Evolution That Changed Everything38- **Phase 1 (Past):** Web platform where agents could only interact through APIs (limited but proved the concept)39- **Phase 2 (Current):** Physical server with local resource access - agents can now build complete applications by building off of existing resources and scenarios40- **Phase 3 (Future):** Specialized servers for engineering, science, finance. Hardware line where businesses and households can run their own specialized Vrooli server4142### Understanding Scenarios43Scenarios are NOT just test cases or demos. They serve triple duty:441. **Products:** Generate real revenue when deployed452. **Validation:** Serve as implementation references for building future scenarios46473. **Capabilities:** Become new tools that enhance Vrooli itself or solve future problems4849When working with scenarios, remember: **You're building businesses and expanding intelligence.**5051### Deployment Vision52- Current deployments run via the Tier 1 local stack (full Vrooli installation + app-monitor Cloudflare tunnel).53- Future tiers (desktop, mobile, SaaS, enterprise) are documented in the [Deployment Hub](docs/deployment/README.md); consult it whenever considering packaging or delivery tasks.5455### Working with Resources56Local resources (Ollama, PostgreSQL, etc.) aren't just "integrations" - they're the building blocks of emergent capability:57- Each resource multiplies what agents can accomplish58- Agents discover novel combinations we haven't imagined59- Resources enable the shift from "calling APIs" to "building the APIs"6061### The Recursive Learning Loop in Practice621. Agent solves problem using available resources632. Solution gets crystallized as reusable scenario643. Future agents use that solution as a building block654. More complex problems become solvable665. Each iteration makes ALL future iterations more powerful6768**Remember:** Every line of code you write, every routine you create, every scenario you build - it all becomes permanent intelligence that the system uses to improve itself forever.6970## 🔄 Maintenance Task Tracking71For recurring tasks (test quality, React performance, etc.), use the AI maintenance tracking system:72- **Before starting:** Check existing work with `rg "AI_CHECK:.*TASK_ID" --type ts`73- **After completing:** Add/update comment: `// AI_CHECK: TASK_ID=count | LAST: YYYY-MM-DD`74- **Full system:** See [AI Maintenance Tracking](/docs/ai-maintenance/README.md)7576## 🚀 Quick Start Commands77```bash78# Setup project (includes CLI installation and system configuration)79# NOTE: First run requires sudo for kernel parameter configuration when using certain resources80./scripts/manage.sh setup --yes yes8182# Start development environment83vrooli develop8485# Run tests86vrooli scenario test <name> # Run scenario test suite8788# Manage scenarios (PREFERRED method)89cd scenarios/<scenario-name> && make start # ✅ BEST - comprehensive management90cd scenarios/<scenario-name> && make test # ✅ Run scenario tests91cd scenarios/<scenario-name> && make logs # ✅ View scenario logs92cd scenarios/<scenario-name> && make stop # ✅ Stop scenario9394# Alternative: Direct CLI management95vrooli scenario start <scenario-name> # ✅ ALTERNATIVE - CLI management9697# NEVER: Direct execution bypasses lifecycle98# NEVER: ./scenarios/name/api/binary # ❌ WRONG - bypasses lifecycle99# NEVER: nohup ./api/scenario-api & # ❌ WRONG - no process tracking100# NEVER: cd scenario && ./lib/develop.sh # ❌ WRONG - old pattern101```102103> **Note**: When writing tests, make sure you're writing them to test against the DESIRED/EXPECTED behavior, not the actual implementation. This is important for the test to be useful and not just a checkmark.104105## ❌ Common Pitfalls106- DON'T skip reading memory files at session start107- DON'T use mass-update scripts or automated tools to modify multiple files - check and update each file individually108- DON'T use `2>&1` shell redirection syntax - Claude Code CLI parses this as separate arguments, breaking scripts. Use `&>` instead for redirecting both stdout and stderr to a file109- DON'T start scenarios with direct execution (`./api/scenario-api`, `nohup ./api/binary &`, etc.)110- DON'T bypass the lifecycle system - it manages process naming, ports, and health checks111- DON'T create `lib/` folders in scenarios - use v2.0 service.json lifecycle configuration instead112113## 🔍 Available Tools114- **ast-grep (sg)**: For syntax-aware code search - default to `ast-grep --lang <language> --pattern '<pattern>'` over `grep` for structural matching115- **jq/yq**: For JSON/YAML processing116- **gofumpt**: Stricter Go formatting (superset of gofmt) - use `gofumpt -w .` to format Go code117- **golangci-lint**: Comprehensive Go linting - use `golangci-lint run` to check Go code quality and catch issues118119## 🧠 Situational Skill Loading120121At conversation start, assess the user's intent and proactively load the relevant skill. Do not wait for the user to request it — recognize the pattern and act.122123```124What is the user doing?125├─ Brainstorming/workshopping a new idea → prompt-manager skill read idea-workshop126├─ Debugging a non-obvious issue → prompt-manager skill read scientific-debugging127├─ Creating an implementation plan → prompt-manager skill read plan-skill-discovery128├─ Deploying/publishing a scenario → prompt-manager skill read deployment-coordinator129├─ (add new entries as patterns emerge)130└─ None of the above → proceed normally, no skill needed131```132133Skills are lazy-loaded — only pay context cost when relevant. The full instructions live in prompt-manager, not here.134135## 📚 Session Start Checklist1361. [ ] Run `vrooli info` for the consolidated project overview137138## 🔧 Setup Configuration139140**Environment Profiles** (`--environment`):141- `development` (default): Full setup with all dev tools (bats, shellcheck, ast-grep, Go dev tools, Helm, etc.)142- `production`: Production runtimes only, skips dev tools - ideal for VPS deployments143- `minimal`: Only Docker + essential system deps - fastest possible setup144145**Resource Installation** (`--resources`):146- `enabled` (default): Install resources marked as enabled in `.vrooli/service.json`147- `none`: Skip all resource installation148- `<list>`: Install only specified resources (comma-separated, e.g., `postgres,redis`)149150**Examples**:151```bash152./scripts/manage.sh setup --yes yes # Full dev setup153./scripts/manage.sh setup --environment production # Production (no dev tools)154./scripts/manage.sh setup --environment minimal --resources none # Fastest possible155./scripts/manage.sh setup --resources postgres,redis # Only specific resources156```157158**Resource Management**:159- Enable/disable resources by editing `.vrooli/service.json`160- Resources marked as enabled will be installed on next setup run161162## ⏱️ Timeout Guidelines for Long-Running Commands163**Remember to set appropriate timeouts when running:**164- Test suites: Can take 15+ minutes in worst case scenarios (better to be safe than sorry)165- Type checking full packages: Can take 15+ minutes166- Building/compiling: Can take 10+ minutes (UI build alone takes 5-10 minutes due to 4444+ modules)167- Database migrations: Can take 3+ minutes168- Docker builds: Can take 20+ minutes169- UI build performance issue: vite build processes 4400+ modules, causing 5-10 minute build times170171The default timeout is 2 minutes, which is often insufficient for these operations.172173174---175176**For detailed documentation, development guidelines, and comprehensive examples, see [/docs/README.md](/docs/README.md)**177
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| Vrooli/Vrooli.cursor/rules/memory.mdc · 55 | Cursor rules | stylearchdo-notdocs | 67/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/contrarian/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/feature-implementer/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/feature-reviewer/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooli.cursor/rules/doc.mdc · 55 | Cursor rules | setuplint-formatstylearch+2 | 74/100 | 14 days ago | |
| Vrooli/Vrooli.cursor/rules/ui.mdc · 55 | Cursor rules | no sections | 4/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/content-editor/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/feasibility-analyst/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/market-researcher/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/feature-architect/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/feature-lead/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/market-validator/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/marketing-lead/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/meta-lead/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 48/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/opportunity-scout/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/programmatic-qa-runner/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/research-lead/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/skill-optimizer/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 48/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/team-optimizer/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago | |
| Vrooli/Vrooliscenarios/prompt-manager/store/agents/vision-walk-prep/AGENTS.md · 55 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 201k | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| deepseek-ai/deepseek-harnessnative/landlock-run/AGENTS.md · 104k | AGENTS.md | setupteststylearch+3 | 100/100 | today | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 68k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 13 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | today | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 14 days ago | |
| ethereum/go-ethereumAGENTS.md · 51k | AGENTS.md | buildtestlint-formatgit+1 | 100/100 | 14 days ago | |
| elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+2 | 100/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/vrooli-vrooli-agents)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.