teams

teams is a cursor rule for Cursor from linhai0872/agno-agent-starter. It costs 0 tokens per session (445 once invoked), scanned A, original, MIT.

A Cursor rule for building teams of AI agents with the Agno framework. A team is a group of agents with different roles, such as researching and writing, that collaborate on one task.

In plain words
What is it for?
Defining team roles, shared configuration, database use, instructions, and registration in an Agno application. It includes a template for a research-and-writing team.
Why use it?
It helps choose between a single agent, a team, or a workflow based on how much collaboration and step control the task needs.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/linhai0872/agno-agent-starter/teams
Clone the repo
git clone --depth 1 https://github.com/linhai0872/agno-agent-starter

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for teams

README.md
[![agentmods](https://agentmods.dev/badge/rules/linhai0872/agno-agent-starter/teams.svg)](https://agentmods.dev/rules/linhai0872/agno-agent-starter/teams)
Your own site
<a href="https://agentmods.dev/rules/linhai0872/agno-agent-starter/teams"><img src="https://agentmods.dev/badge/rules/linhai0872/agno-agent-starter/teams.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00445
Opus 5 $0.00000 $0.00222
Sonnet 5 $0.00000 $0.00089
Haiku 4.5 $0.00000 $0.00044

Measured 5d ago against content hash 554e4bbb8fac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

teams scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/teams.mdc · 78 lines

What it actually says

Team 开发规范

何时使用

场景 推荐方案
单一任务,工具调用 Agent
多角色协作,共识决策 Team
严格步骤控制,条件分支 Workflow

目录结构

app/teams/
├── __init__.py       # 注册入口
└── my_team.py        # Team 实现

Team 模板

from agno.agent import Agent
from agno.db.postgres import PostgresDb
from agno.team import Team
from app.models import ModelConfig, ProjectConfig, create_model

PROJECT_CONFIG = ProjectConfig(api_key_env="MY_TEAM_KEY")
TEAM_MODEL_CONFIG = ModelConfig(
    model_id="google/gemini-2.5-flash-preview-09-2025",
    temperature=0.3,
)

def create_my_team(db: PostgresDb) -> Team:
    researcher = Agent(
        name="Researcher",
        role="Research information",
        model=create_model(TEAM_MODEL_CONFIG, PROJECT_CONFIG),
    )
    
    writer = Agent(
        name="Writer",
        role="Write content",
        model=create_model(TEAM_MODEL_CONFIG, PROJECT_CONFIG),
    )
    
    return Team(
        id="my-team",
        model=create_model(TEAM_MODEL_CONFIG, PROJECT_CONFIG),
        members=[researcher, writer],
        db=db,
        instructions=["First research, then write."],
        show_members_responses=True,
    )

注册

# app/teams/__init__.py
from app.teams.my_team import create_my_team
teams.append(create_my_team(db))

关键参数

参数 说明
id Team ID,kebab-case
model Leader 模型
members Agent 列表
delegate_to_all_members 并行委派所有成员
share_member_interactions 成员间共享交互历史
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 78 lines · 0 tokens per session scan A 554e4bbb8fac

Subscribe to this mod's changes

teams is a cursor rule published in the GitHub repository linhai0872/agno-agent-starter (6 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 445 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.