Build your first autonomous AI agent team in 10 minutes.
# Clone the repository git clone https://github.com/ampm-aiops/ampm-os.git cd ampm-os # Install dependencies pip install -r requirements.txt # Configure environment cp .env.example .env # Edit .env with your API keys
Create agents.yaml:
agents.yaml
agents: boss: name: "AMPM Boss" level: 5 role: "orchestrator" model: "gpt-4" qiyuan: name: "Qiyuan (Research)" level: 2 role: "researcher" model: "gpt-3.5-turbo" tools: - web_search - read_file jueze: name: "Jueze (Execute)" level: 4 role: "executor" model: "gpt-4" tools: - write_file - execute_code - deploy
from ampm import BossAgent, AgentRegistry # Load agent registry registry = AgentRegistry("agents.yaml") # Create boss agent boss = BossAgent( registry=registry, model="gpt-4" ) # Receive user goal goal = "Improve website SEO and increase traffic by 50% in 3 months" plan = boss.receive_goal(goal) print(f"Plan: {plan}")
# Boss automatically decomposes and assigns tasks boss.execute() # Monitor progress while not boss.is_complete(): status = boss.get_status() print(f"Progress: {status}") time.sleep(10) # Get final report report = boss.get_report() print(report)
# Verify agent checks completion verifier = registry.get_agent("verifier") verification = verifier.verify(boss.get_results()) if verification.passed: print("✅ All tasks completed successfully!") else: print(f"❌ Issues found: {verification.issues}")
Version: 0.1 (Initial)Last Updated: 2026-07-28Maintainer: 黑曜 (HeiYao)
AMPM Boss (總控 Agent / CEO) | -------------------------- | | | 啟淵 覺澤 黑曜 (Agent A) (Agent B) (協調/管理)
Description:類似公司的 CEO / 專案經理。負責理解 Howard 的目標,拆解成任務,分配給啟淵/覺澤,並監控執行品質。
Current State:
@cf/zai-org/glm-5.2
C:\Users\pop73\AppData\Local\hermes\profiles\qiyuan\config.yaml
Planned Role:
C:\Users\pop73\AppData\Local\hermes\profiles\jueze\config.yaml
Description:負責協調啟淵和覺澤的工作,確保任務按時完成,並向 Howard 回報進度。不直接執行開發或研究,而是管理和監控。
task_id: AMP-001 assigned_to: qiyuan priority: P0 objective: "研究競品 LangGraph 的優缺點" deliverables: - type: report format: markdown path: ~/ampm-os/reports/langgraph-analysis.md deadline: 2026-07-30 status: pending
task_id: AMP-001 agent: qiyuan status: in_progress progress: 60% blockers: [] eta: 2026-07-29
啟淵/覺澤目前是「空白」他們的角色定義需要明確寫入各自的 SOUL.md,而不是依賴預設 prompt。
SOUL.md
黑曜的角色定位不是「第三個 Agent」,而是「協調層」。未來可能被 AMPM Boss 取代。
模型選擇目前都用 glm-5.2(免費),未來可能需要根據任務複雜度切換模型。
記憶共享目前三個 Agent 的記憶是隔離的,未來需要建立共享機制。