Skip to content

Commit 2b70ef4

Browse files
Merge pull request #169 from BrainBlend-AI/feature/docs-improvements
docs: replace single llms.txt with modular generation system
2 parents a03d0e4 + 83ea634 commit 2b70ef4

File tree

6 files changed

+327
-42
lines changed

6 files changed

+327
-42
lines changed

β€Ž.github/workflows/docs.ymlβ€Ž

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,15 @@ jobs:
4242
poetry run make singlehtml
4343
poetry run make html
4444
45-
- name: Generate llms.txt
45+
- name: Generate all llms.txt files
4646
run: |
47-
poetry run python scripts/generate_llms_txt.py
47+
poetry run python scripts/generate_llms_files.py
48+
49+
- name: Copy llms files to build directory
50+
run: |
51+
cp docs/llms-*.txt docs/_build/html/
52+
echo "Generated llms files:"
53+
ls -lh docs/_build/html/llms-*.txt
4854
4955
- name: Upload artifact
5056
uses: actions/upload-pages-artifact@v3

β€Ž.gitignoreβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ instance/
7878

7979
# Sphinx documentation
8080
docs/_build/
81+
docs/llms-*.txt
82+
docs/llms.txt
83+
docs/examples/source/
8184

8285
# PyBuilder
8386
target/
@@ -150,4 +153,5 @@ debug.log
150153
# AI tools
151154
.claude
152155
CLAUDE.md
156+
CLAUDE.local.md
153157
.serena

β€Ždocs/examples/index.mdβ€Ž

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
This section contains detailed examples of using Atomic Agents in various scenarios.
44

5+
```{note}
6+
All examples are available in optimized formats for AI assistants:
7+
- **[Examples with documentation](../llms-examples.txt)** - All examples with source code and READMEs
8+
- **[Full framework package](../llms-full.txt)** - Complete documentation, source, and examples
9+
```
10+
511
## Quickstart Examples
612

713
Simple examples to get started with the framework:
@@ -12,7 +18,7 @@ Simple examples to get started with the framework:
1218
- Custom input/output schemas
1319
- Multiple provider support
1420

15-
[View Quickstart Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/quickstart)
21+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/quickstart)** - Browse the complete source code and run the examples
1622

1723
## Basic Multimodal
1824

@@ -23,7 +29,7 @@ Examples of working with images and text:
2329
- Visual content generation
2430
- Multi-image comparisons
2531

26-
[View Basic Multimodal Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/basic-multimodal)
32+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/basic-multimodal)** - Browse the complete source code and run the examples
2733

2834
## RAG Chatbot
2935

@@ -35,7 +41,7 @@ Build context-aware chatbots with retrieval-augmented generation:
3541
- Source attribution
3642
- Follow-up suggestions
3743

38-
[View RAG Chatbot Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/rag-chatbot)
44+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/rag-chatbot)** - Browse the complete source code and run the examples
3945

4046
## Web Search Agent
4147

@@ -47,7 +53,7 @@ Create agents that can search and analyze web content:
4753
- Multi-source research
4854
- Citation tracking
4955

50-
[View Web Search Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/web-search-agent)
56+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/web-search-agent)** - Browse the complete source code and run the examples
5157

5258
## Deep Research
5359

@@ -59,7 +65,7 @@ Perform comprehensive research tasks:
5965
- Structured output generation
6066
- Citation management
6167

62-
[View Deep Research Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/deep-research)
68+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/deep-research)** - Browse the complete source code and run the examples
6369

6470
## YouTube Summarizer
6571

@@ -71,7 +77,7 @@ Extract and analyze information from videos:
7177
- Timestamp linking
7278
- Chapter generation
7379

74-
[View YouTube Summarizer Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/youtube-summarizer)
80+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/youtube-summarizer)** - Browse the complete source code and run the examples
7581

7682
## YouTube to Recipe
7783

@@ -83,7 +89,7 @@ Convert cooking videos into structured recipes:
8389
- Step-by-step instructions
8490
- Time and temperature conversion
8591

86-
[View YouTube Recipe Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/youtube-to-recipe)
92+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/youtube-to-recipe)** - Browse the complete source code and run the examples
8793

8894
## Orchestration Agent
8995

@@ -95,7 +101,7 @@ Coordinate multiple agents for complex tasks:
95101
- Error handling
96102
- Result aggregation
97103

98-
[View Orchestration Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/orchestration-agent)
104+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/orchestration-agent)** - Browse the complete source code and run the examples
99105

100106
## MCP Agent
101107

@@ -108,4 +114,4 @@ Build intelligent agents using the Model Context Protocol:
108114
- Extensible tool architecture
109115

110116
[View MCP Agent Documentation](mcp_agent.md)
111-
[View MCP Agent Examples](https://github.com/BrainBlend-AI/atomic-agents/tree/main/atomic-examples/mcp-agent)
117+
πŸ“‚ **[View on GitHub](https://github.com/BrainBlend-AI/atomic-monorepo/tree/main/atomic-examples/mcp-agent)** - Browse the complete source code and run the examples

β€Ždocs/index.mdβ€Ž

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ contributing
1414

1515
![Atomic Agents](_static/logo.png)
1616

17+
```{admonition} AI Assistant Resources
18+
:class: tip
19+
20+
πŸ“₯ **Download Documentation for AI Assistants and LLMs**
21+
22+
Choose the resource that best fits your needs:
23+
24+
- **[πŸ“š Full Package](llms-full.txt)** - Complete documentation, source code, and examples in one file
25+
- **[πŸ“– Documentation Only](llms-docs.txt)** - API documentation, guides, and references
26+
- **[πŸ’» Source Code Only](llms-source.txt)** - Complete atomic-agents framework source code
27+
- **[🎯 Examples Only](llms-examples.txt)** - All example implementations with READMEs
28+
29+
All files are optimized for AI assistants and Large Language Models, with clear structure and formatting for easy parsing.
30+
```
31+
1732
The Atomic Agents framework is designed around the concept of atomicity to be an extremely lightweight and modular framework for building Agentic AI pipelines and applications without sacrificing developer experience and maintainability. The framework provides a set of tools and agents that can be combined to create powerful applications. It is built on top of [Instructor](https://github.com/jxnl/instructor) and leverages the power of [Pydantic](https://docs.pydantic.dev/latest/) for data and schema validation and serialization.
1833

1934
All logic and control flows are written in Python, enabling developers to apply familiar best practices and workflows from traditional software development without compromising flexibility or clarity.

0 commit comments

Comments
Β (0)