Skip to content

Commit

Permalink
Add post for creating custom AI agents
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Nov 21, 2024
1 parent c6574e0 commit e8667c0
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 2 deletions.
Binary file added public/edit_gre_prep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/whimsy_delve_clouds_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions src/content/posts/create-agents-on-khoj.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
title: "Co-Creating with Custom AI Agents"
author: saba
description: "Leverage custom AI agents on Khoj to automate workflows and share knowledge."
heroImage: /whimsy_delve_clouds_3.png
pubDate: 2024-11-21
keywords: ["ai agents", "open-source", "shareable knowledge"]
---

Exciting news! Custom AI agents on Khoj are now available to all users! After carefully [validating safety measures](https://blog.khoj.dev/posts/safety-in-agents/) with our early paid users, we're psyched to make this powerful feature accessible to everyone.

### What are Khoj Agents?

Agents have become a really overloaded word in AI-speak lately, so let's clarify what we mean by agents on Khoj.

Think of Khoj agents as your specialized assistants with custom personalities, tools, and knowledge bases. They're like smart shortcuts that can automate your recurring workflows and help you interact with your information in more meaningful ways. Example: I made a [GRE agent](https://app.khoj.dev/agents?agent=gre-prep-826933) to help me study for the GRE exam.

![GRE Agent](/edit_gre_prep.png)

### Why Create Custom Agents?

If you've ever found yourself:
- Repeatedly copying and pasting the same prompts
- Needing specialized assistance for specific topics
- Wanting to create a dedicated assistant for your research or documentation

Then custom agents are your answer. Instead of repeating the same interactions, you can create an agent once and keep using it, saving you time and effort.

### Powerful Customization Options

What makes Khoj agents truly powerful is their flexibility. You can customize them in several ways:

#### 1. Tool Access

Configure your agent's ability to access tools like:
- Information retrieval from your personal notes
- Web search and page scraping capabilities
- Internet access for real-time information

#### 2. Output Capabilities
Choose how your agent communicates:
- Text responses
- Image generation
- Diagram creation

#### 3. Custom Knowledge Bases
This is where Khoj agents truly shine. Each agent can have its own specialized knowledge base:
- Upload relevant documentation
- Include research papers
- Add course syllabi or training materials
- Share personal notes and documents

Setting up a custom knowledge base is as simple as uploading your documents during the agent creation process.

### Visibility Settings

We understand that different use cases require different levels of privacy. That's why we offer three visibility options:
| Privacy Level | Description |
| --- | --- |
| Private | Only visible to you |
| Protected | Accessible to anyone with a direct link |
| Public | Visible to everyone on the agents page* |

*Note: Public agents are coming soon! To ensure quality and safety, all public agents will undergo a manual review process before being featured on Khoj.

### Getting Started

Creating your first agent is straightforward. Think about:
- What repeated tasks you'd like to automate
- What knowledge base would be most helpful
- Who you might want to share your agent with

Then head over to the [Khoj Agents page](https://app.khoj.dev/agents) and click on "+ Create Agent" to get started.
21 changes: 19 additions & 2 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ p {
margin-bottom: 1em;
}
.prose p {
margin-bottom: 2em;
margin-bottom: 1em;
}
textarea {
width: 100%;
Expand Down Expand Up @@ -161,14 +161,31 @@ ol li {
}

ul {
padding-left: 1em;
padding-left: 2em;
margin: 1em 0;
}

ul li {
list-style-type: disc;
}

table {
border-collapse: collapse;
width: 100%;
margin: 1em 0;
}

table th, table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}

table th {
background-color: grey;
color: #333;
}

html.dark {
background-color: #222127;
color: rgb(252, 251, 242);
Expand Down

0 comments on commit e8667c0

Please sign in to comment.