# Hjarni for AI agents. Bring approved knowledge into focus.

> Search and read Hjarni notes through Agent200. Prepare knowledge briefs grounded in retrieved note content and explicit source identity.

- Page: https://www.agent200.com/connectors/hjarni/
- Category: Files and knowledge
- Authentication: Agent200 API key
- Identifier in code: `hjarni`
- Create an API key: https://agent200.com/platform/apikeys/
- Updated: 2026-11-18

## Instructions for AI agents

Connector: Hjarni, through Agent200. In code: "hjarni".
What it does: Search and read Hjarni notes through Agent200. Prepare knowledge briefs grounded in retrieved note content and explicit source identity.
Page: https://www.agent200.com/connectors/hjarni/

1. Get an Agent200 API key. If the developer has none, send them to https://agent200.com/platform/apikeys/ and ask them to choose "Create an API key". Read the key from the AGENT200_API_KEY environment variable. Never ask for it in chat, and never write it into code, prompts or logs.
2. Agent200 reaches Hjarni with the project's Agent200 API key. No separate Hjarni key is needed.
3. Read tools: hjarni_search, hjarni_list_notes, hjarni_get_note, hjarni_list_containers, hjarni_get_container, hjarni_list_tags. Name "hjarni" in the tools of a request; the model decides which tool to call.
4. Stay within the project's settings. If a tool is turned off or a call is refused, tell the user. Do not work around it.
5. Before a write, confirm with the user, unless they asked for that exact change.
6. For setup with a specific framework, follow its guide:
   https://www.agent200.com/connectors/hjarni/framework/claude/
   https://www.agent200.com/connectors/hjarni/framework/chatgpt/
   https://www.agent200.com/connectors/hjarni/framework/claude-code/
   https://www.agent200.com/connectors/hjarni/framework/muse/
   https://www.agent200.com/connectors/hjarni/framework/grok-bot/
   https://www.agent200.com/connectors/hjarni/framework/openai-dots/
   https://www.agent200.com/connectors/hjarni/framework/claude-duet/
   https://www.agent200.com/connectors/hjarni/framework/hermes-agent/
   https://www.agent200.com/connectors/hjarni/framework/openclaw/

The code on the connector page is a conceptual example of the SDK. SDK reference: https://docs.igpt.ai/

## About

With the Hjarni connector, your agent searches and reads notes with the project's Agent200 API key, so no separate Hjarni account or key is needed. It can search, list and read notes, and browse containers and tags, using only the tools your project allows.

Hjarni is a note-taking and knowledge management service.

## Hjarni tools

- **Search knowledge** (`hjarni_search`, read): Search notes, folders and tags available through the project’s Hjarni tools.
- **List notes** (`hjarni_list_notes`, read): Find notes available within the selected accessible scope.
- **Read a note** (`hjarni_get_note`, read): Retrieve an identified note and its returned content.
- **List folders** (`hjarni_list_containers`, read): Find accessible containers and their returned metadata.
- **Read a folder** (`hjarni_get_container`, read): Retrieve details of one identified container.
- **List tags** (`hjarni_list_tags`, read): Find tags available through the project’s Hjarni tools.

## Limits you can set

**Turn single tools on or off.** Let the agent search and read notes, and switch off `hjarni_get_note` if it should only see search results and lists.

**Restrict what the agent reaches.** Choose the endpoints a project may use, for example searching and listing notes but not reading containers. A call outside them is refused.

## Get started

### Step 1: Set up the SDK

Add the Agent200 SDK to the codebase you already have and authenticate with your API key. The key covers every connector enabled for the project.

File `agent.js`:

```js
// One Agent200 API key covers every connector enabled for the project.
const agent200 = new Agent200({
  apiKey: process.env.AGENT200_API_KEY,
});
```

(Conceptual example of the Agent200 SDK.)

### Step 2: Run with the Hjarni tools

Name the model and the tools. The model decides which Hjarni tools to call, and Agent200 executes them with your Agent200 API key.

File `run.js`:

