mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 10:52:15 +00:00
Closes the remaining feature gaps vs Qwen-Agent, CoPaw, Google ADK, Apple FM SDK, and LFM2: SDK: - Add ask_stream() and ask_full_stream() async generator methods to Jarvis class Orchestrator: - Parallel tool execution via ThreadPoolExecutor (parallel_tools=True by default) Engine: - ResponseFormat dataclass for structured output / JSON mode - OpenAI, Anthropic, Google, and Ollama structured output support Tools: - DockerCodeInterpreterTool (code_interpreter_docker) with sandboxed execution - sandbox-docker optional dependency Rust: - Session checkpointing with checkpoint(), rewind(), list_checkpoints() Examples (5 hero demo apps): - browser_assistant — web browsing agent - security_scanner — project security auditor - daily_digest — morning news briefing - doc_qa — document Q&A with memory indexing - multi_model_router — cost-optimized model routing Docs: - 10 copy-paste code snippets page - "What You Can Build" quickstart section Tests: 275 Python tests pass, 392 Rust tests pass, lint clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Browser Assistant
A web browsing agent that uses OpenJarvis's orchestrator loop with browser, web_search, and think tools to find and synthesize information from the web.
Requirements
- OpenJarvis installed (
pip install openjarvisoruv sync --extra dev) - An inference engine running (Ollama, cloud API, vLLM, etc.)
Usage
python examples/browser_assistant/browser_assistant.py --help
python examples/browser_assistant/browser_assistant.py --query "Find the latest Python 3.13 features"
python examples/browser_assistant/browser_assistant.py --query "Compare AWS vs GCP pricing" \
--model gpt-4o --engine cloud --max-turns 20
How It Works
The script creates a Jarvis instance configured with the orchestrator agent
and three tools:
- browser -- navigates to web pages and extracts content
- web_search -- searches the web for relevant results
- think -- internal reasoning scratchpad for the agent
The orchestrator runs a multi-turn loop: searching, browsing, reasoning, and repeating until it has enough information to produce a comprehensive answer with cited sources.