Back to Aike
Documentation

How Aike works

Build an agent on a Hugging Face model, test it privately, then share it — or drop it straight into your own website.

Visitors never need an account

When you publish an agent it gets a unique public link like /aike-x7k9p2. Anyone with that link can open it and chat immediately — no sign-up, no login, no email. Only the person building the agent needs an Aike account. Every visit is counted on your project card so you can see how much your agent is used.

Customise the public page

In the Studio you can set a cover message shown at the top of the page, a welcome message shown before the first reply, and quick-start buttons visitors can tap instead of typing. The chat scrolls to the newest message automatically. Pages always carry the “Built with Aike” mark.

Embed the agent in your own page

Every published agent has an embeddable chat at /embed/your-slug. Paste this anywhere in your HTML:

<iframe
  src="https://aike.cygpot.online/embed/aike-x7k9p2"
  style="width:100%;height:600px;border:0;border-radius:12px"
  title="AI assistant"
></iframe>

Call the API with your project key

Generate an API key in the Studio to build your own chat UI. Free accounts get one key per agent. Keep keys on your server — anyone with the key can use your agent.

POST https://aike.cygpot.online/api/public/v1/chat
Authorization: Bearer aike_live_xxxxxxxx
Content-Type: application/json

{ "messages": [{ "role": "user", "content": "Hello" }] }

JavaScript:

const res = await fetch("https://aike.cygpot.online/api/public/v1/chat", {
  method: "POST",
  headers: {
    "Authorization": "Bearer aike_live_xxxxxxxx",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ messages: [{ role: "user", content: "Hello" }] }),
});
const data = await res.json();
console.log(data.reply);

Ready to build? Create your agent