```js
const result = await agent200
  .user("user_123")
  .run({
    model: "openai/gpt-5.6-sol",
    input: "Search my notes for the pricing research",
    tools: ["hjarni"],
  });

console.log(result.output);
```

(Conceptual example of the Agent200 SDK.)

## Example requests

- "Search my notes for the pricing research"
- "List the notes in my Projects container"
- "Show the notes tagged with meeting"

## Guides: Hjarni with your AI framework

- [Hjarni + Claude](https://www.agent200.com/connectors/hjarni/framework/claude.md): Read notes with Claude and Agent200. Prepare a knowledge brief through the Agent200 project’s Hjarni tools.
- [Hjarni + ChatGPT](https://www.agent200.com/connectors/hjarni/framework/chatgpt.md): Use ChatGPT to build a separate read-only Hjarni assistant with Agent200. Ground the knowledge brief in returned source data.
- [Hjarni + Claude Code](https://www.agent200.com/connectors/hjarni/framework/claude-code.md): Use Claude Code to build a separate read-only Hjarni assistant with Agent200. Ground the knowledge brief in returned source data.
- [Hjarni + Muse](https://www.agent200.com/connectors/hjarni/framework/muse.md): Read notes with Muse and Agent200. Prepare a knowledge brief through the Agent200 project’s Hjarni tools.
- [Hjarni + Grok Bot](https://www.agent200.com/connectors/hjarni/framework/grok-bot.md): Read notes with Grok Bot and Agent200. Prepare a knowledge brief through the Agent200 project’s Hjarni tools.
- [Hjarni + OpenAI Dots](https://www.agent200.com/connectors/hjarni/framework/openai-dots.md): Use OpenAI Dots to build a separate read-only Hjarni assistant with Agent200. Ground the knowledge brief in returned source data.
- [Hjarni + Claude Duet](https://www.agent200.com/connectors/hjarni/framework/claude-duet.md): Read notes with Claude Duet and Agent200. Prepare a knowledge brief through the Agent200 project’s Hjarni tools.
- [Hjarni + Hermes Agent](https://www.agent200.com/connectors/hjarni/framework/hermes-agent.md): Read notes with Hermes Agent and Agent200. Prepare a knowledge brief through the Agent200 project’s Hjarni tools.
- [Hjarni + OpenClaw](https://www.agent200.com/connectors/hjarni/framework/openclaw.md): Read notes with OpenClaw and Agent200. Prepare a knowledge brief through the Agent200 project’s Hjarni tools.

## FAQ

### Do I need a separate Hjarni key?

No separate Hjarni key is needed for this Agent200 route. Use the project’s Agent200 API key and enable the Hjarni tools.

### Does search read the full note?

Search finds candidate notes. Read the selected note before using its body in a brief; cite the returned note identity and distinguish source text from suggestions. [Hjarni MCP tool catalog](https://hjarni.com/docs/mcp#tool-catalog).

### Can this workflow edit Hjarni?

The listed tools are read operations. A proposed change in the brief does not create, edit or delete a note.

### Why might a note be missing?

Check project tool enablement, the selected note ID, search scope and pagination. Do not infer that an inaccessible or unreturned note does not exist.

### Which identifiers should code call?

The page lists Agent200 catalogue identifiers. Inspect the runtime’s advertised tool names and input schemas before implementation; Hjarni’s own MCP tool names are a separate provider contract.

## Related connectors

- [Google Drive](https://www.agent200.com/connectors/google-drive.md): Find, read and organize the files in each user's Drive.
- [OneDrive](https://www.agent200.com/connectors/onedrive.md): Search, read, upload and share OneDrive files, including Word, Excel and PowerPoint documents, on behalf of each of your users.
- [Dropbox](https://www.agent200.com/connectors/dropbox.md): Search, read, upload and organize Dropbox files, and create shared links, on behalf of each of your users.
- [Notion](https://www.agent200.com/connectors/notion.md): Search, read and write Notion pages and databases on behalf of each of your users.

---

Agent200: https://www.agent200.com/ · API keys: https://agent200.com/platform/apikeys/ · Docs: https://docs.igpt.ai/
