Skip to content

Aganium/wordpress-agenium-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Agenium Agent ===
Contributors: agenium
Tags: agent, a2a, agent-protocol, ai, agenium
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Stable tag: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT

Turn your WordPress site into an agent:// protocol endpoint on the Agenium network.

== Description ==

Agenium Agent makes your WordPress site discoverable and communicable via the `agent://` protocol. Register your site as an AI agent, serve an Agent Card, receive and send messages to other agents.

**Features:**

* **DNS Registration** — Auto-registers your site as `agent://yoursite` on activation
* **Agent Card** — Serves `/.well-known/agent.json` for agent discovery
* **REST API** — Receive messages at `/wp-json/agenium/v1/message`
* **Hooks System** — Other plugins can hook into `agenium_message_received` and `agenium_message_response`
* **Chat Shortcode** — Embed `[agenium_chat agent="search.agenium"]` on any page
* **Dashboard Widget** — Monitor agent status and recent messages

== Installation ==

1. Upload the `agenium-agent` folder to `/wp-content/plugins/`
2. Activate the plugin
3. Go to Settings → Agenium Agent
4. Enter your API key (`dom_...`) and agent name
5. Click "Re-register with DNS"

== Frequently Asked Questions ==

= Where do I get an API key? =

Visit [agenium.net](https://agenium.net) to register and obtain a `dom_<64hex>` API key.

= How do other plugins handle messages? =

Hook into `agenium_message_received` (action) or `agenium_message_response` (filter):

    add_filter( 'agenium_message_response', function( $response, $message ) {
        if ( $message['type'] === 'search' ) {
            return [ 'results' => my_search( $message['content'] ) ];
        }
        return $response;
    }, 10, 2 );

== Changelog ==

= 1.0.0 =
* Initial release

About

AGENIUM agent:// protocol integration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors