{"repo":"gtanczyk/genaicode","free":true,"listed":false,"github":"https://github.com/gtanczyk/genaicode","clone":"git clone https://github.com/gtanczyk/genaicode.git","description":"A small, provider-neutral TypeScript toolkit for calling LLMs from backend code—portable prompts, chains, plugins, and adapters for OpenAI, Anthropic, Gemini, and Vertex AI.","language":"TypeScript","stars":47,"topics":["ai","claude","code-generation","codegen","codellm","coding-assistant","engineer","gemini","gpt","nodejs"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"GenAIcode GenAIcode is a small TypeScript toolkit for using LLMs in backend code. It sits between raw provider SDKs and full agent frameworks: one prompt representation, thin provider adapters, a convenient request API, and lightweight conversation chains. It does not inspect repositories, execute shell commands, edit files, or run an agent UI. Like jQuery , the common case starts with one small function and becomes more specific through chaining—configure a request, follow up across multiple prompts, and keep history portable without adopting a full agent framework. GenAIcode 1.x was a coding agent; see Migration from 1.x if you need the old product or the 2.0 scope decisions. Install Node.js 20 or newer is required. Why this vs a raw SDK Provider SDKs are the right tool when you call one vendor and own every request shape yourself. The cost shows up when the same backend needs a second provider, a test double, or shared policy (timeouts, JSON parsing, rate limits, fallback) without copying glue. GenAIcode is that thin shared layer: - One portable prompt/tool IR ( PromptItem ) instead of OpenAI messages vs Anthropic blocks vs Gemini contents. - One request API ( .text() , .json() , .stream() , chains) over those adapters. - A tiny ModelProvider seam so tests and custom gateways do not mock vendor HTTP. - Opt-in middleware and retry helpers—no hidden tool runners, no silent retries, no agent loop. If you are happy importing one SDK and never swapping models or providers, stay","default_branch":null,"files":null,"tree":[],"storefront":"/r/gtanczyk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gtanczyk/genaicode/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}