commit d8962d52e7e0b8efdb34aec22039e8197ea364a2 Author: Hongming Wang Date: Thu Apr 16 03:05:41 2026 -0700 feat: initial template content (extracted from molecule-monorepo) diff --git a/README.md b/README.md new file mode 100644 index 0000000..0eab62b --- /dev/null +++ b/README.md @@ -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. diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..15d0772 --- /dev/null +++ b/config.yaml @@ -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 diff --git a/system-prompt.md b/system-prompt.md new file mode 100644 index 0000000..b252b40 --- /dev/null +++ b/system-prompt.md @@ -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.