Files
agents/tools/langchain-agent.md
Seth Hobson ce7a5938c1 Consolidate workflows and tools from commands repository
Repository Restructure:
- Move all 83 agent .md files to agents/ subdirectory
- Add 15 workflow orchestrators from commands repo to workflows/
- Add 42 development tools from commands repo to tools/
- Update README for unified repository structure

This prepares the repository for unified plugin marketplace integration.
The commands repository functionality is now fully integrated, providing
complete workflow orchestration and development tooling alongside agents.

Directory Structure:
- agents/    - 83 specialized AI agents
- workflows/ - 15 multi-agent orchestration commands
- tools/     - 42 focused development utilities

No breaking changes to agent functionality - all agents remain accessible
with same names and behavior. Adds workflow and tool commands for enhanced
multi-agent coordination capabilities.
2025-10-08 08:25:17 -04:00

1.4 KiB

model
model
claude-sonnet-4-0

LangChain/LangGraph Agent Scaffold

Create a production-ready LangChain/LangGraph agent for: $ARGUMENTS

Implement a complete agent system including:

  1. Agent Architecture:

    • LangGraph state machine
    • Tool selection logic
    • Memory management
    • Context window optimization
    • Multi-agent coordination
  2. Tool Implementation:

    • Custom tool creation
    • Tool validation
    • Error handling in tools
    • Tool composition
    • Async tool execution
  3. Memory Systems:

    • Short-term memory
    • Long-term storage (vector DB)
    • Conversation summarization
    • Entity tracking
    • Memory retrieval strategies
  4. Prompt Engineering:

    • System prompts
    • Few-shot examples
    • Chain-of-thought reasoning
    • Output formatting
    • Prompt templates
  5. RAG Integration:

    • Document loading pipeline
    • Chunking strategies
    • Embedding generation
    • Vector store setup
    • Retrieval optimization
  6. Production Features:

    • Streaming responses
    • Token counting
    • Cost tracking
    • Rate limiting
    • Fallback strategies
  7. Observability:

    • LangSmith integration
    • Custom callbacks
    • Performance metrics
    • Decision tracking
    • Debug mode

Include error handling, testing strategies, and deployment considerations. Use the latest LangChain/LangGraph best practices.