agentleFS
OpenByteIncOpenByteInc/QuantDinger/AGENTS.md

QuantDinger

AGENTS.md12k starsChanged 2 months agoApache-2.0View on GitHub

This is the canonical instruction file for coding agents working in this repository. Keep tool-specific entrypoints thin and do not duplicate these rules elsewhere. Read only the documentation relevant to the change:

  • Reads credentials

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 17 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the OpenByteInc/QuantDinger repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about OpenByteInc/QuantDinger

The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 18

Talked about on GitHub (18 times).

On GitHub · 18

13 more on GitHub
  • 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,773 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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Read only the documentation relevant to the change:

    line 15
  2. Distinctive:

    Keep tenant isolation, idempotency, leases, fencing, and audit behavior intact when changing distributed or trading workflows.

    line 27
  3. Very specific:

    Never commit real secrets, production .env files, API keys, or database passwords.

    line 33
  4. Distinctive:

    Do not weaken live-trading safeguards or bypass explicit authorization and human review unless the user requests and scopes that change.

    line 34
  5. Distinctive:

    Do not add upgrade-time data rewrites for one-off local cleanup.

    line 35
  6. Distinctive:

    Use English for source-code comments.

    line 37
  7. Very specific:

    Keep machine-readable contracts and identifiers in English.

    line 38
  8. Very specific:

    Run focused backend tests from backend_api_python/ with python -m pytest tests/<test_file>.py -q.

    line 42

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

QuantDinger Repository Instructions

This is the canonical instruction file for coding agents working in this repository. Keep tool-specific entrypoints thin and do not duplicate these rules elsewhere.

Repository map

  • backend_api_python/: Flask API, services, trading runtime, migrations, and backend tests.
  • mcp_server/: the tenant-scoped MCP client/server package backed by QuantDinger APIs.
  • docs/: product, architecture, deployment, API, Agent Gateway, and trading documentation.
  • docker-compose*.yml and scripts/: deployment topology and lifecycle tooling.
  • Frontend source is maintained outside this repository. The prebuilt frontend image is configured by the frontend service in docker-compose.yml.

Read by task

Read only the documentation relevant to the change:

  • Agent Gateway or MCP: Agent documentation, Agent OpenAPI, and MCP package documentation.
  • Strategy API, backtests, or trading behavior: Strategy development guide and live-trading safety.
  • Runtime ownership, concurrency, Kafka, workers, or durable state: architecture index and the task-specific document it links.
  • HTTP contracts: API conventions and the applicable OpenAPI document.
  • Installation or operations: the root README and the applicable guide under docs/deployment/.

Architecture and contract invariants

  • Preserve the process ownership documented in the architecture index. Do not move persistent trading loops into the HTTP backend or let evaluator processes submit exchange orders directly.
  • PostgreSQL is the durable source of truth. Kafka transports versioned events; Redis cache data is evictable, while the jobs Redis has a separate durability role. Do not silently substitute one for another.
  • Keep tenant isolation, idempotency, leases, fencing, and audit behavior intact when changing distributed or trading workflows.
  • /api/agent/v1 is the Agent Gateway boundary. Update docs/agent/agent-openapi.json and its alignment tests whenever that HTTP contract changes.
  • MCP capabilities must retain the same authentication, scopes, idempotency, limits, and live-trading safeguards as the backing API.

Safety and repository hygiene

  • Never commit real secrets, production .env files, API keys, or database passwords. Use .env.example and placeholders.
  • Do not weaken live-trading safeguards or bypass explicit authorization and human review unless the user requests and scopes that change.
  • Do not add upgrade-time data rewrites for one-off local cleanup. Use an explicit, reviewed migration only when shipped user data must change.
  • Preserve unrelated working-tree changes.
  • Use English for source-code comments. Keep user-facing application copy in the existing localization system rather than hardcoding it in source files.
  • Keep machine-readable contracts and identifiers in English. When a human guide has English and _CN editions, update both when the change affects both audiences.

Verification

  • Run focused backend tests from backend_api_python/ with python -m pytest tests/<test_file>.py -q.
  • Agent contract coverage lives in backend_api_python/tests/test_ai_agent_contract_alignment.py and related test_agent_*.py files.
  • MCP tests live in mcp_server/tests/.
  • Validate Compose changes with docker compose config --quiet before exercising the affected services.
  • Match verification depth to risk; trading, migrations, tenancy, and distributed ownership require targeted regression tests.

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.