Logo Agentica

Agentica

Cộng đồng
shibing624
agentica

How to answer questions about the agentica product you are running inside — CLI flags, config.yaml profiles, API keys, models, sessions, resume, workspace, AGENTS.md standing rules, skills, logs, upgrade, and self_manage. Use when asked how agentica works, how to configure or upgrade it, where state lives on disk, where to write "remember: always X", or how to change your own settings.

Tổng quan

Nhà phát hànhshibing624
Kho mãagentica
Tên kỹ năngagentica
Sao
357
Bản fork
48
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
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 shibing624 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 Agentica 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/shibing624/agentica/tree/main/agentica/skills/bundled/agentica
  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/shibing624/agentica.git /tmp/agentica
mkdir -p .claude/skills
cp -r /tmp/agentica/agentica/skills/bundled/agentica .claude/skills/agentica
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 Agentica 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 Agentica 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 Agentica 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.

Driving agentica

You are almost certainly running inside an agentica CLI session right now. This skill tells you where to look things up, not what the answers are: flags, commands and tool names change with every release, so anything written down here would start lying within weeks.

Rule 1: look it up, do not recall

Three live sources, in the order you should reach for them:

QuestionSourceHow you read it
What can the command line do?agentica --helpexecute
How is this machine configured?your own configself_manage(action="show")
What is on disk, exactly?~/.agentica/config.yamlread_file
What is this session doing?slash commandsask the user to type it

agentica --help is generated from the parser, so it is never out of date. It is the authoritative answer for every flag, every subcommand and every value an option accepts. Read it before answering any "can agentica ...?" question.

Rule 2: you cannot type slash commands

/help, /status, /model, /tools, /skills, /resume, /permissions and the rest are handled by the CLI's input loop, before anything reaches you. A slash command in your reply is just text, and a slash command inside a peer message is just text too.

When the answer lives behind one, say which one the user should type. /help lists all of them and is the source of truth for what exists.

The map

Everything agentica keeps is under ~/.agentica (or $AGENTICA_HOME):

PathWhat it holds
config.yamlnamed profiles + active_profile; the file is hand-editable and comments survive writes
.envhand-maintained keys, loaded in addition to config.yaml
logs/one log per CLI process; often the fastest way to see what another session actually did
workspace/long-term memory; standing rules in users/<id>/AGENTS.md (see below)
skills/user-installed skills, one directory per skill with a SKILL.md
projects/session transcripts as JSONL, partitioned per working directory
cache/peers/the live-session directory and mailboxes behind list_agents / send_message

Read these files directly when you need a fact about the current setup. Never print an API key you read from them, and never write a key into a command line.

Config concepts that do not change

  • Profiles. config.yaml holds several named profiles; active_profile picks one. A profile carries provider, model, base URL, key, and optional tuning. Switching profiles switches all of it at once.
  • Precedence. Shell environment beats .env, which beats config.yaml. A variable already set in the environment is never overwritten.
  • Main and auxiliary model. The main model answers the user. The auxiliary model is the cheap one used for background work nobody is waiting on: memory extraction, context compression, and the task subagent. A profile that omits the auxiliary block reuses the main model for both.
  • Permission tiers. Tool access runs in one of three modes. The user can change it mid-session, so never assume the tier you started with is still in force; if a tool is refused, that is the answer, not a bug to work around.

Changing yourself

Reading is files; changing is the self_manage tool. It edits config.yaml and .env, reports and installs upgrades, and installs skills. Its own schema lists the actions and is in front of you every turn, so it — not this page — is where you look up what to pass.

  • Do not hand-edit config.yaml or invent a pip command. Writing the file yourself loses the comment-preserving round trip; running pip install -U through execute skips the version check and the restart notice.
  • Keys never touch a command line, a log, or your reply. set_config and set_env take them as arguments; show masks them on the way back.
  • upgrade needs confirm=True and installs a new version. Say what changes before asking for that confirmation, and afterwards tell the user to restart the CLI — the running process keeps the old code.
  • Config edits land in the file immediately; the live session does not change. A new model or tuning value applies on the next agent rebuild or restart, so say so rather than implying the switch already happened.
  • /config and /upgrade are the human's version of this tool. Point the user at them when they want to drive; use the tool when you are the one doing it.

Standing rules: AGENTS.md (not self_manage)

When the user says "remember: always X" / "from now on ..." / "never ...", that is a standing instruction, not a config.yaml field and not a save_memory fact. There is no dedicated tool: append a line with apply_patch (or write_file if the file is missing).

ScopeFileWho sees it
This user, every project~/.agentica/workspace/users/<user_id>/AGENTS.md (CLI is default, so ~/.agentica/AGENTS.md is also a symlink to .../users/default/AGENTS.md)every later session of this user
This repository only<repo root>/AGENTS.mdsessions started anywhere under that repo; the user may commit it

The path of every file already in the system prompt appears as <!-- /abs/path --> above it — reuse that path, do not guess. There is no workspace-root ~/.agentica/workspace/AGENTS.md. User rules live under users/<id>/AGENTS.md; for the default CLI user only, ~/.agentica/AGENTS.md is a compatibility symlink to that same file.

This session: the user's request (and your write) are already in the conversation history, so follow the rule for the rest of the turn/session without waiting for the system prompt to change. Next session: the AGENTS.md chain is read once at session start into the system prompt, so the new line is there automatically.

Facts ("I am a data scientist", "the deploy target is X") still go to save_memory. The MEMORY.md index (title + hook) is in the system prompt; read the topic file or call search_memory for the body.

Answering well

State which source you checked. "Per agentica --help on this machine" is worth more than a confident paragraph, because the user's installed version is the only version that matters. If --help and your memory disagree, --help is right and your memory is stale.

For running more than one agentica at a time, or getting two sessions to talk, use the multi-agent skill instead. Isolating this session in a git worktree of the current repo is the worktree skill. Scheduling unattended jobs is the cron skill (the cronjob tool).

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

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

How to answer questions about the agentica product you are running inside — CLI flags, config.yaml profiles, API keys, models, sessions, resume, workspace, AGENTS.md standing rules, skills, logs, upgrade, and self_manage. Use when asked how agentica works, how to configure or upgrade it, where state lives on disk, where to write "remember: always X", or how to change your own settings.

Vì sao nên dùng Agentica 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. Agentica 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 Agentica trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/shibing624/agentica/tree/main/agentica/skills/bundled/agentica. 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 Agentica?

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 Agentica 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 Agentica 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 Agentica có miễn phí không?

Có. Kỹ năng này được shibing624 phát hành trên GitHub theo giấy phép Apache-2.0. 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 👇