agently-knowledge-base-and-rag
SKILL.md
Agently Knowledge Base And RAG
This skill covers Agently's current knowledge-base and RAG path built around agently.integrations.chromadb. It focuses on embedding-agent-backed indexing, Chroma collection usage, retrieval, and the common pattern of injecting retrieval results into a normal request. It does not attempt to document generic vector-database strategy outside Agently's current Chroma integration surface.
Prerequisite: Agently >= 4.0.8.5.
Scope
Use this skill for:
ChromaCollection- embedding-agent-backed indexing
add(...),query(...), andquery_embeddings(...)- query results injected through
info(...) - lower-level
ChromaDataorChromaEmbeddingFunction - process-level reuse of one knowledge base across many requests
Do not use this skill for:
- plain embeddings requests without a knowledge base
- generic vector-database choices outside the current Chroma integration
- TriggerFlow workflow orchestration as the main problem
- service architecture as the main problem
Workflow
- Start with references/chromacollection-basics.md when building or querying a collection.
- Read references/retrieval-to-answer.md when turning retrieval results into a normal answer flow.
- Read references/process-lifecycle.md when the real-world issue is build-once reuse or long-lived service behavior.
- Read references/chromadata-and-embedding-function.md when integrating with a lower-level Chroma client or precomputed data objects.
- If the task is only about embedding vectors, switch to
agently-embeddings. - If the task becomes flow orchestration or long-running agent loops, switch to
agently-triggerflow-playbook. - If behavior still looks wrong, use references/troubleshooting.md.
Core Mental Model
Agently's current knowledge-base pattern is:
- build or connect a Chroma collection
- use an embedding agent to index documents
- query the collection with a user question
- inject retrieval results into a normal agent request
- answer with retrieval context
The retrieval layer and the answer layer are separate on purpose.
Selection Rules
- just need embeddings ->
agently-embeddings - need a retrievable document collection ->
ChromaCollection - need lower-level Chroma integration objects ->
ChromaDataorChromaEmbeddingFunction - retrieval results should guide a normal answer request -> query then inject through
info(...) - knowledge base should be reused across turns or requests -> build once and keep the collection outside the request loop
Important Boundaries
- this skill documents Agently's current Chroma-backed KB/RAG path, not generic vector-database architecture
- retrieval should stay separate from final answering so the answer request can still use normal Agently prompt and output control
- process-level reuse matters in real services; avoid rebuilding the whole collection on every turn when the corpus is stable
References
references/source-map.mdreferences/chromacollection-basics.mdreferences/retrieval-to-answer.mdreferences/process-lifecycle.mdreferences/chromadata-and-embedding-function.mdreferences/troubleshooting.md
Weekly Installs
1
Repository
agentera/agently-skillsGitHub Stars
4
First Seen
8 days ago
Security Audits
Installed on
mcpjam1
claude-code1
replit1
junie1
windsurf1
zencoder1