Make A Company Social Media AI Agent — A Kikubot HowTo
Keeping a social media presence can be a challenge for busy teams. Here’s how to deploy an AI agent that can keep your social media game sharp

Maintaining a consistent social media presence is vital for any organization. However, for many, like mxHERO, it is a time consuming challenge. Until a few months ago of this writing, our posting was irregular. Weeks would go by without a single post / mention. Our social media definitely wasn’t happening. But that has since changed. Not because we suddenly got disciplined, hired new resources, or outsourced our media efforts, but because we deployed an AI Agent.
How we went about building our agent is what this article is about. To build our agent we used the open source Kikubot agent framework (MIT license) created by mxHERO. Kikubot is designed to bring functional AI into organizations. Kikubot is fundamentally an organizational model — a coordinated network of specialized agents that mirrors how a company’s departments actually work, with email as the universal coordination layer. Kikubot has no end-user-install requirement. AI capabilities are added to the server and accessed over simple email. This was ideal for our organization. This model greatly reduced the complexity of leveraging AI in our company.
The following describes exactly how it works and how we made it.
How it Works
Every Monday morning when I check my inbox I find an email from Kiku, our AI agent. The email is titled, “Social media for the week”. In it I find a collection of social media posting ideas for our company, mxHERO. I review a list of ideas that has been culled from the company’s email traffic of last week that mentioned press releases, product launches, market insights and observations. It also includes recent news from the Internet regarding the space we operate in, namely, email productivity and security. I carefully review the ideas, select a few and send a reply email back to Kiku telling “her” which ones I like and how to enhance them.
After about a minute I receive a response from Kiku telling me that all posts across LinkedIn, Facebook, BlueSky have been drafted in our social media management platform Buffer.

I access Buffer to review the posts, making any tweaks I feel necessary and commit each post to the publishing queue.

It used to take hours to ideate, prepare, and schedule each week’s social media posts — if we found time and energy to do it all. Now with our Kiku agent it takes at most 20 minutes of my Monday morning and the entire week is set.
Ad hoc Posts
Even better (and highlighting a strength of Kikubot) is that we can create new social media posts at any time. Because our AI agent is just an email address, as events happen or inspiration strikes, we just email them in and they get drafted for final review and queue for publication. When at events, we can email photos directly from our phones and get them included in our posts. It is a very easy process. Our ideas and imagery get automatically packaged appropriate to each channel (X, Facebook, LinkedIn, etc.) including hashtags, emoticons, links, etc.
Truth be told, Kiku does far more than only preparing our weekly social media. It also helps us manage our sales, accounting, and other key functions within our organization, but those are stories for other posts. However, in the context of social media, it is also important to mention that Kiku also allows us to easily post adhoc posts. Recently I was at BoxWorks Japan and with the help of Kiku, I sent posts directly from the event across all our social channels with the ease of sending an email.
How We Made Our Agent — the Recipe
To build our social media agent, we used the Kikubot agent framework. Kikubot is a unique agent framework in that it uses email as the communication plane and interface between agents and agents and people. By using email, Kikubot is easy to integrate into any organization as there is nothing for users to install or really know other than the email address of the agent and what it can do.
Although the Kikubot framework is designed to run multiple agents, for the purposes of this article we will focus on how we built our social media agent which is named, Gamma. In our installation, Gamma “sits” behind “Kiku” our coordinator agent. Kiku serves as a single email address users can email to access social media, sales, accounting and other functions accessible across a number of agents.

Installation The deployment of Kikubot is covered in another article [==🟡link to the agentic workspace==]. Here is a summary of what you need:
- Basic familiarity with Linux administration
- Internet connected server with Docker Compose or equivalent installed
- Cloned Kikubot project git clone https://github.com/mxaiorg/kikubot
- A dedicated IMAP email account for your agent
The Kikubot project includes a server if desired
From the project root directory, launch the Kikubot Configurator
go run ./scripts/configurator
Configuring
Common Configuration
The first step in configuring one or more Kikubot agents is to configure the common settings.
You can keep the default values of the Configurator, with the exception of the email server addresses and the LLM keys.

Kikubot supports API subscriptions for Anthropic and OpenRouter. OpenRouter provides access to hundreds of different models, including those from Anthropic, OpenAI, and Gemini. Furthermore, OpenRouter allows you to configure fallback LLMs in case one provider isn’t responding. However, OpenRouter charges a 5% fee above the standard API costs for the convenience.
Each Kikubot agent is configured to use a specific primary model. This allows you to best match LLM models to each agents’ roles. Importantly, this allows you to also choose less expensive models for agents with simpler tasks and more powerful (but more expensive models) for agents with more complex tasks. For example, in our experience, an agent that needs to simply retrieve data through a well defined API, e.g., Salesforce or Weather API, runs well on a low cost model like Anthropic’s Haiku. However, for the social media agent we are creating in this article, a more powerful model like Anthropic’s Sonnet or Opus, or OpenAI’s GPT-5.5, is a better choice, because we will be asking the agent to search for content and compose compelling posts.
Agent Configuration
Once the common agent defaults are saved, we can now create our specific agent.
Kikubot agents all own an email account. Users and other agents interact by sending email to one another. The first step is to give your agent a name and the credentials to its email account.
⚠️ It is important that your agents have their own email accounts. Don’t just share an existing email account. The reason is that agents search for unread emails and process each of them. If you have a shared account, chaos will ensue and you will have your agents driving up your token costs on emails that are not for them.

