mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 17:47:16 +00:00
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 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.
This commit is contained in:
60
tools/langchain-agent.md
Normal file
60
tools/langchain-agent.md
Normal file
@@ -0,0 +1,60 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user