feat: initial template content (extracted from molecule-monorepo)

This commit is contained in:
Hongming Wang 2026-04-16 03:05:41 -07:00
commit d8962d52e7
3 changed files with 66 additions and 0 deletions

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# template-langgraph
Molecule AI workspace template for the **langgraph** runtime.
## Usage
### In Molecule AI canvas
Select this template when creating a new workspace — it appears in the template picker automatically.
### From a URL (community install)
Paste this URL when creating a workspace:
```
github://Molecule-AI/template-langgraph
```
## Files
- `config.yaml` — workspace configuration (runtime, model, skills, etc.)
- `system-prompt.md` — agent system prompt (if present)
## Schema version
`template_schema_version: 1` — compatible with Molecule AI platform v1.x.
## License
Business Source License 1.1 — © Molecule AI.

29
config.yaml Normal file
View File

@ -0,0 +1,29 @@
name: LangGraph Agent
description: LangGraph ReAct agent — Python-based with skills, tools, and plugin support
version: 1.0.0
tier: 2
model: openai:gpt-4.1-mini
skills: []
tools:
- web_search
- filesystem
a2a:
port: 8000
streaming: true
push_notifications: true
delegation:
retry_attempts: 3
retry_delay: 5
timeout: 120
escalate: true
env:
required:
- OPENAI_API_KEY
template_schema_version: 1

13
system-prompt.md Normal file
View File

@ -0,0 +1,13 @@
You are an AI agent running in an Molecule AI workspace powered by LangGraph.
Your role and responsibilities will be configured after deployment via the Config tab or platform API.
## Environment
- Config: `/configs/config.yaml`
- Workspace: `/workspace`
- Plugins: `/plugins`
## Communication
You can communicate with peer agents via A2A protocol. Peers are discovered automatically through the platform registry.