Logo Analog Evolve

Analog Evolve

Cộng đồng
Arcadia-1
analog-evolve

Công cụ tự tiến hóa cho analog-agents. Rà soát các phiên thiết kế đã hoàn tất để đúc kết bài học, phát hiện các anti-pattern mới, đề xuất bổ sung vào danh sách kiểm tra và tinh chỉnh prompt của tác nhân. Chạy sau khi thiết kế hội tụ hoặc dự án hoàn tất. KÍCH HOẠT khi người dùng nói: «tiến hóa», «chúng ta đã học được gì», «cải thiện kỹ năng», «đánh giá meta», «tự cải thiện» hoặc tự động khi kết thúc analog-pipeline.

Add to TypingMind

Tổng quan

Nhà phát hànhArcadia-1
Kho mãanalog-agents
Tên kỹ nănganalog-evolve
Sao
84
Bản fork
19
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Arcadia-1 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Analog Evolve trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Arcadia-1/analog-agents/tree/main/skills/analog-evolve
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Arcadia-1/analog-agents.git /tmp/analog-agents
mkdir -p .claude/skills
cp -r /tmp/analog-agents/skills/analog-evolve .claude/skills/analog-evolve
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Analog Evolve trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Analog Evolve ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Analog Evolve với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

analog-evolve

Self-evolution engine. Reviews completed design sessions and improves analog-agents' knowledge base, checklists, and prompts.

Inspired by the principle: every design session should make the next one smarter.

When to Use

  • After a sub-block converges (auto-suggested by analog-pipeline)
  • After a project completes
  • After a design fails and is abandoned (failure teaches more than success)
  • Manually: /analog-evolve review to review the current session

Evolution Dimensions

1. Wiki Enrichment — "What did we learn?"

Review iteration-log.yml and the design trajectory. For each sub-block:

Extract lessons automatically:

  • Parameter changes that fixed a failing spec → candidate strategy entry

    • "Increasing L from 60n to 120n on mirror M3/M4 fixed the 15% current mismatch"
    • → wiki/strategies/longer-l-for-mirror-matching.yml
  • Corner surprises (spec passed at TT, failed at SS/FF) → candidate corner-lesson

    • "Comparator offset 3x worse at SS/125C vs TT/27C"
    • → wiki/corner-lessons/ss-corner-offset-blowup.yml
  • Design traps encountered during iteration → candidate anti-pattern

    • "CMFB on lower cascode device gave weak CM loop gain"
    • → wiki/anti-patterns/cmfb-on-lower-cascode.yml
  • Successful topology + sizing for a block type → candidate block-case

    • Archive the converged design as a reference case

Confidence escalation:

  • New entries start as confidence: unverified
  • If a similar lesson is discovered in a second project, escalate to verified
  • If a lesson contradicts a later finding, add contradicts edge

