{"id":35005690,"url":"https://github.com/tanmayvaij/diaflow","last_synced_at":"2026-04-10T05:03:37.878Z","repository":{"id":315937535,"uuid":"1060754573","full_name":"tanmayvaij/diaflow","owner":"tanmayvaij","description":"DiaFlow is a lightweight AI agent framework built on top of Google GenAI. It enables you to easily create tool-using agents with memory and structured JSON outputs powered by Zod","archived":false,"fork":false,"pushed_at":"2025-11-04T10:59:51.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-24T00:04:34.464Z","etag":null,"topics":["agent","ai-agents","framework","gemini","gemini-ai","gemini-api","wrapper","wrapper-library"],"latest_commit_sha":null,"homepage":"https://diaflow.netlify.app","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tanmayvaij.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T14:24:06.000Z","updated_at":"2025-11-04T10:58:22.000Z","dependencies_parsed_at":"2025-10-23T18:15:57.781Z","dependency_job_id":null,"html_url":"https://github.com/tanmayvaij/diaflow","commit_stats":null,"previous_names":["tanmayvaij/dia-ai","tanmayvaij/diaflow"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/tanmayvaij/diaflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fdiaflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fdiaflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fdiaflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fdiaflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanmayvaij","download_url":"https://codeload.github.com/tanmayvaij/diaflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fdiaflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28072390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai-agents","framework","gemini","gemini-ai","gemini-api","wrapper","wrapper-library"],"created_at":"2025-12-27T04:37:12.675Z","updated_at":"2025-12-27T04:37:15.941Z","avatar_url":"https://github.com/tanmayvaij.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🌊 DiaFlow\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eComposable AI Agent Framework\u003c/b\u003e for building multi-model workflows with ease.  \n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/tanmayvaij/diaflow-core\"\u003eCore\u003c/a\u003e •\n  \u003ca href=\"https://github.com/tanmayvaij/diaflow-gemini\"\u003eGemini\u003c/a\u003e •\n  \u003ca href=\"https://github.com/tanmayvaij/diaflow-openrouter\"\u003eOpenRouter\u003c/a\u003e •\n  \u003ca href=\"https://github.com/tanmayvaij/diagem-cli-bot\"\u003eExamples\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## 🧩 Overview\n\nDiaFlow is a **modular framework** for building AI-driven workflows and conversational agents.  \nIt separates the **core orchestration layer** from **LLM backends**, making it flexible, extendable, and cloud-agnostic.\n\nWhether you're integrating **Gemini**, **OpenRouter**, or your own LLM — DiaFlow keeps the experience consistent and developer-friendly.\n\n---\n\n## 📦 Monorepo Layout\n\n| Package | Description |\n|----------|--------------|\n| [`diaflow-core`](https://github.com/tanmayvaij/diaflow-core) | Core runtime for agent logic, tools, and orchestration. |\n| [`diaflow-gemini`](https://github.com/tanmayvaij/diaflow-gemini) | Connector for Google Gemini models (`gemini-2.0-flash`, `gemini-1.5-pro`, etc). |\n| [`diaflow-openrouter`](https://github.com/tanmayvaij/diaflow-openrouter) | Adapter for OpenRouter API supporting multiple open models. |\n\nEach module is **standalone**, but they work best when composed together.\n\n---\n\n## ⚡ Quick Start\n\n### 1️⃣ Install a module\n\n```bash\nnpm install diaflow-gemini\n# or\nnpm install diaflow-openrouter\n````\n\n### 2️⃣ Create an agent\n\n```ts\nimport Agent from \"diaflow-gemini\";\n\nconst agent = new Agent({\n  apiKey: process.env.GEMINI_API_KEY!,\n  model: \"gemini-2.0-flash\",\n});\n\nconst reply = await agent.run(\"Hello DiaFlow!\");\nconsole.log(\"🤖 AI:\", reply);\n```\n\n### 3️⃣ Environment Variables\n\n```bash\nGEMINI_API_KEY=your_key_here\n```\n\n---\n\n## 💡 Example Projects\n\n| Example            | Description                                    | Repository                                             |\n| ------------------ | ---------------------------------------------- | ------------------------------------------------------ |\n| **diagem-cli-bot** | A minimal CLI chatbot using `diaflow-gemini`   | [View →](https://github.com/tanmayvaij/diagem-cli-bot) |\n| *(coming soon)*    | Web and API examples with `diaflow-openrouter` | —                                                      |\n\n---\n\n## 🧠 Design Philosophy\n\nDiaFlow is built around three principles:\n\n1. **Composability** — Everything is modular and replaceable.\n2. **Simplicity** — Small surface area, no magic.\n3. **Extensibility** — Easy to add custom tools, models, or workflows.\n\n---\n\n## 🗺️ Roadmap\n\n* [ ] Unified CLI for agent creation and flow management\n* [ ] Visual flow editor for defining logic nodes\n* [ ] Plugins for memory, vector stores, and APIs\n* [ ] Example integrations with LangChain and FastAPI\n\n---\n\n## 🧑‍💻 Author\n\nBuilt by [**Tanmay Vaij**](https://github.com/tanmayvaij) with 💙\nFollow for updates and upcoming releases!\n\n---\n\n## 📄 License\n\nMIT License © 2025 Tanmay Vaij\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanmayvaij%2Fdiaflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanmayvaij%2Fdiaflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanmayvaij%2Fdiaflow/lists"}