synalinks

Solid

Build neuro-symbolic LLM applications with Synalinks framework. Use when working with DataModel, Program, Generator, Module, training LLM pipelines, in-context learning, structured output, JSON operators, Branch/Decision control flow, FunctionCallingAgent, RAG/KAG, or Keras-like LLM workflows.

AI & Automation 897 stars 85 forks Updated 2 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 89/100

Stars 20%
98
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Synalinks Framework Synalinks is an open-source Keras-inspired framework for building neuro-symbolic LLM applications with in-context reinforcement learning. ## Core Concepts - **DataModel**: Pydantic-style schema defining structured I/O (replaces tensors) - **Module**: Computational unit processing JSON data (replaces layers) - **Program**: DAG of modules with conditional logic (replaces models) - **Rewards**: Guide training (maximize reward, not minimize loss) - **Optimizers**: Update prompts/examples via LLM reasoning (no gradients) ## Quick Start ```python import synalinks import asyncio class Query(synalinks.DataModel): query: str = synalinks.Field(description="The user query") class Answer(synalinks.DataModel): answer: str = synalinks.Field(description="The answer") async def main(): lm = synalinks.LanguageModel(model="ollama/mistral") inputs = synalinks.Input(data_model=Query) outputs = await synalinks.Generator( data_model=Answer, language_model=lm, )(inputs) program = synalinks.Program( inputs=inputs, outputs=outputs, name="simple_qa", description="A simple Q&A program", ) result = await program(Query(query="What is the capital of France?")) print(result.prettify_json()) asyncio.run(main()) ``` ## Four Ways to Build Programs ### 1. Functional API (Recommended for most cases) ```python inputs = synalinks.Input(data_model=Query) outputs = await synalinks.Generator(d...

Details

Author
SynaLinks
Repository
SynaLinks/synalinks-skills
Created
2 years ago
Last Updated
2 weeks ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

notebooklm-research

Full-autopilot AI research agent powered by Google NotebookLM (notebooklm-py v0.3.4). Ingests sources (URL, text, PDF, DOCX, YouTube, Google Drive), runs deep web research, asks cited questions, and generates 10 native artifact types (audio podcast, video, cinematic video, slide deck, report, quiz, flashcards, mind map, infographic, data table, study guide). Produces original content drafts via Claude, with optional publishing to social platforms via threads-viral-agent integration. Use this skill when the user mentions: NotebookLM, research with sources, create notebook, generate podcast from articles, turn research into content, trending topic research, research pipeline, source-based analysis, cited research answers, generate slides, generate quiz, make flashcards, deep web research, create infographic, compare sources, research report, study guide, source analysis, or knowledge synthesis.

233 Updated 1 months ago
claude-world
AI & Automation Solid

local-llm-tool

Local LLM execution tool for text generation and chat through Ollama or vLLM endpoints. Use when: running on-prem inference, calling a local GPU model, or summarizing with a self-hosted LLM.

235 Updated today
xuiltul
AI & Automation Featured

agent-builder

Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or autonomous AI (3) need help with capabilities, subagents, planning, or skill mechanisms (4) ask about Claude Code, Cursor, or similar agent internals (5) want to build agents for business, research, creative, or operational tasks Keywords: agent, assistant, autonomous, workflow, tool use, multi-step, orchestration

62,572 Updated today
shareAI-lab