agent-contracts-tool-use-rag
Installation
SKILL.md
agent-contracts Tool Use / RAG
Use this skill when your nodes call external services (DB, search, HTTP APIs) or do retrieval-style work.
Core Ideas
- Declare dependencies in
NodeContract.services(andrequires_llmwhen needed). - Inject dependencies via:
- direct node construction (
node_cls(llm=..., my_service=...)), or dependency_providerinbuild_graph_from_registry(...).
- direct node construction (
- Keep LLM routing context small; rely on sanitization and
context_builderonly when needed.