Korely

Get started

The dashboard

The dashboard is the web page where you make keys, try a question and look at what your agents stored. This page walks through it in the order you meet it.

Open agent.korely.ai and sign in. Everything you can do here you can also do from the API, the CLI or the SDK: the dashboard is for looking and for the first steps. An account made by signing up as an agent has no login until you connect its key to one.

Create an account

There is no separate sign-up form: the first sign-in makes the account. Open agent.korely.ai/signup, or press Create an account under the buttons of the sign-in page, and pick one way:

  • Google or GitHub. The provider vouches for your address, so no link is sent. If GitHub does not list the address as verified, Korely sends a verification link instead, as it does for a password.
  • An email and a password (at least 6 characters). Create the account sends a link to that address. Open it, then sign in on the same page. Until the address is verified the sign-in is refused, and each refused try sends a new link.
  • Microsoft signs in an account that already uses it and does not open a new one for now. To start, use one of the other ways.

There is one account per email address: an address already registered another way is refused, and the message says to sign in the way you signed up. Signing in accepts the Terms of Service and the Privacy Policy, linked under the buttons. An account made here starts on the free Hobby plan and makes its keys on the dashboard at once. The 7-day trial belongs to the other way in, a key made with korely init --agent (Quickstart, step 2).

What a new account sees

The menu has Dashboard, Install, Projects, API Keys, Playground, Memory Graph, Agents, Memories, Facts, Webhooks, Requests, Audit log, Plan & usage, Account and Settings, and this page tours them.

Your first hour

  1. Dashboard (the home page). It greets you by name. When the account has no key yet, a card (Create my key) makes the first one in one click. The key is named first key, belongs to the Default project and has memories:read and memories:write: it does not have admin, the same as a key made on the API Keys page without ticking it. It lasts as long as any key made here (see below). The card shows it once, with a curl line that stores a first memory. Copy the key now: it cannot be shown again.
  2. Install. Pick Python, Node.js or cURL and follow the steps to install the library, set the key, add a memory and read it back (cURL has two steps). It sends you to API Keys for the key.
  3. API Keys. Make a key here for each app or environment, as set out below.
  4. Playground. Type a question and see what Korely would give your agent for it. Details below.
  5. Memories and Facts. Check that what you stored became the facts you expected, and correct or forget the ones that are wrong.

The project switcher

The switcher at the top left chooses which project the pages show: Dashboard, Playground, Agents, Memories, Memory Graph, Facts, Requests and Audit log read one project at a time. Install, Projects, API Keys, Webhooks, the plan and Settings belong to the whole account. A new key goes to the project that is picked. See Projects.

API Keys

The page lists your keys with their state, a Last used column and an Expires column, and makes new ones. Last used is the day of the key's latest request, or Never; it is written at most once a minute per key, and nothing else about a use is recorded: no address, no device, no tool. The same time is last_used_at in GET /admin/keys. A new key has a name and a project, and ticks memories:read and memories:write; the admin permission is a separate tick that you rarely want, because a key with it can manage projects and keys (admin key). A key can also be confined to some of your end users (a confined key cannot have admin). The full key is shown once, when you make it. You can revoke a key at any time, and move it to another project.

Make one key per agent or machine, named after it. A key is not tied to a device: it works from any machine it is copied to, and from several at once, and the page shows only when it was last used, not where from. So give each agent or machine its own key, give it only what it needs (the permissions it uses and, if it works for some end users, only those: a confined key cannot have admin), and when one leaks, rotate or revoke that key while the others go on working.

What each permission opens (the same list as GET /admin/scopes, which needs no key):

  • memories:read: reading memories, facts, context, users, agents and the audit log.
  • memories:write: writing, changing and deleting memories and facts, erasing an end user for good, deleting agent namespaces, and batch loads.
  • admin: managing keys, webhooks, projects and provider settings. Through the /admin API alone it also reads the memories and facts of every project of the account; on /v1 and MCP an admin key reads and writes its own project only, like every key. It is kept out of the default set, because a leaked key that can make keys makes revoking it pointless.

A key made on the dashboard lasts 90 days unless you pick another length. The API keys page starts the length field at 90 days. On the Cloud it offers 30, 60, 90 and 180 (a Self-hosted install also offers Never expires); the Expires column shows the date. After that date the key is refused like any key that is not live: the client gets a 401, with the same words for an expired, revoked and unknown key, and the memory stops answering. Nothing in the editor warns you. To avoid it, rotate the key before the date: press Rotate on the key (the button is in the dashboard of 1.0.27 and later; before that, call POST /admin/keys/{key_id}/rotate), copy the new secret (it is shown once) and paste it where the old one is. An expired key cannot be rotated: make a new key instead. The old secret keeps working for a while you choose (24 hours by default), so the editor does not break in between. Each answer of the API carries the date in the header Korely-Key-Expires-At, and the webhooks key.expiring (14 days before) and key.expired tell it too. Key lifetime and rotation has the rules.