Process:

  1. Read iteration-log.yml (full trajectory)
  2. Read all verifier-reports/ (what failed, what passed, what was marginal)
  3. Read circuit/rationale.md (designer's reasoning)
  4. Read cross-model review reports (if any)
  5. For each potential entry: a. Check if a similar entry already exists in wiki (search by tags) b. If exists: update with new evidence, escalate confidence, add validated edge c. If new: create entry with confidence: unverified, add derived_from edge to project
  6. Present proposed entries to user for approval before writing

2. Checklist Evolution — "What should we check next time?"

Analyze the design session for issues that SHOULD have been caught by a checklist but weren't:

Detection patterns:

  • Verifier pre-sim rejection that doesn't match any existing checklist item → propose new checklist entry
  • Issue discovered only after 2+ iterations that could have been caught structurally → propose new checklist entry with effort: lite
  • Cross-model reviewer flagged a risk not in any checklist → propose new checklist entry

Process:

  1. Read all verifier rejection reports
  2. For each rejection, check if it matches an existing checklist entry
  3. Unmatched rejections → draft new checklist entries with full 7-field schema
  4. Read cross-model review reports for topology risks flagged
  5. Cross-check against checklists/*.yml
  6. Present proposed entries to user, specify which checklist file they belong in

Example output:

markdown
## Proposed Checklist Addition

**File:** checklists/folded-cascode.yml

```yaml
cmfb_control_device_sizing:
  description: "CMFB-controlled device must be wide enough for regulation authority"
  method: semantic
  severity: warn
  effort: standard
  auto_checkable: false
  references: [anti-003]
  how: >
    The CMFB-controlled device (usually upper PMOS in cascode load) acts as
    a variable current source. Its gate is set by the CMFB loop, not by fixed
    bias. Size it wide enough that CMFB can regulate across the full output CM
    range. Applying a fixed gm/Id target (e.g., gm/Id=10) can make it too
    narrow, starving load current and collapsing output CM.

Reason: This issue caused 2 extra iterations on the OTA sub-block. The verifier rejected the netlist twice for output CM stuck at rail, which was traced to undersized M7 (CMFB-controlled PMOS).


### 3. Prompt Refinement — "How should we instruct better?"

Analyze failure patterns across sessions to identify where agent prompts
could be improved:

**Detection patterns:**
- Designer repeatedly makes the same sizing mistake across projects
  → add a warning to `prompts/designer-prompt.md`
- Architect consistently underestimates noise budget
  → add a calibration note to `prompts/architect-prompt.md`
- Verifier misses a class of testbench errors
  → add to verifier's pre-sim review checklist in `prompts/verifier-prompt.md`

**Process:**
1. Review the session's failure trajectory
2. Identify root causes: was it a sizing error? testbench error? architecture error?
3. For each root cause, check if the relevant prompt already warns about it
4. If not: draft a specific addition to the prompt (exact text, exact location)
5. Present proposed prompt changes to user for approval

**Important:** prompt changes are PROPOSED, never auto-applied. The user
reviews and merges. This prevents prompt drift from accumulating noise.

### 4. Design Memory — "Remember this user's preferences"

Track user-specific design preferences that should persist across sessions:

- Preferred topologies ("always try folded cascode first for OTAs")
- Process-specific tricks ("in 28nm, use ulvt for input pair, lvt for everything else")
- Naming conventions ("use net_vbp for PMOS bias, net_vbn for NMOS bias")
- Effort preferences ("always use intensive for comparators")
- Review preferences ("skip qwen, it gives too many false positives on this process")

Storage: `wiki/user-preferences.yml` (gitignored with projects/)

```yaml
# user-preferences.yml — auto-discovered, user-confirmed
preferences:
  - category: topology
    rule: "Prefer folded cascode for single-stage OTA"
    discovered: 2026-04-16
    confirmed: true

  - category: process
    rule: "28nm: ulvt for input pair, lvt for mirrors and cascodes"
    discovered: 2026-04-16
    confirmed: true

  - category: effort
    rule: "Always use intensive effort for comparator blocks"
    discovered: 2026-04-16
    confirmed: false  # proposed, not yet confirmed

Subcommands

CommandDescription
/analog-evolve reviewReview current session, propose all improvements
/analog-evolve wikiWiki enrichment only
/analog-evolve checklistChecklist evolution only
/analog-evolve promptsPrompt refinement only
/analog-evolve preferencesExtract user preferences only
/analog-evolve statusShow evolution history (what was proposed, accepted, rejected)

Integration with Pipeline

analog-pipeline auto-triggers /analog-evolve review at two points:

  1. After each sub-block converges (lightweight: wiki + checklist only)
  2. After project completion (full: all 4 dimensions)

Effort interaction:

EffortEvolution behavior
liteSkipped
standardWiki enrichment only (lessons + anti-patterns)
intensiveWiki + checklist evolution
exhaustiveAll 4 dimensions + full narrative

Tool Backend

All evolution analysis is powered by tools/evolve_engine.py:

SubcommandTool invocation
/analog-evolve reviewpython3 tools/evolve_engine.py review --project-dir . --wiki-dir wiki --checklists-dir checklists
/analog-evolve wikipython3 tools/evolve_engine.py wiki --project-dir . --wiki-dir wiki
/analog-evolve checklistpython3 tools/evolve_engine.py checklist --project-dir . --checklists-dir checklists
/analog-evolve preferencespython3 tools/evolve_engine.py preferences --project-dir . --wiki-dir wiki
/analog-evolve statuspython3 tools/evolve_engine.py status --wiki-dir wiki

The tool reads design artifacts (iteration-log.yml, verifier-reports/, rationale.md), analyzes patterns, and outputs proposals in markdown. The skill (this SKILL.md) provides the context and judgment for interpreting proposals and deciding what to accept.

Principles

  1. Propose, never auto-apply. All changes are presented to the user first. The only exception is confidence escalation on existing wiki entries (low-risk, evidence-based).

  2. Evidence-based. Every proposal includes the specific design event that triggered it (iteration number, failing spec, measured value).

  3. Convergent, not divergent. Evolution should make the system more precise, not more verbose. If a checklist already has 20 items for a topology, think twice before adding a 21st. Merge or refine existing items instead.

  4. Failure teaches more than success. Pay more attention to failed iterations, abandoned designs, and escalation events than to smooth convergence.

  5. Cross-session learning. When /analog-wiki consult returns entries with confidence: unverified, the current session's results can validate or invalidate them. This is how single-project observations become verified knowledge.

Câu hỏi thường gặp

Kỹ năng AI Analog Evolve làm được gì?

Công cụ tự tiến hóa cho analog-agents. Rà soát các phiên thiết kế đã hoàn tất để đúc kết bài học, phát hiện các anti-pattern mới, đề xuất bổ sung vào danh sách kiểm tra và tinh chỉnh prompt của tác nhân. Chạy sau khi thiết kế hội tụ hoặc dự án hoàn tất. KÍCH HOẠT khi người dùng nói: «tiến hóa», «chúng ta đã học được gì», «cải thiện kỹ năng», «đánh giá meta», «tự cải thiện» hoặc tự động khi kết thúc analog-pipeline.

Vì sao nên dùng Analog Evolve trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Analog Evolve là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Analog Evolve trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Arcadia-1/analog-agents/tree/main/skills/analog-evolve. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Analog Evolve?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Analog Evolve với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Analog Evolve với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Analog Evolve có miễn phí không?

Kỹ năng này được Arcadia-1 phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