AGENTS.md · fossasia/visdom
AGENTS.md from fossasia/visdom: 67 lines covering Setup, Code Style, Do Not, Pitfalls and more.
Template by fossasia
Chalk Labs
Need help deploying AGENTS.md · fossasia/visdom?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/fossasia/visdom/dev/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 67 lines
- File
AGENTS.md
Sections
- Setup
- Code Style
- Do Not
- Pitfalls
- Testing
- PR Checklist
- Ask Before
- Context & Skills
First lines (shown under the repo's Apache-2.0 license)
<!-- SPDX-License-Identifier: Apache-2.0
https://www.apache.org/licenses/LICENSE-2.0 -->
# AGENTS instructions
Visdom: Python client + Tornado server + React frontend for live data visualization.
Version `0.3.0` · Python >= 3.12 · Apache 2.0
## Setup
- Install Python: `pip install -e . && pip install -r test-requirements.txt`
- Build frontend: `yarn && yarn run build`
- Install hooks: `pip install pre-commit && pre-commit install`
## Code Style
- Format Python: `black py` (v23.1.0, CI-enforced)
- Lint JS: `npm run lint`
- Format JS/CSS/JSON: Prettier (v2.6.2)
- Add Apache License headers to all new files (see `context/backend.md`)
## Do Not
- Edit files in `py/visdom/static/` — auto-built by CI
- Edit legacy Lua/Torch code in `th/`
- Commit secrets, credentials, or `COOKIE_SECRET`
- Push directly to `master`
- Skip pre-commit hooks (`--no-verify`)
## Pitfalls
- Handlers in `web_handlers.py` copy app attributes in `initialize()` — do not refactor to `self.app`
- Always decorate handler methods with `@check_auth` — omitting it creates an auth bypass
- Every socket feature must work in both WebSocket and polling modes
- Do not "fix" direct state mutation in `main.js` (`storeData.layout = layout`) — intentional
- `TextPane.js` uses `innerHTML` by design — do not expose server without auth
- Sanitize environment names via `escape_eid()`, verify paths stay within `env_path`
## Testing
- Python unit tests: `pytest -m "not server"` (config in `pyproject.toml`, suite in `py/tests/`)
- Fast loop: `pytest -m unit` — CI runs this as a gate, so mark every new file with a module-level
`pytestmark`; see `context/testing.md` for which marker and where the file goes
- Install browser once: `npx playwright install chromium`
- Run E2E tests: `npm test` and `npm run test:polling`
- Visual tests: `npm run test:init` then `npm run test:visual`
- Pre-commit: `pre-commit run --all-files`
## PR Checklist
- Branch from `master`; add `pytest` tests in `py/tests/` for Python code and Playwright tests for frontend behavior
- New test file: put it in `py/tests/unit/` or `py/tests/integration/`, and give it the matching
`pytestmark` — CI runs `-m unit` as a gate, so an unmarked file is in neither job
- Update `README` for API changes, `__init__.pyi` for interface changes
- Run linters, do not commit `py/visdom/static/`
## Ask Before
- Changing API endpoints, message protocol, or auth
- Adding Python or Node.js dependencies
- Large cross-component refactors
## Context & Skills
- `context/` — architecture, backend, frontend, testing
- `skills/` — adding-pane, websocket-flow, playwright-testing, release-processSignals
- Stars
- 10,328
- Forks
- 1,291
- Open issues
- 86
- Last commit (this folder)
- Sep 11, 2026 (1 month ago)
- Last release
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/fossasia/visdom
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · fossasia/visdom running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · fossasia/visdom. Agent Mart. https://agentmart.dev/templates/fossasia-visdom-agents-md (last updated 2026-10-24)