Turn intention into infrastructure. Local-first AI agent bootstrapper.
Project description
🏺 OpenClay — turn intention into infrastructure.
You describe what you want. OpenClay reads your machine, builds a local AI stack, and starts working. No config files. No copy-paste. Everything it learns about you stays on your computer, in files you own.
pip install openclay-agent
Or from source:
git clone https://github.com/openclay1/OpenClay.git && cd OpenClay && pip3 install -r requirements.txt && python3 app.py
| Your hardware | What OpenClay runs |
|---|---|
| 32 GB+ RAM, Apple Silicon / 6 GB+ VRAM | llama3:8b — full reasoning |
| 16 GB+ RAM, Apple Silicon / CUDA | qwen2.5:7b — fast + capable |
| 16 GB+ RAM, Intel, no discrete GPU | qwen2.5:3b-instruct-q4_K_M — lean workhorse |
| 8 GB+ RAM | qwen2.5:1.5b — lightweight |
| Under 8 GB | Template-only mode — no model needed |
| Any machine + API key | Claude, GPT-4, etc. via config |
What it does today
- Single input, single button. Type an intention, hit Go.
- Hardware detection → model selection → silent install. You don't pick a model. It does.
- LLM Wiki. Karpathy-pattern knowledge base. Ingest files, query your wiki, lint for health. Local markdown, yours forever.
- Tweet drafting and posting. Draft from intention, review, post — or post directly.
- Persistent memory. AGENTS.md tracks what works, what fails, your preferences. The agent reads it before every action.
How it works
intention → hardware scan → model install → execution → wiki memory
Everything runs locally through Ollama. No data leaves your machine.
Wiki
OpenClay maintains a local wiki that compounds over time. Drop a file in raw/, type ingest filename, and the LLM breaks it into concept pages, entity pages, and source summaries. Query it later. Lint it for contradictions.
raw/ ← your files, immutable, LLM never writes here
wiki/
concepts/ ← idea pages
entities/ ← people, orgs, tools
sources/ ← one summary per ingested file
comparisons/ ← cross-source analysis
index.md ← auto-generated catalog
log.md ← append-only activity record
The wiki is not for you. It's for the agent — so it can act with consistency.
Configuration
cp .env.example .env
Most things work with zero config. Add Twitter keys only if you want to post.
Project structure
app.py — entry point
panel.py — browser UI (Gradio)
agent_backend.py — switchable LLM backend
wiki_engine.py — wiki operations: ingest, query, lint
memory.py — AGENTS.md persistent memory
twitter_post.py — tweet posting (Tweepy)
introspect.py — hardware detection
theme.css — design system
openclay.md — wiki schema
wiki/ — agent's compounding memory
raw/ — immutable source documents
Every module stays under 300 lines.
Principles
- Act, don't ask. If the agent can do it, it does it.
- Local-first. No cloud dependency for core function.
- Files over apps. Markdown you own, not data locked in a platform.
- Install what's missing. Silent. No questions.
License
MIT — it's yours.
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 openclay_agent-2.0.0.tar.gz.
File metadata
- Download URL: openclay_agent-2.0.0.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9934265067924bac7cad2784addaac945ad158b73a23d9dd20de9bd185cdb8fe
|
|
| MD5 |
a255b77d6ae438c2c12b52848df12f33
|
|
| BLAKE2b-256 |
ed4bc66f7322631d9de7558366dbfce40f74ee47aef51026968b6830cf09155c
|
File details
Details for the file openclay_agent-2.0.0-py3-none-any.whl.
File metadata
- Download URL: openclay_agent-2.0.0-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2f8a889d223c501d4d2593dd53a0cc64b1636c8a24bb66e1fdba6d82afc8c09
|
|
| MD5 |
75d4c0bc80b686c01b8c0367b6d6101a
|
|
| BLAKE2b-256 |
ce0a286a3e9b778769f2bc0fd9482b52d3379d6ec883dc7196fba9d9f906e94a
|