Description
Buddy AM (Buddy Ask Mode) adds an Ask Mode to your WordPress site. Visitors and logged-in users don’t have to dig through menus and search results. They ask a question in plain language, and the site answers from its own published content, with links to the pages each answer is based on.
Think of it as your website becoming an AI agent: it knows your posts, pages, listings and other content, and it talks to visitors about them.
Read-only by design: Buddy AM can search and answer questions, but it cannot create, edit, or delete anything on the site.
Buddy AM uses the AI Client built into WordPress 7.0, so it works with whichever AI provider you connect under Settings → Connectors (for example Anthropic, OpenAI or Google). You don’t enter API keys in Buddy AM.
Learn more at wpaskmode.com.
Who it’s for
- Blogs and content sites: readers ask questions and get answers drawn from your articles.
- Directory and listing sites: visitors find places, businesses or listings by describing what they need.
- Business and documentation sites: visitors get quick answers from your pages without contacting you.
Features
- A modern chat interface: full-screen page template with chat history, plus a shortcode (
[buddy_am_chat]) and a block for any page. - Answers come only from your published content, with source cards linking to the posts they’re based on, plus Copy and Regenerate.
- Choose which content types the chat can search (posts, pages, directory listings and other public post types).
- Optional semantic search: finds content by meaning, not just exact words.
- Read-only abilities from other plugins (WordPress Abilities API) can be enabled one by one.
- Cost controls: per-visitor, per-IP and site-wide daily limits; greetings and repeated questions are answered without an AI call.
- Token usage report per question.
- Privacy: query logging is off by default, with retention and the WordPress personal data export and erase tools.
- Optional full data removal when the plugin is deleted.
- Translation-ready, including the block editor strings.
External services
This plugin connects to third-party services in the following cases.
AI chat (always, when a visitor asks a question) — handled through the WordPress core AI Client and the provider you connect under Settings → Connectors (e.g. Anthropic, OpenAI or Google). The visitor’s question, recent messages from the same conversation and excerpts of your published content are sent to that provider to generate an answer. See your provider’s terms and privacy policy.
Semantic search embeddings (only if you enable semantic search) — Buddy AM sends text directly to one of these embeddings services, using the API key from Settings → Connectors:
- OpenAI Embeddings API (
https://api.openai.com/v1/embeddings) — when OpenAI is the selected embeddings provider.
Terms of use: https://openai.com/policies/terms-of-use — Privacy policy: https://openai.com/policies/privacy-policy - Google Gemini API (
https://generativelanguage.googleapis.com) — when Google is the selected embeddings provider.
Terms of service: https://ai.google.dev/gemini-api/terms — Privacy policy: https://policies.google.com/privacy
What is sent and when:
- The title, excerpt and text of your published, non-password-protected content from the post types you choose — once when the index is built, then whenever that content is created or edited.
- Each visitor question that the chat searches by meaning (repeated questions are cached for 24 hours and not re-sent).
No visitor account details, IP addresses or cookies are sent in these requests. Nothing is sent until you turn semantic search on.
Installation
- Install Buddy AM from the Plugins → Add New screen, or upload the
buddy-amfolder to/wp-content/plugins/, then activate it. - Connect an AI provider under Settings → Connectors (for example Anthropic, OpenAI or Google) if you haven’t already.
- Go to Buddy AM in the admin menu. Review the daily limits on the General tab and, optionally, choose a model on the Ask Model tab.
- Add the chat to your site:
- Full-screen page: create a page and choose the Buddy AM (Full Screen) template under Page Attributes → Template.
- Inside any page: add the Buddy AM Chat block or the
[buddy_am_chat]shortcode.
- Optional: turn on Semantic Search to let the chat find content by meaning (needs an OpenAI or Google connection).
FAQ
What does “AM” stand for?
Ask Mode. Buddy AM gives your site an Ask Mode: visitors ask a question in plain language and the site answers from its own content.
Can Buddy AM change content on my site?
No. Buddy AM is read-only. It can search and answer questions using your site’s content, but it cannot create, edit, or delete anything.
Which AI providers does it work with?
Any provider connected through WordPress’s AI Client under Settings → Connectors, such as Anthropic (Claude), OpenAI or Google (Gemini). Choose the connector and model on the Ask Model tab, or leave it on Auto.
Do I need an AI API key?
Yes. Buddy AM uses the AI providers connected under Settings → Connectors (WordPress 7.0+) — for example Anthropic, OpenAI or Google. You don’t enter keys in Buddy AM itself.
How do I keep AI costs under control?
The General tab has three daily limits: questions per visitor, questions per IP address (for logged-out visitors) and a site-wide cap on AI answers. Greetings (“hi”, “thanks”) and repeated questions are answered instantly without an AI call and don’t count toward the limits. The Usage tab shows how many tokens each question used.
Can it search directory listings, products or other custom post types?
Yes. Choose which public post types the chat searches under General → Content → Searchable content. Read-only abilities registered by other plugins (for example GeoDirectory add-ons) can be enabled on the Abilities tab.
Can I let logged-out visitors use the chat?
Yes. Turn on Anonymous visitors on the General tab. When it’s off, logged-out visitors are sent to the login page instead.
What is semantic search?
An optional feature (off by default) that lets the chat find content by meaning, not just exact words — e.g. “a place to buy groceries” finds a post about a local market. It needs an OpenAI or Google connection under Settings → Connectors (Anthropic has no embeddings service), and builds an index of your published content in your own database. Turn it on under Buddy AM → Semantic Search.
Why does semantic search call OpenAI or Google directly?
The WordPress AI Client (WordPress 7.0+) doesn’t support creating embeddings yet, which semantic search needs. Buddy AM therefore calls the embeddings API of the provider you’ve connected under Settings → Connectors, using that same key. The chat itself always goes through the WordPress AI Client. Buddy AM will switch to the AI Client for embeddings once it supports them.
Does Buddy AM store visitors’ questions?
Not by default. Query logging is off unless you turn it on under Logs & Privacy, with an automatic retention period. Logged questions are included in WordPress’s personal data export and erase tools. Chat history shown to a visitor is kept in their own browser.
How do I remove all Buddy AM data?
Turn on Delete all Buddy AM data when the plugin is deleted under Logs & Privacy, then delete the plugin. This removes its settings, logs, token usage, semantic search index and cached answers. Deactivating the plugin never deletes anything.
Developer hooks for semantic search
buddy_am_embedding_text(filter) — change the text indexed for a post, e.g. append GeoDirectory address, phone or custom fields:add_filter( 'buddy_am_embedding_text', function ( $text, $post ) { return $text . "\n\n" . my_extra_fields( $post ); }, 10, 2 );buddy_am_semantic_min_score(filter) — minimum similarity (0–1) for a semantic match; defaults per provider (Google 0.62, OpenAI 0.25). Receives the embedding model key as a second argument.buddy_am_semantic_min_body_words(filter) — minimum words of body text an item needs to be indexed (default 3; title-only items are skipped).buddy_am_searchable_post_types(filter) — which public post types are searched and indexed.
Changing what buddy_am_embedding_text returns only affects posts indexed afterwards; use Rebuild index to apply it to everything.
Screenshots
Changelog
0.1.2
- Plugin name changed to “Buddy AM – Ask Mode for WordPress” (slug: buddy-am).
- Updated plugin description and readme; added plugin website (wpaskmode.com).
0.1.1
- Plugin name update.
0.1.0
- Initial release.
- Conversational search over your published content through the WordPress AI Client.
- Tabbed settings: General, Ask Model, Abilities, Semantic Search, Display, Logs and Privacy, Usage.
- Ability allowlist: only Buddy AM’s own read-only abilities are on by default.
- Searchable content types, including custom post types.
- Optional semantic search (OpenAI or Google embeddings) with background indexing.
- Searches before the first AI call, so many questions need only one AI call.
- Greetings and repeated questions answered without an AI call.
- Per-visitor, per-IP and site-wide daily limits.
- Per-question token usage report.
- Full-screen chat with chat history, source cards, Copy and Regenerate.
- Option to delete all Buddy AM data when the plugin is deleted.
- Translation template (
languages/buddy-am.pot).





