Install
Up and running in minutes.
mod_ai_agent 1.5.0 builds with apxs against Apache 2.4 and needs only libcurl.
1. Build and enable
bash
sudo apt install apache2-dev libcurl4-openssl-dev
tar xzf mod_ai_agent-1.5.0.tar.gz && cd mod_ai_agent
make && sudo make enable-debian2. Minimal configuration
In your VirtualHost. Everything else has sensible defaults; every directive is documented in the docs.
apache
AIAgentSiteName "Your Company"
AIAgentSiteDescription "One paragraph about what your site offers."
# Optional: answers from your own AI provider, after it has learned your site
AIAgentAIService anthropic
AIAgentAIKey file:/etc/apache2/ai_agent.key3. Verify it works
bash
curl https://your-site/.well-known/ai
curl -H "Accept: application/vnd.ai-chat+json" https://your-site/
curl https://your-site/.well-known/ai/actionsOr run the bundled checks: make test URL=https://your-site. Then open your site in the console and talk to it.
Want to try it without a server?
This site runs a demo shop that speaks the same protocol. Point curl at it:
bash
curl -H "Accept: application/vnd.ai-chat+json" <this-site>/api/public/demo/shop/