Build autonomous AI agents in 3 lines of code. Production-ready orchestration with P2P mesh networking.
Project description
JarvisCore Framework
Build autonomous AI agents in 3 lines of code. Production-ready orchestration with P2P mesh networking.
Features
- ✅ Simple Agent Definition - Write just 3 attributes, framework handles everything
- ✅ P2P Mesh Architecture - Automatic agent discovery and task routing via SWIM protocol
- ✅ Event-Sourced State - Complete audit trail with crash recovery
- ✅ Autonomous Execution - LLM code generation with automatic repair
Installation
pip install jarviscore-framework
Setup & Validation
1. Initialize Project
# Create .env.example and example files in your project
python -m jarviscore.cli.scaffold --examples
# Configure your environment
cp .env.example .env
# Edit .env and add one of: CLAUDE_API_KEY, AZURE_API_KEY, GEMINI_API_KEY, or LLM_ENDPOINT
2. Validate Installation
# Check setup
python -m jarviscore.cli.check
# Test LLM connectivity
python -m jarviscore.cli.check --validate-llm
# Run smoke test (end-to-end validation)
python -m jarviscore.cli.smoketest
✅ All checks pass? You're ready to build agents!
Quick Start
from jarviscore import Mesh
from jarviscore.profiles import PromptDevAgent
# Define agent (3 lines)
class ScraperAgent(PromptDevAgent):
role = "scraper"
capabilities = ["web_scraping"]
system_prompt = "You are an expert web scraper..."
# Create mesh and run workflow
mesh = Mesh(mode="autonomous")
mesh.add(ScraperAgent)
await mesh.start()
results = await mesh.workflow(
workflow_id="wf-123",
steps=[
{"id": "scrape", "task": "Scrape example.com", "role": "scraper"}
]
)
Architecture
JarvisCore is built on three layers:
- Execution Layer (20%) - Profile-specific execution (Prompt-Dev, MCP)
- Orchestration Layer (60%) - Workflow engine, dependencies, state management
- P2P Layer (20%) - Agent discovery, task routing, mesh coordination
Documentation
- User Guide - Complete guide for AutoAgent users
- API Reference - Detailed API documentation
- Configuration Guide - Settings and environment variables
- Troubleshooting - Common issues and solutions
- Examples - Working code examples
Development Status
Version: 0.1.0 (Alpha)
License
MIT License - see LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jarviscore_framework-0.1.1.tar.gz.
File metadata
- Download URL: jarviscore_framework-0.1.1.tar.gz
- Upload date:
- Size: 121.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c775f776c83670a1c4c5dd387bda829232d5c96bab68b87b0bf4931906910ffc
|
|
| MD5 |
7f40210e0690d27a372752bddca2da12
|
|
| BLAKE2b-256 |
240e8be84791e0783b4a51e5aaee13b0a53513cc47b3781eac4a68e37557eea2
|
File details
Details for the file jarviscore_framework-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jarviscore_framework-0.1.1-py3-none-any.whl
- Upload date:
- Size: 145.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4af4351961cd9a0df9b15f389bd4ced3a774677239482cbfb25089f6ff57e4
|
|
| MD5 |
e44d480e797d321bd4ef464fb3dcd67e
|
|
| BLAKE2b-256 |
5910e8caa82d13cd6f06558d3521bd6d2d2eba1c17307a27bbbe209e9fc693ba
|