Skip to content

Commit 9f26108

Browse files
authored
Merge branch 'develop' into mltheuser/kg-487
2 parents b96dbb5 + ea2a2f7 commit 9f26108

File tree

33 files changed

+989
-1044
lines changed

33 files changed

+989
-1044
lines changed

examples/code-agent/step-01-basic-agent/README.md

Whitespace-only changes.
File renamed without changes.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Code Agent - Step 01: Minimal Agent
2+
3+
> Code from the blog post: [Building AI Agents in Kotlin – Part 1: A Minimal Coding Agent](https://blog.jetbrains.com/ai/2025/11/building-ai-agents-in-kotlin-part-1-a-minimal-coding-agent/)
4+
5+
A minimal code agent with three tools that can navigate codebases and make targeted changes.
6+
7+
## Prerequisites
8+
9+
- Java 17+
10+
- OpenAI API key
11+
12+
## Setup
13+
14+
```bash
15+
export OPENAI_API_KEY=your_openai_key
16+
```
17+
18+
## Run
19+
20+
Navigate to this example:
21+
```
22+
cd examples/code-agent/step-01-minimal-agent
23+
```
24+
25+
Run the agent on any project:
26+
```
27+
./gradlew run --args="/absolute/path/to/project 'Task description'"
28+
```
29+
30+
Example:
31+
```
32+
./gradlew run --args="/Users/yourname/my-project 'Add error handling'"
33+
```

0 commit comments

Comments
 (0)