File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1
1
# AgentAPI Chat Interface
2
2
3
- A simple ChatGPT-like interface for AgentAPI.
3
+ A simple ChatGPT-like interface for AgentAPI. It's a demo showcasing how to use AgentAPI. 95% of the code was generated with Claude Code.
4
4
5
5
## Setup
6
6
7
- 1 . Ensure the AgentAPI backend server is running on ` localhost:8080 `
7
+ 1 . Ensure the AgentAPI backend server is running on ` localhost:3284 `
8
8
9
9
2 . Install dependencies:
10
+
10
11
``` bash
11
12
npm install
12
13
```
13
14
14
15
3 . Start the development server:
16
+
15
17
``` bash
16
18
npm run dev
17
19
```
18
20
19
21
4 . Open [ http://localhost:3000 ] ( http://localhost:3000 ) in your browser
20
-
21
- ## Features
22
-
23
- - Real-time message polling (every 1 second)
24
- - Server status monitoring
25
- - Simple chat interface
26
- - Responsive design
27
-
28
- ## API Endpoints Used
29
-
30
- - ` GET /messages ` - Retrieves all messages
31
- - ` POST /message ` - Sends a new message
32
- - ` GET /status ` - Checks server status
You can’t perform that action at this time.
0 commit comments