← スキル一覧に戻る

agent-foundations
by abhishekmmgn
agent skills
⭐ 0🍴 0📅 2026年1月20日
SKILL.md
name: agent-foundations description: core cognitive architectures for Gemini agents. Use this to implement reasoning loops (ReAct, Chain-of-Thought) and understand the orchestration layer.
Gemini Agent Foundations
Goal
Design the "Orchestration Layer"—the cognitive loop that enables an agent to plan, execute, and adapt its actions to achieve a goal.
Cognitive Architectures
1. The ReAct Loop (Reason + Act)
- Concept: A cyclic process where the model alternates between internal reasoning and external action.
- The Loop:
- Thought: The agent analyzes the user's request and plans the next step.
- Action: The agent selects a tool (e.g.,
Flights) to execute. - Action Input: The agent generates the specific parameters for that tool.
- Observation: The agent receives the output from the tool.
- Repeat: The loop continues until the agent determines it has enough info to answer.
- Prompt Structure:
Question: [User Input] Thought: I need to check the flight status first. Action: check_flight_status Action Input: {"flight_number": "UA123"} Observation: [Tool Output] Thought: The flight is delayed. I should check connecting flights. ... Final Answer: Your flight is delayed.
2. Chain-of-Thought (CoT)
- Concept: A linear reasoning path best suited for complex logic or math problems where no external tools are needed. It enables reasoning capabilities through intermediate steps.
- Usage: Use when the task requires intermediate reasoning steps but is self-contained within the model's training data.
3. Tree-of-Thoughts (ToT)
- Concept: A branching reasoning strategy for exploration or strategic lookahead tasks. It generalizes CoT and allows the model to explore various thought chains.
- Usage: Best for scenarios with multiple potential solutions, allowing the agent to backtrack and explore different "thought branches."
Agent vs. Model
- Model: Knowledge is limited to training data; single inference based on user query; no native tool implementation.
- Agent: Knowledge extended through tools; managed session history for multi-turn inference; native cognitive architecture using reasoning frameworks.
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です