mirror of
https://github.com/coleam00/context-engineering-intro.git
synced 2025-12-17 17:55:29 +00:00
Final updates to global rules for the AI agent factory
This commit is contained in:
parent
8d9f46ecfa
commit
9f9f23efd4
@ -20,7 +20,8 @@
|
|||||||
"Bash(gh issue view:*)",
|
"Bash(gh issue view:*)",
|
||||||
"mcp__archon",
|
"mcp__archon",
|
||||||
"WebSearch",
|
"WebSearch",
|
||||||
"Bash(cp:*)"
|
"Bash(cp:*)",
|
||||||
|
"Bash(sed:*)"
|
||||||
],
|
],
|
||||||
"deny": []
|
"deny": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,3 +8,4 @@ asana_manager
|
|||||||
brave_search_agent
|
brave_search_agent
|
||||||
pgvector_search_agent
|
pgvector_search_agent
|
||||||
test_rag_agent
|
test_rag_agent
|
||||||
|
hybrid_search_agent
|
||||||
@ -551,7 +551,7 @@ Build a library of common patterns:
|
|||||||
- ✅ Document everything
|
- ✅ Document everything
|
||||||
- ✅ Validate against requirements
|
- ✅ Validate against requirements
|
||||||
|
|
||||||
### NEVER:
|
### Anti-patterns to ALWAYS avoid:
|
||||||
- ❌ Hardcode API keys or secrets
|
- ❌ Hardcode API keys or secrets
|
||||||
- ❌ Skip testing phase
|
- ❌ Skip testing phase
|
||||||
- ❌ Ignore error handling
|
- ❌ Ignore error handling
|
||||||
|
|||||||
1
use-cases/agent-factory-with-subagents/SAMPLE_PROMPT.md
Normal file
1
use-cases/agent-factory-with-subagents/SAMPLE_PROMPT.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
I want to build a Pydantic AI agent that has the ability to perform semantic similarity search with PGVector and hybrid search. You'll need to copy over (with the cp command, you have to actually copy over everything and keep the same folder structure) everything in examples/rag_pipeline because the RAG pipeline is already set up. Look at sql/schema.sql to understand the database structure and the functions for regular and hybrid search. You'll want to use asyncpg to create the database connection and have an environment variable in .env.example for the DATABASE_URL. Build a nice CLI for the agent as well like we have in main_agent_reference. Use Archon for the Pydantic AI documentation + main_agent_reference to guide your implementation. Keep the agent simple - minimal tools, a single LLM determined by an environment variable you put in .env.example, include just the functionality that is crucial for the agent to be powerful but concise.
|
||||||
Loading…
x
Reference in New Issue
Block a user