The fastest way to add a context-aware AI to your React application.
getContext
FunctiongetContext
function. It provides four distinct speed modes, allowing you to choose the right balance of speed and quality for your application.
fast
: Direct memory search returning raw memories. Ideal for real-time applications where speed is critical.balanced
: AI synthesis using Gemini 2.5 Flash for conversational responses. Recommended for most use cases.autonomous
: Intelligent orchestration that adaptively determines context analysis depth. May take longer for complex reasoning.comprehensive
: Deep document analysis with extensive memory search. Best for research and detailed analysis.JeanChatComplete
component includes everything you need out of the box:
JeanChatComplete
uses inline styles for rapid prototyping. For production applications requiring extensive brand customization, consider Level 2 or Level 3 approaches.
JeanAuthGuard
automatically handles:
test
) automatically create isolated test users, so you can start coding immediately without any authentication setup.
useJean
HookuseJean
hook provides access to all core functionality for building custom interfaces.
getContext
function to retrieve context. It provides a simpler interface with predictable performance.tools
namespace from the useJean
hook.
tools.add_memory(content)
- Add a specific memorytools.search_memory(query)
- Search existing memoriestools.deep_memory_query(query)
- Complex relationship queriestools.store_document(title, content, type?)
- Store structured documentsuseJean
hook:
signOut()
method: