Back to list
pluginagentmarketplace

ai-agent-basics

by pluginagentmarketplace

AI Agents Plugin Development

1🍴 0📅 Jan 5, 2026

SKILL.md


name: ai-agent-basics description: Master AI agent fundamentals - architectures, ReAct patterns, cognitive loops, and autonomous system design sasmp_version: "1.3.0" bonded_agent: 01-ai-agent-fundamentals bond_type: PRIMARY_BOND version: "2.0.0"

AI Agent Basics

Build production-grade AI agents with modern architectures and patterns.

When to Use This Skill

Invoke this skill when:

  • Designing new AI agent systems
  • Implementing ReAct or Plan-and-Execute patterns
  • Building autonomous task-solving agents
  • Integrating cognitive loops into applications

Parameter Schema

ParameterTypeRequiredDescriptionDefault
taskstringYesWhat agent capability to build-
architectureenumNosingle, multi, hybridsingle
frameworkenumNolangchain, langgraph, customlanggraph
complexityenumNobasic, intermediate, advancedintermediate

Quick Start

# Basic ReAct Agent
from langgraph.prebuilt import create_react_agent
from langchain_anthropic import ChatAnthropic

llm = ChatAnthropic(model="claude-sonnet-4-20250514")
agent = create_react_agent(llm, tools=[search, calculator])
result = await agent.ainvoke({"messages": [("user", "What is 25 * 4?")]})

Core Patterns

1. ReAct Agent

# Thought → Action → Observation loop
graph = StateGraph(AgentState)
graph.add_node("think", reason_node)
graph.add_node("act", action_node)
graph.add_node("observe", observation_node)

2. Plan-and-Execute

# Create plan → Execute steps → Verify
planner = create_planner(llm)
executor = create_executor(llm, tools)

3. Reflexion

# Execute → Reflect → Improve
agent_with_reflection = add_reflection_layer(base_agent)

Troubleshooting

IssueSolution
Agent loops foreverAdd max_iterations limit
Wrong tool selectedImprove tool descriptions
Context too largeImplement summarization
Slow responsesUse streaming

Best Practices

  • Start with simple single-agent before multi-agent
  • Always add circuit breakers (max iterations)
  • Use verbose mode for debugging
  • Implement human-in-the-loop for critical decisions
  • llm-integration - LLM API configuration
  • tool-calling - Function calling implementation
  • agent-memory - Memory systems

References

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon