|
| 1 | +# Agentic Engineering with Clojure |
| 2 | + |
| 3 | +A comprehensive guide for using LLM coding agents with Clojure development. |
| 4 | + |
| 5 | +## Overview |
| 6 | + |
| 7 | +This manual covers best practices for combining Clojure's REPL-driven development |
| 8 | +with modern LLM coding agents. It includes detailed guides on: |
| 9 | + |
| 10 | +- Installing and configuring Clojure development tools |
| 11 | +- Setting up agentic toolchains (OpenCode, PI Agent, Clojure MCP) |
| 12 | +- Browser automation with Etaoin for agentic testing |
| 13 | +- REPL-driven development workflows |
| 14 | +- Testing strategies with LLM agents |
| 15 | + |
| 16 | +## Prerequisites |
| 17 | + |
| 18 | +- Python 3.x with pipenv |
| 19 | +- Java/JVM (via SDKMAN recommended) |
| 20 | +- Clojure CLI tools |
| 21 | +- Node.js (for AI agent tools) |
| 22 | + |
| 23 | +See [Installation Guide](source/installation.rst) for detailed setup instructions. |
| 24 | + |
| 25 | +## Building the Documentation |
| 26 | + |
| 27 | +This project uses [Sphinx](https://www.sphinx-doc.org/) for documentation generation. |
| 28 | + |
| 29 | +### Install Dependencies |
| 30 | + |
| 31 | +```bash |
| 32 | +# Install dependencies from Pipfile.lock |
| 33 | +pipenv install |
| 34 | + |
| 35 | +# Or if you need to update the lock file |
| 36 | +pipenv install --dev |
| 37 | +``` |
| 38 | + |
| 39 | +### Build |
| 40 | + |
| 41 | +```bash |
| 42 | +# Enter the pipenv shell |
| 43 | +pipenv shell |
| 44 | + |
| 45 | +# Then build the documentation |
| 46 | +make html |
| 47 | +``` |
| 48 | + |
| 49 | +Or run directly: |
| 50 | + |
| 51 | +```bash |
| 52 | +pipenv run make html |
| 53 | +``` |
| 54 | + |
| 55 | +The generated documentation will be in `build/html/`. |
| 56 | + |
| 57 | +### Watch for Changes |
| 58 | + |
| 59 | +```bash |
| 60 | +pipenv run make livehtml # If using sphinx-autobuild |
| 61 | +``` |
| 62 | + |
| 63 | +## Project Structure |
| 64 | + |
| 65 | +``` |
| 66 | +source/ # Documentation source files (.rst) |
| 67 | +├── index.rst # Main documentation entry point |
| 68 | +├── installation.rst # Setup instructions |
| 69 | +├── agentic-toolchain.rst |
| 70 | +├── agentic-browser.rst |
| 71 | +├── repl-development.rst |
| 72 | +└── testing.rst |
| 73 | +build/ # Generated HTML output |
| 74 | +deps.edn # Clojure dependencies (for examples) |
| 75 | +bb.edn # Babashka tasks (nREPL) |
| 76 | +``` |
| 77 | + |
| 78 | +## Contributing |
| 79 | + |
| 80 | +This manual is built with reStructuredText. To contribute: |
| 81 | + |
| 82 | +1. Edit files in `source/` |
| 83 | +2. Build and verify: `pipenv run make html` |
| 84 | +3. Submit changes via pull request |
| 85 | + |
| 86 | +## License |
| 87 | + |
| 88 | +[Add your license here] |
0 commit comments