You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codebolt is an extremely powerful platform for AI-driven code editing and generation. The core strength of Codebolt lies in its agent-based architecture, where specialized AI agents handle different aspects of software development, from code generation to testing and deployment.
8
+
Codebolt is an extremely powerful AI driven coding system. Think of Codebolt as the Selenium of code editors. Just like Selenium or Playwright lets you control an entire browser. Similarly, Codebolt allows agents to control the entire code editor. Codebolt has been built from ground up for the AI-Egentic era.
9
+
10
+
Unlike other editors like cursor where they have a single agent that is the core of the application, CodeBolt takes a different approach where it allows you to write your own agents and the agent logics.
9
11
10
12
## What is a Codebolt Agent?
11
13
12
-
A Codebolt Agent is a custom AI-powered application that connects to the Codebolt platform to execute specific development tasks. Think of agents as specialized developers with unique skills - one might excel at React component generation, another at API development, and yet another at testing automation.
14
+
Codebolt agents are intelligent AI assistants that leverage Codebolt's APIs to interact with your code editor. They analyze user requirements, communicate with large language models (LLMs), and execute actions like code editing, file manipulation, and task automation within your development environment.
13
15
14
-
### Key Characteristics
16
+
##What is it different?
15
17
16
-
-**Specialized**: Each agent focuses on specific development tasks or domains
17
-
-**Autonomous**: Agents can make decisions and take actions using LLM reasoning
18
-
-**Connected**: Agents integrate seamlessly with the Codebolt application
19
-
-**Extensible**: Agents can use tools and call other agents for complex workflows
20
-
-**Reusable**: Once created, agents can be shared and used across projects
18
+
Codebolt agents are fundamentally different from other agents like in cursors or trae. Other code editors provide you with an option to create a custom code agent only by changing the core prompt or by selecting the available tools. On the contrary, a code bolt agent provides you with actual editor APIs for you or the AI to interact with the editor. Code bolt agents are code based agents where you can write custom codes which might include any process, any workflows along with agentic AI logics. While we also support a very simple cursor style agent creation called as [remix agents](/docs/developer/agents/remixAgents) but the real power of code bolt comes with custom code-based agents.
21
19
22
20
## How Agents Work
23
21
@@ -32,14 +30,20 @@ Codebolt agents operate through an agentic process flow that combines:
32
30
33
31
## Agent Architecture
34
32
33
+
This is a very high level architecture of Codebolt and Agent Interaction. The Codebolt Application handles the orchestration of the agents based on the user chat and provides services for agents to use.
34
+
35
35
```mermaid
36
36
graph TB
37
37
subgraph "Codebolt Application"
38
38
A[Codebolt Editor]
39
39
B[Agent Orchestrator]
40
-
C[Universal Agent Router]
41
-
D[Tool Registry]
42
-
E[File System]
40
+
C[Service Manager]
41
+
42
+
subgraph "Agent Services"
43
+
K[LLM Providers]
44
+
M[MCP Services]
45
+
E[File System]
46
+
end
43
47
end
44
48
45
49
subgraph "Agent Runtime"
@@ -49,62 +53,168 @@ graph TB
49
53
I[System Prompts]
50
54
J[Task Instructions]
51
55
end
52
-
53
-
subgraph "External Services"
54
-
K[LLM Providers]
55
-
L[External APIs]
56
-
M[Tool Services]
57
-
end
58
-
59
56
A --> B
60
-
B --> C
61
-
C --> F
57
+
A --> C
62
58
F --> G
63
59
G --> H
64
60
H --> I
65
61
H --> J
66
62
67
-
G <--> A
68
-
G <--> D
69
-
G <--> E
63
+
G <--> C
64
+
65
+
C <--> E
66
+
C --> K
67
+
C --> M
68
+
B --> F
69
+
```
70
+
71
+
72
+
73
+
## Agent Flow
74
+
75
+
The following sequence diagram illustrates the complete flow of how a user request is processed through Codebolt and agents:
76
+
77
+
```mermaid
78
+
sequenceDiagram
79
+
80
+
81
+
participant User
82
+
box Codebolt Editor
83
+
participant Codebolt as Editor UI
84
+
participant LLM as LLM Service
85
+
participant Tools as MCP Services
86
+
participant ServiceMgr as Service Manager
87
+
end
88
+
participant Agent as Custom Agent
89
+
90
+
User->>Codebolt: Send request/message
91
+
Note over User,Codebolt: User types a request in chat
92
+
93
+
Codebolt->>Agent: Start agent & forward message
94
+
Note over Codebolt,Agent: Agent Orchestrator routes to appropriate agent
70
95
71
-
H --> K
72
-
H --> L
73
-
H --> M
96
+
97
+
Agent->>ServiceMgr: Send LLM request with context
98
+
Note over Agent,ServiceMgr: Agent calls LLM service via Service Manager
99
+
100
+
ServiceMgr->>LLM: Route to LLM provider
101
+
Note over ServiceMgr,LLM: Service Manager handles LLM routing
102
+
103
+
LLM->>ServiceMgr: Return response with tool calls
104
+
ServiceMgr->>Agent: Forward LLM response
105
+
Note over ServiceMgr,Agent: LLM suggests actions and tools to use
106
+
107
+
loop Till LLM suggests to stop
108
+
Agent->>ServiceMgr: Request tool execution
109
+
Note over Agent,ServiceMgr: Agent calls specific tools via Service Manager
110
+
111
+
ServiceMgr->>Tools: Execute tool/service
112
+
Note over ServiceMgr,Tools: File, code, MCP services, etc.
113
+
114
+
Tools->>ServiceMgr: Return tool result
115
+
ServiceMgr->>Agent: Send tool result back
116
+
74
117
75
-
F --> B
118
+
Agent->>ServiceMgr: Send tool results for next LLM call
119
+
Note over Agent,ServiceMgr: Agent reports tool execution results
0 commit comments