Document System
Understand AgileBuilder's document system
Overview
AgileBuilder's document system lets you ingest team documentation and map it as resources in MCP for AI tools to query in real time. This means AI can generate code based on your team's standards instead of making things up.
Why a Document System
In the AI development era, teams typically face these challenges:
- AI-generated code doesn't follow team conventions
- Team agreements have to be repeated in every prompt
- AI doesn't know project-specific requirements
With the document system, you can:
- Document team standards
- Let AI query team standards in real time
- Ensure AI-generated code meets team standards
Document Ingestion
Ingest via Console
- Log in to AgileBuilder Console
- Go to the "Document Library" page
- Click "Add Document"
Document Formats
Supported formats:
| Format | Description |
|---|---|
| Markdown (.md) | Most commonly used format |
| Text (.txt) | Plain text |
| JSON (.json) | Structured data |
| YAML (.yaml) | Configuration files |
Document Structure
Recommended organization:
docs/
├── README.md # Document library index
├── coding-standards.md # Code standards
├── api-spec.md # API specifications
├── naming-conventions.md # Naming conventions
└── best-practices.md # Best practices
MCP Resource Mapping
Ingested documents automatically map to MCP resources for AI queries:
resource://agile-builder/docs/coding-standards
resource://agile-builder/docs/api-spec
resource://agile-builder/docs/naming-conventions
Using with AI
After configuring MCP, AI can query like this:
"Show me our code standards"
"Generate CRUD code according to the API spec"
"Check if this naming follows our conventions"
Document Tags
Add tags to documents for easier management and retrieval:
tags:
- code-standards
- frontend
- TypeScript
Recommended Common Tags
| Tag | Purpose |
|---|---|
code-standards | Code style, lint rules |
api-spec | API design, data formats |
naming-conventions | Naming rules for variables, functions, files |
best-practices | Experience summaries, optimal approaches |
architecture | System design, module organization |
Document Versioning
Documents support version control:
- Version history: Every edit is recorded
- Version rollback: Roll back to any previous version
- Version diff: Compare differences between versions
Team Sharing
Document Visibility
| Visibility | Description |
|---|---|
| Private | Only visible to you |
| Team | Visible to team members |
| Public | Visible to all users |
Document Review
Teams can set up document review workflows:
- Submit document changes
- Team members review
- Merge into the official version
Combining with Templates
Using the document system together with the template system yields the best results:
Template defines structure ──────→ Generate project skeleton
↓
Documents define standards ──────→ AI queries for execution
↓
Generate projects that conform to standards
Next Steps
- MCP Protocol Introduction - Learn about the MCP protocol
- AI Workflow - Configure AI to work according to team standards
- Team Collaboration Quick Start - Share documents across your team