If you want to restrict your agent to only responding to specific users or your organization, add the allowed email addresses or just the domain of your organization to restrict who can communicate with your agent.

Now select your LLM provider. Only the ones for which you supplied a key will be available. Then select the model of the provider. If you select OpenRouter as your provider, you can set one or more fallback models. As a best practice, select models from other LLM providers. For example, if your primary model is anthropic/claude-sonnet-4.6, then fallback to openai/gpt-5.5. This way if Anthropic is having service issues, your agent will switch to a different provider.

System prompt
Now you can adjust your system prompt. The default prompt assumes your agent is working with other agents and a coordinator agent. Here is a sample prompt for a stand-alone Social Media agent. You can keep the “{{coworkers}}” template variable if in the future you add more agents. For now it will be empty and have no effect.
You are a helpful Marketing & Web Searcher Agent. Your role is to resolve
tasks submitted by users with the help of your coworkers, if any, as
needed.
{{coworkers}}
Roster Entry
Most Kikubot agents are part of a team. The roster entry lets agents know about each other and thereby collaborate when resolving user requested tasks. For example, one agent might have access to Salesforce while another accesses the company’s Box cloud storage. An email sent by a user with a request like “Get the latest sales pipeline report and upload it to our Sales folder in Box” would engage the efforts of both agents.
In our case, here is what we use for our Social Media agent. The “Role” describes the agent’s function as a list of tags. The “Description” elaborates on what the agent does.

Tools — Where the Rubber Meets the Road
In the roster section is the all important “Tools” section. Here is where the special powers (the role) of your agent take place. Since we want to be able to post to our social media platform, Buffer, we will select the “Buffer MCP” tools that comes with the Kikubot project. We also want our agent to search the web. Since our agent uses OpenRouter, we select the Tavily MCP. If we were using the native Anthropic provider, we would have Anthropic’s native web search tool as an option.

Both Buffer and Tavily require authentication. To set the authorization for these tools we need to edit the “secrets.env” file in the projects “configs” directory.

In this file we set our keys.

If you want to have your agent run tasks recurringly, give it the “snooze” tool. This will allow you to have it run in intervals, like we have ours execute a specific task every week.
Private/Custom Tools
Now you might not be using Buffer or Tavily in your organization, or you would like a custom version of the Buffer tool that can only stage as draft, never publish. Kikubot allows you to create your own private tools. These go in the ‘tools_priv’ folder and can easily be created for any service. The easiest way to create a custom tool is to use a coding agent like “Claude Code” or “OpenAI Codex”. Here is an example prompt that should create a new tool:
Create a tool for listing and searching Vimeo videos from an
authenticated Vimeo account (using an API key passed in via
environment). Use Vimeo's API https://developer.vimeo.com/api/reference
to implement the API. Keep functionality to read-only operations so
that the tool can help the LLM to search for videos and provide video
links and other information. You might use the existing helpjuice.go
tool as a reference.
In this way you can create a dedicated X, Facebook, LinkedIn or any other tool.
In a few hours we built and tested tools for accessing our internal databases, emails, and cloud storage accounts.
Once you have your tool created, restart the configurator and access your agent and you should see your private tools clearly marked in the Tools selector. Remember to add the authentication information to your secrets.env.
Once your agent is configured remember to save.
Launching
Now is the moment of truth! At the root of your Kikubot project directory, launch your agent:
docker compose up --build
Look in the logs to make sure that you see your agent reported “live!” and that there are no email account connection issues.

If everything looks good, you can ‘detach’ or cancel and run again with `docker compose up -d`
Now, send an email to your agent’s email address. Start simple, like …

You should get back an email like the following. If you do, congratulations! 👏
Now let’s see if it can indeed post. Here is an example post request…

Give it a minute or two and hopefully you have a post!
TIP: You might want to instruct your agent to draft the post so that you can confirm it online (keeping with the “human-in-the-middle” philosophy of agentic AI). That’s why our sample email includes the sentence, “Stage it in Buffer as a draft.”
Recurring Tasks
Other than creating adhoc posts whenever you send in a request, you might want to have your agent proactively run every week (or daily). Here is an example request:

mxMCP — secure access across company emails
You might be wondering how in the above example the agent can search across our company emails. This capability is provided by mxHERO’s mxMCP. mxMCP is a bridge between AI systems (like Kikubot, Claude Desktop, etc.) and company emails. It enables high performance AI access to multiple accounts and across time (find that email from 20 years ago where…).
Now with your trusted agent, your social media game presence is guaranteed.
Why stop at social media! Organizations are using Kikubot agents to streamline processes in every area.
Other Agent ideas
- Salesforce agent: Email your meeting notes to Salesforce and have Kiku update your opportunity record
- Archivist agent: Ask Kiku for the latest copy of the service contract, latest pricing list
- Video Archivist: Ask Kiku for a list of demo videos showcasing product feature X
- Meeting scheduler: Ask Kiku to find available slots for a meeting and send out the invites.