AI Worker worker.md

BettaFish

微舆:人人可用的多Agent舆情分析助手,打破信息茧房,还原舆情原貌,预测未来走向,辅助决策!从0实现,不依赖任何框架。

Agent framework 40,156 stars Python GPL-2.0 Worker-compatible

Source#

  • Repository: 666ghj/BettaFish
  • Last source update: 2026-04-05
  • Last verified: 2026-04-05

Tags#

agent-frameworkdata-analysisdeep-researchdeep-searchllmsmulti-agent-system

Integration notes#

Framework-level abstraction; derive bounded worker contracts from concrete tasks and APIs in docs/examples.

worker.md example#

Starter worker.md contract mapped from this registry entry. Copy this file and adapt schemas, constraints, and statuses for your task.

---
id: bettafish-repo-derived-worker
name: BettaFish Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/bettafish/
source_repository: https://github.com/666ghj/BettaFish
repository_default_branch: main
repository_language: Python
repository_license: GPL-2.0
repository_updated_at: 2026-04-05
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-04-05
tags:
  - agent-framework
  - data-analysis
  - deep-research
  - deep-search
  - llms
  - multi-agent-system
---

# BettaFish Repo-Derived Worker

## Repo-derived summary
- Registry summary: 微舆:人人可用的多Agent舆情分析助手,打破信息茧房,还原舆情原貌,预测未来走向,辅助决策!从0实现,不依赖任何框架。
- Repository description: 微舆:人人可用的多Agent舆情分析助手,打破信息茧房,还原舆情原貌,预测未来走向,辅助决策!从0实现,不依赖任何框架。
- Stars (snapshot): 40,156
- Primary language: Python
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/666ghj/BettaFish
- https://github.com/666ghj/BettaFish/blob/main/README.md
- https://img.shields.io/github/stars/666ghj/BettaFish?style=flat-square
- https://img.shields.io/github/watchers/666ghj/BettaFish?style=flat-square
- https://img.shields.io/github/forks/666ghj/BettaFish?style=flat-square

## Evidence notes (from repository text)
- README summary paragraph: > [!IMPORTANT] > 查看我们最新发布的预测引擎:https://github.com/666ghj/MiroFish > > > > “数据分析三板斧”全线贯通:我们激动的宣布 MiroFish 正式发布!随着最后一块版图补齐,我们构建了从 BettaFish(数据收集与分析)到 MiroFish(全景预测)的完整链路。至此,从原始数据到智能决策的闭环已成,让预见未来成为可能!
- 2. **超越LLM的复合分析引擎**:我们不仅依赖设计的5类专业Agent,更融合了微调模型、统计模型等中间件。通过多模型协同工作,确保了分析结果的深度、准度与多维视角。
- 4. **Agent“论坛”协作机制**:为不同Agent赋予独特的工具集与思维模式,引入辩论主持人模型,通过“论坛”机制进行链式思维碰撞与辩论。这不仅避免了单一模型的思维局限与交流导致的同质化,更催生出更高质量的集体智能与决策支持。
- > 举个例子. 你只需简单修改Agent工具集的api参数与prompt,就可以把他变成一个金融领域的市场分析系统
- **Insight Agent** 私有数据库挖掘:私有舆情数据库深度分析AI代理
- | 2 | 并行启动 | 三个Agent同时开始工作 | Query Agent、Media Agent、Insight Agent | - |

## Installation hints found in README
- `pip install -r requirements.txt`
- `uv pip install -r requirements.txt`

## worker.md contract (derived starter)
Purpose: Execute one orchestrated agent task as a bounded worker step.

### Input schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "task",
    "context"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "task": {
      "type": "string"
    },
    "context": {
      "type": "object"
    }
  }
}
```

### Output schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "status",
    "result"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "retryable_error",
        "invalid_request",
        "invalid_output"
      ]
    },
    "result": {
      "type": "object"
    }
  }
}
```

### Constraints
- timeout_seconds: 30
- max_attempts: 2
- idempotency_key: run_id
- status_enum: [ok, retryable_error, invalid_request, invalid_output]
- notes: adapt to concrete APIs/classes documented in this repository before production use

## How this should be used
1. Treat this file as a repo-derived starter profile, not a claim of an official repository API contract.
2. Replace schemas with exact interfaces from code/docs you adopt.
3. Keep execution bounded and auditable using worker protocol constraints.

How to use#

  • Save this as a worker spec file (for example: bettafish-my-task.worker.md).
  • Replace the input/output schemas and purpose with your real bounded task.
  • Enforce schema validation + timeout + retry policy in your runtime before production use.

Citation#

Reference URL: https://worker.md/registry/bettafish/

Source URL: https://github.com/666ghj/BettaFish