AgentDB CLI non-responsive
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 812
- Forks
- 175
- Avg merge
- 2m
- Merged PRs (30d)
- 3
Description
From the README which is what's on the NPM site:
# Create a new database
agentdb init ./my-agent-memory.db
Does nothing.
➜ cs-main git:(add-agent-db) agentdb init ./my-agent-memory.db
➜ cs-main git:(add-agent-db) echo $?
0
➜ cs-main git:(add-agent-db) ls .my-agent-mempory.db
ls: .my-agent-mempory.db: No such file or directory
➜ cs-main git:(add-agent-db) npm instal -g agentdb
⠏^C
➜ cs-main git:(add-agent-db) npm instal -g agentdb
npm error code EEXIST
npm error path /Users/drew/.nvm/versions/node/v22.21.1/bin/agentdb
npm error EEXIST: file already exists
npm error File exists: /Users/drew/.nvm/versions/node/v22.21.1/bin/agentdb
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
npm error A complete log of this run can be found in: /Users/drew/.npm/_logs/2025-11-18T17_07_00_258Z-debug-0.log
➜ cs-main git:(add-agent-db) agentdb --help
➜ cs-main git:(add-agent-db) echo $?
0
Downgrading to 1.0.7 succeeds
➜ cs-main git:(add-agent-db) npm install -g agentdb@1.0.7 --force
npm warn using --force Recommended protections disabled.
added 171 packages in 15s
41 packages are looking for funding
run `npm fund` for details
➜ cs-main git:(add-agent-db) agentdb init ./my-agent-memory.db
📦 Initializing agent memory database: ./my-agent-memory.db
❌ Failed to initialize database: Cannot read properties of undefined (reading 'smallDataset')
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the AgentDB README section linked at line 455 and reproduce agentdb init ./my-agent-memory.db using the current published package and version 1.0.7. Compare the silent exit and the reported smallDataset error; done means the documented command responds and creates the requested database file, with the relevant CLI behavior covered by an available test if the package exposes one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100