Neo4j
A graph database with a persistent volume, for data an agent should query, not paraphrase.
- database
- graph
Guide: Connect to a database from outside
Run it
briq_run({
recipe: "neo4j",
params: {
"version": "5",
"size": "small",
"diskGb": 2
},
wait: true
})curl -X POST https://api.briq.cloud/v1/briqs \
-H "Authorization: Bearer $BRIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipe": "neo4j",
"params": {
"version": "5",
"size": "small",
"diskGb": 2
},
"wait": true
}'
# → { "briqs": [{ "id": "bq_…", … }], "outputs": { "NEO4J_BOLT_URL": "…" }, … }
# ... when done, for each briq id
curl -X DELETE https://api.briq.cloud/v1/briqs/<id> \
-H "Authorization: Bearer $BRIQ_API_KEY"Parameters
| Name | Type | Options | Default |
|---|---|---|---|
| version | enum | 5 | "5" |
| size | enum | nano, small, medium, large | "small" |
| diskGb | number | — | 2 |
Outputs
Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.
- NEO4J_BOLT_URL
- bolt://neo4j.<stack>.internal:7687
- NEO4J_HTTP_URL
- http://neo4j.<stack>.internal:7474
- NEO4J_USER
- neo4j
- NEO4J_PASSWORD
- <NEO4J_PASSWORD>
What it runs
| Briq | Image | Ports | Size | Volume |
|---|---|---|---|---|
| neo4j | neo4j:5 | 7474, 7687 | small | 2 GB at /data |
When to use it
- The agent's memory is relationships: which service calls which, which bug hit which customer. A graph answers "what is connected to this?" directly.
- The agent should write facts in Cypher as it learns them, and query them later.
- You are prototyping a recommendation, fraud or dependency-graph feature and need a real Bolt endpoint.
Tips
- Auth is on: user
neo4j, passwordNEO4J_PASSWORDin the outputs. - Connect from outside:
briq_exposeport 7687 withprotocol: "bolt"gives aneo4j+s://address. See Connect to a database from outside. - Bolt (
NEO4J_BOLT_URL) works with the official drivers, orcypher-shellviabriq_exec. - Browser for a human:
briq_exposeport 7474 withmode: "private"(the briq restarts to publish it), and port 7687 withprotocol: "bolt". In the Browser, connect to theneo4j+s://address asneo4j. - Bigger graph? The volume starts small: pass
diskGb, e.g.params: { diskGb: 20 }. Set it when the briq is created, and it counts toward your plan's disk.