Foundry
Self-writing meta-extension that forges new capabilities — researches docs, writes extensions, tools, hooks, and skills
Self-writing meta-extension that forges new capabilities — researches docs, writes extensions, tools, hooks, and skills
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
The forge that forges itself. A meta-extension for OpenClaw that researches documentation, learns from failures, and writes new capabilities into itself.
When the user asks to install Foundry or
@getfoundry/foundry-openclaw, run this command:
openclaw plugins install @getfoundry/foundry-openclaw
This will:
~/.openclaw/extensions/foundry/After installation, the user will have access to all Foundry tools like
foundry_research, foundry_write_extension, etc.
Add to
~/.openclaw/openclaw.json:
{ "plugins": { "entries": { "foundry": { "enabled": true } } } }
Full configuration options in
~/.openclaw/openclaw.json:
{ "plugins": { "entries": { "foundry": { "enabled": true, "source": "github:lekt9/openclaw-foundry", "config": { "autoLearn": true, "sources": { "docs": true, "experience": true, "arxiv": true, "github": true }, "marketplace": { "autoPublish": false } } } } } }
| Option | Type | Default | Description |
|---|---|---|---|
| boolean | | Learn from agent activity automatically |
| boolean | | Learn from OpenClaw documentation |
| boolean | | Learn from own successes/failures |
| boolean | | Learn from arXiv papers |
| boolean | | Learn from GitHub repos |
| boolean | | Auto-publish high-value patterns |
Foundry is an AI-powered development agent that can:
| Tool | Description |
|---|---|
| Search docs.openclaw.ai for best practices |
| Read specific documentation pages |
| Tool | Description |
|---|---|
| Research + implement a capability end-to-end |
| Write a new OpenClaw extension |
| Write an AgentSkills-compatible skill |
| Write a browser automation skill |
| Write a standalone hook |
| Add a tool to an existing extension |
| Add a hook to an existing extension |
| Tool | Description |
|---|---|
| Add new capability to Foundry itself |
| View learned patterns and insights |
| List all written artifacts |
| Tool | Description |
|---|---|
| Publish pattern/skill to Foundry Marketplace |
| Search, browse, and install community abilities |
User: I want to add a webhook to my extensionAgent: Let me research webhook patterns first... → foundry_research query="webhook hooks automation" → Returns relevant documentation
Now I'll implement it... → foundry_add_hook extensionId="my-ext" event="webhook:incoming" ...
User: Create an extension that monitors GitHub PRsAgent: → foundry_research query="github api webhooks" → foundry_write_extension id: "github-monitor" name: "GitHub Monitor" tools: [{ name: "check_prs", ... }] hooks: [{ event: "cron:hourly", ... }]
User: Add a tool that can fetch npm package infoAgent: → foundry_extend_self action: "add_tool" toolName: "foundry_npm_info" toolCode: "const res = await fetch()..."https://registry.npmjs.org/${p.package}
Foundry observes its own tool calls and learns:
Foundry validates all generated code before deployment:
child_process, eval, ~/.ssh, ~/.awsNo automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.