Skip to content

Commit 98dc6a5

Browse files
committed
updating documentation
1 parent 990e856 commit 98dc6a5

7 files changed

+67
-1
lines changed

docs/agents/1_agentIntroduction.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Agents Introduction
2+
3+
Codebolt is an extremely powerful tool for AI Code Editing and AI Code Generation. Most of the power of Codebolt comes from the ability to use Agents. These agents are powerful tools that can be used to automate tasks, generate code, and even create entire applications.
4+
5+
## What is an Agent?
6+
7+
Codebolt uses AI Agents for doing all the actions. Thing of Codebolt Editor as a big Agent Orchestrator that can use any agent in the marketplace to do any task.
8+
AI Agents interface with Codebolt using Codebolt Editor APIs. They can run any logic from talking to LLMs, updating the code, and any other tasks. They can use decision making power of LLMs to make decisions and take actions.
9+
10+
## Codebolt Editor APIs
11+
12+
Codebolt Editor exposes all the functionality of the Editor in the format of APIs. We have created various Libraries to access the Editor APIs. These libraries are available in the following languages:
13+
- [JavaScript](https://github.com/codebolt-ai/codebolt-js)
14+
- [Python](https://github.com/codebolt-ai/codebolt-python)
15+
16+
## Codebolt Agents
17+
18+
Codebolt has Multiple Types of Agents that can do various tasks.
19+
- [Universal Agents](./AgentTypes/universalAgents.md)
20+
- [Action Agents](./AgentTypes/actionAgents.md)
21+
22+
### Universal Agents
23+
Universal Agents are called whenever the user sends any chat in the editor or asks to perform any action that can be resolved to any agent. You can learn more about them at [Universal Agents](./AgentTypes/universalAgents.md)
24+
25+
### Action Agents
26+
Action Agents are called whenever the user sends any chat in the editor or asks to perform any action that can be resolved to any agent. You can learn more about them at [Action Agents](./AgentTypes/actionAgents.md)
27+
28+
## Create your own Agents
29+
You can create your own Agents and use them in the editor. You can learn more about them at [Create your own Agents](./AgentTypes/createYourOwnAgents.md)
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Create your First Extension
22

33

4-
## Create Codebolt Agent
4+
## Create Codebolt Agent
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Create Custom Universal Agents
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Universal Agents
2+
3+
Whenever the user sends any chat in the editor, Universal Agents are called to handle that Chat Request.
4+
5+
The Universal Agents performs the following tasks:
6+
- Understands the user's message and devises a plan to achieve the user's goal.
7+
- Creates a list of tasks to be performed to achieve the user's goal. In a sense, it generates a DAG (Directed Acyclic Graph) of tasks to be performed. See [Task Graph](./taskGraph.md)
8+
- Matches the tasks with the available agents and picks the best agents to perform those tasks. These could be one or more Agents depending on the Task Graph, and hence generating a DAG of Agents. See [Agent Graph]().
9+
10+
## Integrated Universal Agent
11+
12+
There is one Universal Agent that is integrated within the Codebolt Editor. This ensures that the code does not leaves the editor as well as also to decreate the response latency.
13+
14+
## Custom Universal Agents
15+
16+
You can also have Custom Universal Agents, that can route the user query requests to the appropriate agents using your custom logic or custom LLMs. We have an option to create your own Universal Agents. You can learn more about them at [Create your own Universal Agents](../CreateAgents/createUniversalAgent.md)
17+
18+
19+
## Architecture Choices
20+
21+
The Concept of Universal Agents is Created so that we can route the user query requests to a set of appropriate agents.
22+
23+
This is a very powerful concept as it allows for using all the agents in the marketplace to be available at disposal, and allows Codebolt to function as a Mega Agent.
24+
25+
While we keep on updating the logic for Agent Selection, based on our custom training models, we have allowed you to write your custom logic for universal agents.
26+
27+
## Why Write Custom Universal Agents?
28+
29+
There are many reasons for you to write your own Universal Agents.
30+
- You might have a better logic for agent selection.
31+
- You might want to use a specific Agent for doing something.
32+
- You might want to avoid using any specific Agent for doing something.
33+
- You might have trained a better model for agent selection.
34+
35+
There are multiple reasons for you to write your own Universal Agents.

docs/agents/AgentTypes/actionAgents.md

Whitespace-only changes.

0 commit comments

Comments
 (0)