Skip to content

Commit 515c8de

Browse files
committed
#7529 ticket md files
1 parent 8b8cc35 commit 515c8de

3 files changed

Lines changed: 64 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: "Epic: Implement Agent-Managed Database Tools"
3+
labels: epic, AI
4+
---
5+
6+
GH ticket id: #7529
7+
8+
**Assignee:** tobiu
9+
**Status:** To Do
10+
11+
## Scope
12+
13+
Enhance the `knowledge-base` and `memory-core` MCP servers with tools that allow an AI agent to start and stop their respective ChromaDB instances. The servers will still connect to pre-existing databases if available, but will now provide the agent with the capability to manage the database lifecycle itself. This hybrid approach offers maximum flexibility for both developers and agents.
14+
15+
## Top-Level Items
16+
17+
- `ticket-kb-add-db-tools.md`: Add `start/stop_database` tools to the Knowledge Base server.
18+
- `ticket-mc-add-db-tools.md`: Add `start/stop_database` tools to the Memory Core server.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: "Add Database Management Tools to Knowledge Base Server"
3+
labels: enhancement, AI
4+
---
5+
6+
Parent epic: #7529
7+
GH ticket id: #7530
8+
9+
**Phase:** 1
10+
**Assignee:** tobiu
11+
**Status:** To Do
12+
13+
## Description
14+
15+
To give agents more control over their environment, we will add tools to the Knowledge Base server to start and stop its underlying ChromaDB instance.
16+
17+
## Acceptance Criteria
18+
19+
1. A `start_database` tool is added to the `knowledge-base` server's `openapi.yaml`.
20+
2. The tool's service handler executes `chroma run --path ./chroma` as a background process.
21+
3. A `stop_database` tool is added, which can terminate the process started by `start_database`.
22+
4. The `healthcheck` tool is updated to include the running status of the database process.
23+
5. The new tools are implemented in a new `databaseLifecycleService.mjs`.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: "Add Database Management Tools to Memory Core Server"
3+
labels: enhancement, AI
4+
---
5+
6+
Parent epic: #7529
7+
GH ticket id: #7531
8+
9+
**Phase:** 1
10+
**Assignee:** tobiu
11+
**Status:** To Do
12+
13+
## Description
14+
15+
To give agents more control over their environment, we will add tools to the Memory Core server to start and stop its underlying ChromaDB instance.
16+
17+
## Acceptance Criteria
18+
19+
1. A `start_database` tool is added to the `memory-core` server's `openapi.yaml`.
20+
2. The tool's service handler executes `chroma run --path ./chroma-memory --port 8001` as a background process.
21+
3. A `stop_database` tool is added, which can terminate the process started by `start_database`.
22+
4. The `healthcheck` tool is updated to include the running status of the database process.
23+
5. The new tools are implemented in a new `databaseLifecycleService.mjs`.

0 commit comments

Comments
 (0)