Add J.A.R.V.I.S — advanced AI assistant with Claude Opus 4.6#144
Open
leerobber wants to merge 1 commit intodocker:mainfrom
Open
Add J.A.R.V.I.S — advanced AI assistant with Claude Opus 4.6#144leerobber wants to merge 1 commit intodocker:mainfrom
leerobber wants to merge 1 commit intodocker:mainfrom
Conversation
A fully self-contained Jarvis-like personal assistant that runs as a Docker Compose service. Features: - Interactive terminal chat with streaming responses and ANSI color UI - Claude Opus 4.6 with adaptive thinking for complex reasoning - Agentic tool-use loop (manual loop preserving compaction-safe history) - 9 built-in tools with no external MCP servers required: * get_current_datetime — IANA timezone-aware date/time * calculate — safe Python math evaluation (full math module) * get_weather — live weather via wttr.in * search_web — DuckDuckGo Instant Answers API * get_wikipedia_summary — Wikipedia REST API * save_note / list_notes / read_note — persistent file-based notes * run_python — sandboxed Python execution with safe builtins - Docker named volume for notes persistence across restarts - Secret file or env-var API key injection - compose.env.yaml override for env-var-only usage https://claude.ai/code/session_01WwLSFPq695jxXafptGSMSk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces J.A.R.V.I.S (Just A Rather Very Intelligent System), a sophisticated conversational AI assistant powered by Claude Opus 4.6 with adaptive thinking, streaming responses, and a comprehensive set of built-in tools. The implementation is self-contained in a single Python module with Docker support for easy deployment.
Key Changes
Core agent (
agent.py): 717-line single-file implementation featuring:Docker containerization:
Dockerfile: Python 3.12-slim base with tzdata for timezone supportcompose.yaml: Interactive service with secret-based API key management and persistent notes volumecompose.env.yaml: Alternative compose override for environment variable-based API key injectionentrypoint.sh: Flexible credential resolution (secrets file or env var)Documentation & configuration:
README.md: Feature overview, quick-start guide, example interactions, and architecture explanationrequirements.txt: Minimal dependency (anthropic SDK only).gitignore: Protects API key secret file from accidental commitsNotable Implementation Details
run_pythonandcalculatetoolsend_turnsignalhttps://claude.ai/code/session_01WwLSFPq695jxXafptGSMSk