Vision-Agents
CLAUDE.md8.1k starsChanged 13 months agoApache-2.0View on GitHub
Python monorepo managed with uv workspaces. The core framework lives in agents-core/ and plugins live in plugins/ (37+ packages). Python >= 3.10, 3.12 recommended. All commands use uv. Never use python -m. If you run into dependency issues, stop and ask. - ordered as: stdlib, third-party, local package, relative. Use TYPE_CHECKING guard for imports only needed by type annotations. - Never import from private modules (_foo) outside of the package's own __init__.py. Use the public re-export (e.g. from vision_agents.testing import…
- Reads credentials
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about GetStream/Vision-Agents
- huggingface/hub-docs“Vision Agents integration”GitHub · Jan 15, 2026 · 2 reactions
- A Hacker News story“Analysing Gemini and OpenAI performance for real-time sports feedback”Hacker News · Dec 31, 2025 · 2 points
- @tom-doerr.bsky.social“https://github.com/GetStream/Vision-Agents/”Bluesky · Dec 2, 2025 · 1 likes
- A Hacker News story“Show HN: Open-Source, a Vision Agents by Stream”Hacker News · Oct 11, 2025 · 1 points
- A Hacker News story“Vision Agents 0.1”Hacker News · Oct 10, 2025 · 1 points
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub, Hacker News and Bluesky (9 times).
On GitHub · 5
- Jan 15, 2026Vision Agents integration — huggingface/hub-docs2 reactions · 1 comment
- Sep 27, 2026agent-skills.github.getstream.vision-agents: init at 0.6.9 — sudosubin/agents.nix0 reactions
- May 13, 2026experiment: pre-warm Anam in parallel with agent.join() — GetStream/crashout-buddy0 reactions · 1 comment
- Feb 25, 2026Scaffold Next.js + shadcn/ui Vision Agents studio — HoneyPaptan/Vision-guidance0 reactions
- Oct 24, 2025Numpy — vogent/vogent-turn0 reactions · 2 comments
On Hacker News · 3
- Dec 31, 2025Analysing Gemini and OpenAI performance for real-time sports feedback2 points
- Oct 11, 2025Show HN: Open-Source, a Vision Agents by Stream1 point
- Oct 10, 2025Vision Agents 0.11 point · 1 comment
On Bluesky · 1
- Dec 2, 2025https://github.com/GetStream/Vision-Agents/ — @tom-doerr.bsky.social1 likes and repost
In this repository3 other files it gives its agents.
- .cursor/rules/python.mdcCursor rule
- commitSkill
- prSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
21 rules. About 0 are common, 11 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
All commands use uv. Never use python -m.
- Very specific: line 37
Keep unit-tests for the class under the same test class.
- Distinctive: line 38
ALWAYS test behavior, not calling a path.
- Distinctive: line 39
Use pytest.fixture for test setup, not helper methods
- Distinctive: line 40
NEVER observe method calls in tests.
- Very specific: line 45
Prefer specific exceptions if they are known.
- Very specific: line 46
Avoid getattr, hasattr, delattr, setattr.
- Very specific: line 48
Do not use section comments like # -- some section --
- Very specific: line 49
Prefer logger.exception() when logging an error with a traceback instead of logger.error("Error: {exc}")
- Distinctive: line 50
Do not use local imports, import at the top of the module
- Very specific: line 52
Avoid using Any type.
- Distinctive: line 53
When adding code to an existing file, follow the patterns already established in that file (e.g.
- Very specific: line 60
Never import from private modules (_foo) outside of the package's own __init__.py.
- Very specific: line 69
use them everywhere. Modern syntax: X | Y unions, dict[str, T] generics, full Callable signatures, Optional for nullable params.
- Very specific: line 85
Use asyncio.Lock, asyncio.Task, asyncio.gather for concurrency.
- Distinctive: line 95
Don't add error handling, logging, validation, comments, abstractions, config options, or "future-proofing" I didn't ask for.
- Distinctive: line 100
Do not remove valid comments when editing/refactoring code.
- Distinctive: line 109
When making multiple related changes to the same file, combine them into fewer Edit calls with enough surrounding context, rather than one …
- Distinctive: line 110
Run tests with Bash directly.
- Distinctive: line 111
Only use TodoWrite for tasks with 5+ steps.
- Distinctive: line 117
Only include user-facing changes (public API breaks, features, fixes).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md
Project overview
Python monorepo managed with uv workspaces.
The core framework lives in agents-core/ and plugins live in plugins/ (37+ packages).
Python >= 3.10, 3.12 recommended.
Commands
All commands use uv. Never use python -m. If you run into dependency issues, stop and ask.
# Full check (ruff + mypy + unit tests)
uv run --no-sync dev.py check
# Unit tests only (--no-sync avoids uv panic in sandboxed environments)
uv run --no-sync pytest -m "not integration"
# Integration tests (needs .env secrets)
uv run --no-sync pytest -m "integration"
# Lint & format
uv run --no-sync ruff check .
uv run --no-sync ruff format .
# Type check
uv run --no-sync mypyTesting
- Framework: pytest. Never mock.
@pytest.mark.asynciois not needed (asyncio_mode = auto).- Integration tests use
@pytest.mark.integration. - NEVER adjust
sys.path. - Keep unit-tests for the class under the same test class. Do not spread them around different test classes. For example, tests for
Agentmust be insideTestAgent, etc. - ALWAYS test behavior, not calling a path.
- Use pytest.fixture for test setup, not helper methods
- NEVER observe method calls in tests; assert on outputs and state.
Python rules
- Never use
from __future__ import annotations. - Prefer specific exceptions if they are known. If the exception type is not clear, it is ok to use
except Exception as e. - Avoid
getattr,hasattr,delattr,setattr; prefer normal attribute access. - Docstrings: Google style, keep them short.
- Do not use section comments like
# -- some section -- - Prefer
logger.exception()when logging an error with a traceback instead oflogger.error("Error: {exc}") - Do not use local imports, import at the top of the module
- Avoid
# type: ignorecomments. - Avoid using
Anytype. - When adding code to an existing file, follow the patterns already established in that file (e.g. error handling style, import guards, naming).
Code style
Imports:
- ordered as: stdlib, third-party, local package, relative. Use
TYPE_CHECKINGguard for imports only needed by type annotations. - Never import from private modules (
_foo) outside of the package's own__init__.py. Use the public re-export (e.g.from vision_agents.testing import TestResponse, notfrom vision_agents.testing._run_result import TestResponse).
Naming:
- private attributes and methods use a leading underscore (
_sessions,_warmup_agent). Public API is plain snake_case.
Type annotations:
- use them everywhere. Modern syntax:
X | Yunions,dict[str, T]generics, fullCallablesignatures,Optionalfor nullable params.
Logging:
module-level logger = logging.getLogger(__name__). Use debug for lifecycle, info for notable events, error for failures without a traceback,
exception for errors with traceback.
- In hot paths (audio processing, event handling), guard debug logging behind
if logger.isEnabledFor(logging.DEBUG):to avoid formatting overhead when debug is disabled.
Constructor validation:
- raise
ValueErrorwith a descriptive message for invalid args. Prefer custom domain exceptions over generic ones.
Async patterns:
- async-first lifecycle methods (
start/stop). Support__aenter__/__aexit__for context manager usage. - Use
asyncio.Lock,asyncio.Task,asyncio.gatherfor concurrency. - Clean up resources in
finallyblocks.
Method order:
__init__, public lifecycle methods, properties, public feature methods, private helpers, dunder methods.
Other
- Smallest possible diff. Prefer deleting code over adding it.
- Don't add error handling, logging, validation, comments, abstractions, config options, or "future-proofing" I didn't ask for.
- Match the style and abstraction level of surrounding code. Don't introduce new patterns or helpers unless asked.
- Fix root causes, not symptoms. No try/except to swallow bugs.
- Change only what I asked for. Don't refactor adjacent code — ask first.
- Do not remove valid comments when editing/refactoring code.
Plugins
- In every
plugins/*/pyproject.toml, the wheel target must bepackages = ["vision_agents"]. Listing"."pullstests/,README.md,example/, etc. into the published wheel. - Each plugin must keep
readme = "README.md"in[project]and aREADME.mdnext to itspyproject.tomlso PyPI renders a description page.
Token efficiency
- When making multiple related changes to the same file, combine them into fewer Edit calls with enough surrounding context, rather than one edit per change.
- Run tests with Bash directly. Only use subagents for test runs when you need to do other work in parallel.
- Only use TodoWrite for tasks with 5+ steps. Don't update it after every individual edit.
Changelog
- Lives in
CHANGELOG.mdat the repo root. - Organised by version heading (
# v0.4.0), then sections: Breaking Changes, New Features, Bug Fixes. - Only include user-facing changes (public API breaks, features, fixes). Skip docs-only and CI-only commits.
- Reference PR numbers inline, e.g.
(#374). - To generate:
git log <last-tag>..HEAD --oneline --no-merges, then classify each commit.
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.