Playground

The Playground runs the read path and shows the ranked result, memories and facts, that an agent with that project's key would get. It generates no answer: Korely retrieves, your own model answers. Choose an end user to see their facts too. Only the facts that are true now appear, because a fact that was replaced drops out (see Temporal facts). Use it to try a question before you write code. The same read in code is Get context.

Reading what is stored

  • Memories. What your agents stored. Open one to see the typed facts Korely pulled from it and its timeline. Delete hides a memory from every view and keeps its text in the database; Erase removes the text, the vector and the facts only it stated for good, and cannot be undone (Delete a memory).
  • Facts. The typed facts, each one a subject, a predicate and an object, with its history. Correct replaces a fact with a new value and Forget ends it; both keep the old row in history (how it works).
  • Memory Graph. The same facts as a graph. Filled dots are entities and hollow dots are values; a dashed line is a closed fact. Turn on time travel and drag the slider to see the graph on another date, as it was true then or as it was known then (The graph).
  • Agents. The list of agent_id labels your calls used. An agent is a label you send with a memory, not something you create here.

Watching what happens

  • Requests. Every API call your agents make, by type and over time. It counts requests, not tokens. Writes (memories added, edited or imported, facts written or corrected, forgets and erasures) and reads (search, list, context, facts) are counted separately.
  • Audit log. Who did what: every call to the API and to MCP, the key that made it, the end user and the memory it touched, and for a read the ids of the memories and facts it returned (the first 100 of each). It never stores the content. Pick an end user to see their trail in order (The audit log).
  • Webhooks. Register an address and Korely sends it a signed POST when a memory is created, a fact is superseded or a key is about to expire (Webhooks).

Plan, account and settings

  • Plan & usage. Your plan, what the month has used, and the plans below it. Where paid plans are open, the page also lets you change the plan or top up, with a button to the billing portal for invoices and cancelling, and a plan change shows a preview first, which says whether it starts now or from the next period. Paid plans are not open on the Cloud yet: the page then shows no Choose button and no top-up, and says “Paid plans open soon. Write to [email protected].” above the plans. Pricing lists the limits.
  • Account. Who signs in and how, your plan, where you bring in a key made without a login (Connect the key to a dashboard login), and where you close the account.
  • Settings. Your sign-in and sessions, support, a form to send feedback, and the changelog.

Close the account

Closing deletes the account, every key, memory and fact and its sign-in, and ends a paid plan at once. It cannot be undone. From the dashboard:

  1. Sign in and open Account in the menu. The last box on the page is Close the account.
  2. Press Close the account…. A window asks you to type the account's email address (capitals do not matter). The confirm button stays off until what you typed matches.
  3. Press Close the account. The dashboard signs you out and shows the sign-in page.

To check that it is gone, call the API with any key the account had: the answer is 401 invalid_key, because every key stops working as soon as the account closes (how to check, and what Korely keeps). Signing in again with the same address does not bring the account back: it is refused, or it opens a new, empty account. An account that has no login is closed with its key instead: Delete the account.

On a phone

The dashboard was built for a computer screen. This section is read from the dashboard's code (1.0.29). The pages were drawn and measured in one browser, Chromium, at 390 by 844 pixels with a touch screen; Safari, Firefox and a real phone are not tested yet, so it has not been tried on a real phone. The pages this section does not name were not read for a narrow screen. Below 768 pixels wide, the menu moves behind a button at the top left and the sign-in page is one narrow column. What a touch screen gets on the pages that gave it trouble:

  • Correct and Forget. A fact's Correct and Forget buttons (on the Facts page and in the side panel of the Memory Graph), and a project's Edit, Archive and Delete on the Projects page, are hidden only on a device that can hover, and only while the row is not under the pointer and has no focus. On a phone or a tablet they are always shown. Forget asks first: the browser's question names the fact and says that it stops being current, stays in the history, and cannot be made current again from the dashboard.
  • API Keys. Each key is a card: its name, its key, when it was last used, when it ends, and then the project menu, Rotate (on a key that can be rotated) and Revoke (on a key that is not revoked).
  • Facts. A long end user id or a long word in a fact breaks inside the fact instead of pushing the page sideways.

See also