sabaimran 405c047c0c Include agent personality through subtasks and support custom agents (#916)
Currently, the personality of the agent is only included in the final response that it returns to the user. Historically, this was because models were quite bad at navigating the additional context of personality, and there was a bias towards having more control over certain operations (e.g., tool selection, question extraction).

Going forward, it should be more approachable to have prompts included in the sub tasks that Khoj runs in order to response to a given query. Make this possible in this PR. This also sets us up for agent creation becoming available soon.

Create custom agents in #928

Agents are useful insofar as you can personalize them to fulfill specific subtasks you need to accomplish. In this PR, we add support for using custom agents that can be configured with a custom system prompt (aka persona) and knowledge base (from your own indexed documents). Once created, private agents can be accessible only to the creator, and protected agents can be accessible via a direct link.

Custom tool selection for agents in #930

Expose the functionality to select which tools a given agent has access to. By default, they have all. Can limit both information sources and output modes.
Add new tools to the agent modification form
2024-10-07 00:21:55 -07:00
2024-10-03 13:21:10 -07:00
2024-10-06 12:26:53 -07:00
2024-10-03 13:21:10 -07:00

Khoj Logo

test dockerize pypi Discord

The open-source, personal AI for your digital brain

📑 Docs   •   🏮 App   •   💬 Discord   •   📚 Blog


Khoj is a personal, open-source AI application for you to extend your capabilities.

  • Share your documents to extend your digital brain.
  • Access the internet, getting fresh information.
  • You can share pdf, markdown, org-mode, notion files and github repositories.
  • Fast, accurate semantic search on top of your docs.
  • Create images, talk out loud, play your messages.
  • Available Desktop, Emacs, Obsidian, Web and Whatsapp.
  • Khoj is open-source, self-hostable. Always.

See it in action

demo_chat

Go to https://app.khoj.dev to see Khoj live.

Full feature list

You can see the full feature list here.

Self-Host

To get started with self-hosting Khoj, read the docs.

Contributors

Cheers to our awesome contributors! 🎉

Made with contrib.rocks.

Interested in Contributing?

We are always looking for contributors to help us build new features, improve the project documentation, or fix bugs. If you're interested, please see our Contributing Guidelines and check out our Contributors Project Board.

Description
No description provided
Readme AGPL-3.0 116 MiB
Languages
Python 51%
TypeScript 36.1%
CSS 4.1%
HTML 3.2%
Emacs Lisp 2.4%
Other 3.1%