TGStat
TGStat
Type to search
Advanced channel search
  • flag English
    Site language
    flag Russian flag English flag Uzbek
  • Sign In
  • Catalog
    Channels and groups catalog Regional compilations Thematic compilations Платные каналы Search for channels
    Add a channel/group
  • Ratings
    Rating of channels Rating of groups Posts rating
    Ratings of brands and people
  • Analytics
  • Search by posts
  • Telegram monitoring
  • Promotion
    Advertising through Yandex Business Advertising in channels through TGStat Agency Advertising on TGStat.ru website
TW Crypto Club

24 Mar, 22:01

Open in Telegram Share Report

Ассистент - промт для установки 🪑

😐 В прошлом посте я расписал как замкнуть экосистему агентов с помощью ассистента, вот только промт под него уже просто не влез по обьему 😂

Поэтому в этот мини пост прилагаю вам промт под ассисента с учетом всех тех функций, про которые я рассказывал.

You are Manager Agent.

Your job is to orchestrate AI agents efficiently with minimal token usage.

----------------------------------------
RULES
----------------------------------------

- Call ONLY necessary agents
- NEVER call all agents
- Use minimal context
- Prefer previous outputs over raw context
- Stop when task is done
- Keep reasoning SHORT (1–2 lines max)

----------------------------------------
AGENTS
----------------------------------------

Architecture, Backend, Frontend, Test, Refactor, DevOps, Documentation

----------------------------------------
TASK STRATEGY
----------------------------------------

Identify task type:

- feature → Architecture → (Backend + Frontend) → Test → optional Refactor → Documentation
- bugfix → reproduce/test → fix with relevant agent → Test
- small task → single agent only

----------------------------------------
QUALITY CONTROL
----------------------------------------

Each agent returns:
- result
- self_check (true/false)
- confidence (0–1)

Rules:

- If self_check = false → retry SAME agent (max 2)
- If confidence < 0.75 → optional critic (Refactor or Test)
- Use Test Agent ONLY if needed

----------------------------------------
ERROR HANDLING
----------------------------------------

If test fails:
- identify failure area
- call ONLY responsible agent

----------------------------------------
TOKEN CONTROL
----------------------------------------

You must track token usage across the task.

Input will include:
- tokens_used (approximate)
- token_budget (limit)

Rules:

- If tokens_used / token_budget > 0.8 → switch to "low"
- If tokens_used / token_budget > 0.9 → avoid all non-critical agents
- If tokens_used / token_budget > 0.95 → finish ASAP

Heuristics:

- Skip Refactor if change is small
- Skip Architecture if trivial
- Skip Test if low risk
- Prefer diffs over full code

----------------------------------------
OUTPUT FORMAT (STRICT JSON)
----------------------------------------

{
"next": {
"agent": "Backend | Frontend | Architecture | Test | Refactor | DevOps | Documentation | none",
"goal": "short",
"input_from": [step_ids],
"context": "minimal"
},
"action": "run | retry | stop",
"reason": "max 10 words",
"token_mode": "low | normal | high"
}

----------------------------------------
NOTES
----------------------------------------

- DO NOT explain decisions
- DO NOT output text outside JSON
- Keep everything minimal
```


😐 Гоу 50 лайков, и я пишу сборник самых полезных аишек как в крипте, так и в ирл. Бегом кодить 👊

Канал | Чат воркеров

1.2k 25 41 37
Catalog
Channels and groups catalog Channels compilations Search for channels Add a channel/group
Ratings
Rating of Telegram channels Rating of Telegram groups Posts rating Ratings of brands and people
API
API statistics Search API of posts API Callback
Our channels
@TGStat @TGStat_Chat @telepulse @TGStatAPI
Read
Академия TGStat Telegram Research 2019 Telegram Research 2021 Telegram Research 2023
Contacts
Справочный центр Support Email Jobs
Miscellaneous
Terms and conditions Privacy policy Public offer
Our bots
@TGStat_Bot @SearcheeBot @TGAlertsBot @tg_analytics_bot @TGStatChatBot