The NeuralRepo AI agent is a conversational assistant embedded directly in the web app. It can search your ideas, create new ones, discover connections, brainstorm, summarize, and perform advanced analysis — all through natural language, with results rendered as visual artifacts.
A full split-pane view with a chat panel on the left and an artifact canvas on the right. Access it from the Neural Canvas tab in the web dashboard. Best for deep exploration sessions where you want to see multiple artifacts side-by-side.
Mind Map Chat Panel
A floating, draggable chat panel that hovers over the mind map. Tool results animate directly onto the graph — nodes appear, edges draw, and clusters form in real time. Best for exploring your idea graph while conversing with the agent.
The agent supports multiple models. Anthropic models require a BYOK key; Workers AI models are available to all Pro users with no key required.
Key
Label
Provider
BYOK Required
Context
Notes
sonnet
Sonnet
Anthropic
Yes
200K
Default; best reasoning
haiku
Haiku
Anthropic
Yes
200K
Faster, lower cost
opus
Opus
Anthropic
Yes
200K
Most capable
qwen-30b
Qwen 30B
Workers AI
No
32K
Creative tasks, brainstorm sub-agent
llama-70b
Llama 70B
Workers AI
No
128K
General purpose
gpt-oss-120b
GPT-OSS 120B
Workers AI
No
128K
General purpose
mistral-small-24b
Mistral Small 24B
Workers AI
No
32K
Fast, compact
The model selector appears at the top of both chat interfaces. Your last-used model is remembered in localStorage.
All Anthropic requests are routed through Cloudflare AI Gateway — providing logging, caching, and rate limiting without exposing your key to additional parties.
The agent is a Cloudflare Durable Object (NeuralRepoAgent) built on the Agents SDKAIChatAgent class. It persists conversation history per user across sessions.
Browser → WebSocket → /api/v1/agent/ws
│
Durable Object (NeuralRepoAgent)
│
streamText (Vercel AI SDK)
│
┌─────┴─────────────┐
│ Anthropic (BYOK) │ ← AI Gateway
│ Workers AI │ ← AI binding
└───────────────────┘
Messages stream back over the WebSocket connection. The frontend uses the Agents SDK client to manage the connection and reconstruct streaming state.
Anthropic models support extended thinking — internal reasoning the model performs before responding. In the chat UI, a collapsible “Thought process” block appears above the response when thinking is active. While the model is still generating, an animated neural icon shows it is working.
Each conversation begins with a system prompt that includes:
The user’s total idea count
5 most recent ideas (3 for compact-prompt models)
Up to 20 tags (10 for compact models)
In Graph Mode (mind map chat panel), the system prompt also includes a note that the graph is the primary output, encouraging the agent to use tools aggressively and keep prose brief.
When using the chat panel embedded in the mind map, tool results animate directly onto the graph:
New ideas — nodes appear with a pulse animation
New connections — edges draw with an animation along the path
Search results — matching nodes highlight
Semantic layout — nodes re-cluster with a physics re-heat
Every graph mutation is added to an undo stack. The undo button in the chat panel header reverses the last agent action (deleting created relations, removing created ideas, etc.).
When you have nodes selected in the mind map, the agent automatically receives a list of selected idea IDs and titles as additional context. This allows prompts like “compare these” or “link these ideas” to work without you naming the ideas explicitly.