Overview
Thelua resources command manages your agent’s knowledge base - documents and information that your agent can reference during conversations.
Non-Interactive Mode
Note: Creating and updating resources requires interactive mode due to the editor integration for writing long-form content.
Knowledge Base
Create documents for your agent to reference
Full CRUD
Create, read, update, and delete resources
Editor Integration
Write long-form content easily
Always Current
Update resources as info changes
What Are Resources?
Resources are documents that your agent can access and reference - think of them as your agent’s knowledge library. Examples:- Product catalogs and specifications
- Company policies and procedures
- FAQs and common questions
- Return/refund policies
- Shipping information
- Troubleshooting guides
- Company history and values
- Pricing information
Quick Start
1
Run Command
2
Create Resource
3
Write Content
Write your content in the editor:
4
Save
Save and close editor
Operations
Create New Resource
Update Existing Resource
View Resource
Delete Resource
Resource Best Practices
Structure Your Resources
- By Category
- By Function
- By User Journey
Content Guidelines
✅ Be Specific
✅ Be Specific
✅ Use Structure
✅ Use Structure
✅ Include Timestamps
✅ Include Timestamps
✅ Anticipate Questions
✅ Anticipate Questions
Use Cases
Product Knowledge Base
Policy Documentation
FAQ Repository
Integration with Agent
How Agents Use Resources
Automatically:- Searches when relevant
- Retrieves accurate information
- Provides consistent answers
- References specific resources
Combine with Persona
Common Workflows
Build Knowledge Base
Seasonal Update
Policy Change
Best Practices
Keep Current
Keep Current
- Update monthly minimum
- Review quarterly
- Archive old resources
- Track last update dates
Use Clear Names
Use Clear Names
Optimal Size
Optimal Size
- Good: 500-5000 characters
- Too small: < 100 characters
- Too large: > 50,000 characters
Test After Changes
Test After Changes
Troubleshooting
Agent not using resources
Agent not using resources
Solution: Update persona to reference resources
Editor won't open
Editor won't open
Solution: Set default editor
Content too long
Content too long
Solution: Split into multiple resourcesOne large doc → Multiple focused docs
Next Steps
Configure Persona
Define how agent uses resources
Test Your Agent
Verify agent references resources correctly

