Backend.AI Guide Skill
Purpose
This skill provides expert-level information about the Backend.AI platform by:
- Fetching official documentation from the Backend.AI GitHub repository
- Recursively exploring Major Components documentation links
- Following relevant links to gather comprehensive technical details
- Providing accurate, source-backed answers about Backend.AI architecture and features
When to Use
Activate this skill when the user asks about:
- Backend.AI platform overview or architecture
- Backend.AI components (Manager, Agent, Storage Proxy, Webserver, App Proxy)
- Backend.AI setup, requirements, or infrastructure
- Backend.AI APIs (REST, GraphQL)
- Backend.AI features (session scheduling, resource allocation, multi-tenancy)
- Backend.AI kernels, containers, or runtime elements
- How the WebUI connects to or interacts with Backend.AI backend
- Differences between Backend.AI components
Primary Documentation Sources
Main README: https://github.com/lablup/backend.ai/blob/main/README.md
- Overview and architecture
- Major Components section with component links
- Requirements and setup information
Major Component READMEs: Follow links from the Major Components section
- Manager component details
- Agent component details
- Storage Proxy details
- Webserver details
- App Proxy details
- And other components
Recursive Link Following: When a component README references additional documentation, follow those links to gather comprehensive information
Instructions
Step 1: Identify the Question Scope
- Determine what aspect of Backend.AI the user is asking about
- Identify which components or features are relevant
Step 2: Fetch the Main README
Step 3: Recursively Fetch Component Documentation
- For questions about specific components, fetch their individual READMEs
- Component README links are found in the "Major Components" section
- Example component paths (adjust based on actual links):
- Manager:
src/ai/backend/manager/README.md
- Agent:
src/ai/backend/agent/README.md
- Storage Proxy:
src/ai/backend/storage/README.md
- Webserver:
src/ai/backend/web/README.md
- App Proxy:
src/ai/backend/appproxy/README.md
Step 4: Follow Additional Links
- If component READMEs reference additional documentation, follow those links
- Common additional documentation types:
- Architecture diagrams
- API documentation
- Configuration guides
- Development guides
- Important: Only follow links that are relevant to answering the user's question
Step 5: Synthesize and Present Information
- Combine information from all fetched sources
- Structure the answer logically:
- Direct answer to the user's question
- Supporting details from official documentation
- Related component interactions (if applicable)
- Links to source documentation for further reading
- Use clear headings and formatting
- Include code examples or configuration snippets when relevant
Best Practices
Always Cite Sources
- Reference the specific documentation URLs you fetched
- Help users find more detailed information
Stay Current
- Fetch documentation fresh each time (don't rely on cached knowledge)
- Note version requirements (Python, Docker, PostgreSQL, etc.)
Explain Component Interactions
- Backend.AI is a distributed system - explain how components work together
- Clarify the relationship between WebUI (this project) and Backend.AI backend
Be Precise with Technical Details
- Include version numbers, requirements, and configuration details
- Distinguish between different API types (REST vs GraphQL)
Limit Recursion Depth
- Fetch main README + relevant component READMEs
- Only follow 1-2 additional link levels unless user needs deep details
- Balance thoroughness with response time
Example Question Types
Architecture Questions
- "How does Backend.AI work?"
- "What is the architecture of Backend.AI?"
- "What are the main components of Backend.AI?"
Component Questions
- "What does the Backend.AI Manager do?"
- "How does the Agent component work?"
- "What is the Storage Proxy?"
Integration Questions
- "How does this WebUI connect to Backend.AI?"
- "What APIs does Backend.AI expose?"
- "How do I authenticate with Backend.AI?"
Setup Questions
- "What are the requirements for Backend.AI?"
- "How do I set up Backend.AI?"
- "What infrastructure does Backend.AI need?"
Response Format
Structure answers as follows:
## [Direct Answer to Question]
[Concise, direct answer based on official documentation]
## Details
[Supporting information from fetched documentation]
### Component Interactions (if applicable)
[How different components work together]
## Technical Specifications (if applicable)
- Requirements: [versions, dependencies]
- Configuration: [relevant settings]
- APIs: [REST/GraphQL endpoints]
## Source Documentation
- Main: [URL to main README]
- Component: [URLs to component READMEs]
- Additional: [URLs to other relevant docs]
Notes
- Backend.AI is the backend platform that this WebUI project connects to
- This WebUI (backend.ai-webui) is a client application that uses Backend.AI's APIs
- When users ask about "the backend" in this project context, they likely mean Backend.AI
- Distinguish between WebUI code (this project) and Backend.AI platform code (separate repo)
Limitations
- This skill only fetches publicly available GitHub documentation
- For questions requiring internal documentation or specific deployment details, direct users to Backend.AI team
- Cannot access private repositories or non-public documentation
1---2name: backend-ai-guide3description: Backend.AI Guide Skill4---56# Backend.AI Guide Skill78## Purpose910This skill provides expert-level information about the Backend.AI platform by:1112- Fetching official documentation from the Backend.AI GitHub repository13- Recursively exploring Major Components documentation links14- Following relevant links to gather comprehensive technical details15- Providing accurate, source-backed answers about Backend.AI architecture and features1617## When to Use1819Activate this skill when the user asks about:2021- Backend.AI platform overview or architecture22- Backend.AI components (Manager, Agent, Storage Proxy, Webserver, App Proxy)23- Backend.AI setup, requirements, or infrastructure24- Backend.AI APIs (REST, GraphQL)25- Backend.AI features (session scheduling, resource allocation, multi-tenancy)26- Backend.AI kernels, containers, or runtime elements27- How the WebUI connects to or interacts with Backend.AI backend28- Differences between Backend.AI components2930## Primary Documentation Sources31321. **Main README**: https://github.com/lablup/backend.ai/blob/main/README.md3334 - Overview and architecture35 - Major Components section with component links36 - Requirements and setup information37382. **Major Component READMEs**: Follow links from the Major Components section3940 - Manager component details41 - Agent component details42 - Storage Proxy details43 - Webserver details44 - App Proxy details45 - And other components46473. **Recursive Link Following**: When a component README references additional documentation, follow those links to gather comprehensive information4849## Instructions5051### Step 1: Identify the Question Scope5253- Determine what aspect of Backend.AI the user is asking about54- Identify which components or features are relevant5556### Step 2: Fetch the Main README5758- Always start by fetching: https://github.com/lablup/backend.ai/blob/main/README.md59- Extract key information relevant to the question60- Identify links to Major Components that need to be explored6162### Step 3: Recursively Fetch Component Documentation6364- For questions about specific components, fetch their individual READMEs65- Component README links are found in the "Major Components" section66- Example component paths (adjust based on actual links):67 - Manager: `src/ai/backend/manager/README.md`68 - Agent: `src/ai/backend/agent/README.md`69 - Storage Proxy: `src/ai/backend/storage/README.md`70 - Webserver: `src/ai/backend/web/README.md`71 - App Proxy: `src/ai/backend/appproxy/README.md`7273### Step 4: Follow Additional Links7475- If component READMEs reference additional documentation, follow those links76- Common additional documentation types:77 - Architecture diagrams78 - API documentation79 - Configuration guides80 - Development guides81- **Important**: Only follow links that are relevant to answering the user's question8283### Step 5: Synthesize and Present Information8485- Combine information from all fetched sources86- Structure the answer logically:87 1. Direct answer to the user's question88 2. Supporting details from official documentation89 3. Related component interactions (if applicable)90 4. Links to source documentation for further reading91- Use clear headings and formatting92- Include code examples or configuration snippets when relevant9394## Best Practices95961. **Always Cite Sources**9798 - Reference the specific documentation URLs you fetched99 - Help users find more detailed information1001012. **Stay Current**102103 - Fetch documentation fresh each time (don't rely on cached knowledge)104 - Note version requirements (Python, Docker, PostgreSQL, etc.)1051063. **Explain Component Interactions**107108 - Backend.AI is a distributed system - explain how components work together109 - Clarify the relationship between WebUI (this project) and Backend.AI backend1101114. **Be Precise with Technical Details**112113 - Include version numbers, requirements, and configuration details114 - Distinguish between different API types (REST vs GraphQL)1151165. **Limit Recursion Depth**117 - Fetch main README + relevant component READMEs118 - Only follow 1-2 additional link levels unless user needs deep details119 - Balance thoroughness with response time120121## Example Question Types122123**Architecture Questions**124125- "How does Backend.AI work?"126- "What is the architecture of Backend.AI?"127- "What are the main components of Backend.AI?"128129**Component Questions**130131- "What does the Backend.AI Manager do?"132- "How does the Agent component work?"133- "What is the Storage Proxy?"134135**Integration Questions**136137- "How does this WebUI connect to Backend.AI?"138- "What APIs does Backend.AI expose?"139- "How do I authenticate with Backend.AI?"140141**Setup Questions**142143- "What are the requirements for Backend.AI?"144- "How do I set up Backend.AI?"145- "What infrastructure does Backend.AI need?"146147## Response Format148149Structure answers as follows:150151```markdown152## [Direct Answer to Question]153154[Concise, direct answer based on official documentation]155156## Details157158[Supporting information from fetched documentation]159160### Component Interactions (if applicable)161162[How different components work together]163164## Technical Specifications (if applicable)165166- Requirements: [versions, dependencies]167- Configuration: [relevant settings]168- APIs: [REST/GraphQL endpoints]169170## Source Documentation171172- Main: [URL to main README]173- Component: [URLs to component READMEs]174- Additional: [URLs to other relevant docs]175```176177## Notes178179- Backend.AI is the **backend platform** that this WebUI project connects to180- This WebUI (backend.ai-webui) is a **client application** that uses Backend.AI's APIs181- When users ask about "the backend" in this project context, they likely mean Backend.AI182- Distinguish between WebUI code (this project) and Backend.AI platform code (separate repo)183184## Limitations185186- This skill only fetches publicly available GitHub documentation187- For questions requiring internal documentation or specific deployment details, direct users to Backend.AI team188- Cannot access private repositories or non-public documentation