yada
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Uyari
- process.env — Environment variable access in .github/workflows/release.yml
- process.env — Environment variable access in deploy/server.mjs
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
The open-source agent harness for TypeScript, and the coding agent built on it. Bring any model and any MCP server; Yada asks before it acts, plans before it codes and remembers where it left off.
Yada
Yada is an open-source agent harness for TypeScript. Plug in any model, MCP server or Agent Skill from Claude, Codex or Cursor, and Yada handles the rest: it runs the tool loop, asks before it changes anything, and picks up right where it left off after a restart. The same engine powers yada, a coding agent for your terminal that plans before it codes and can use a screen even when there's no API.
- Any model: Anthropic and OpenAI on their official SDKs, Gemini, DeepSeek, Ollama, llama.cpp or any OpenAI-compatible endpoint.
- Any tools: typed tools, MCP servers (stdio or HTTP, OAuth), HTTP APIs, business databases and reusable
SKILL.mdskills. - Safe actions: writes need explicit approval, run at most once and keep durable receipts.
- Durable by default: conversations, runs and approvals survive restarts on SQLite, PostgreSQL or MySQL.
- Ready for users: streaming service API, browser client and an accessible chat widget.
- Coding agent:
yadain your terminal, with approvals, plan mode and computer use.
Used by
- Talon: hiring software that gives employers and recruitment agencies one shared workspace for roles, candidates, interviews and offers.
- Tinker Payments: one dashboard for a business's payment providers, to track payments, investigate failed ones and match them to settlements.
- Nairobi Fashion Hub: book models, designers, stylists and photographers in Kenya, and buy tickets to fashion events.
- Tinker Digital: integrations and software that connect legacy systems, payments and operations.
Using Yada in production? Open a pull request to add your project here.
Get started
The terminal installers ship a native binary; everything else needs Node 24 or newer.
Code in your terminal
curl -fsSL https://yada.edgar.co.ke/install.sh | sh
On Windows, irm https://yada.edgar.co.ke/install.ps1 | iex. Homebrew, WinGet and npm work too.
Tell yada what you want changed. It finds the code, writes the diff and checks its own work, then waits for your yes. See the terminal guide.

Plan first
yada --mode plan reads the code and proposes the changes and the checks before touching anything. Approve the plan and choose how often it asks; it then makes the edits and runs the tests.

Give it a screen
When there is no API, yada --computer browser or --computer docker lets it use a screen. Looking needs no approval; clicks and typing ask first. See computer use.

A real Gemini run, sped up.
Start a new agent app
Generate a complete app with storage, skills, typed tools and the chat widget:
npx @edgaralochi/yada init my-agent
cd my-agent
Set your provider credentials in .env, then run npm start. See the starter guide.
Add Yada to an existing backend
npm install @edgaralochi/yada
Import the runtime from @edgaralochi/yada, the browser client from @edgaralochi/yada/client and the widget from @edgaralochi/yada/widget (or the prebuilt @edgaralochi/yada/widget.js script). Narrower entry points are /providers, /storage, /mcp, /skills, /coding, /service, /langchain, /otel and /evals; the root exports all of them.
The core and the Anthropic and OpenAI-compatible providers need nothing else. Install only what you use:
| Feature | Install |
|---|---|
| SQLite storage (default) | npm install better-sqlite3 |
| PostgreSQL storage | npm install pg |
| MySQL storage | npm install mysql2 |
| Gemini | npm install @google/genai |
Browser use (playwrightComputer, playwrightBrowser) |
npm install playwright |
Desktop sandbox (startDockerComputer) |
Docker |
chatModelAdapter (@edgaralochi/yada/langchain) |
npm install @langchain/core |
otelTracer (@edgaralochi/yada/otel) |
npm install @opentelemetry/api |
Using a feature without its package fails with an error naming what to install.
Use Yada in your backend
import { z } from "zod";
import {
createProvider,
providerConfigFromEnv,
readTool,
run,
} from "@edgaralochi/yada";
const provider = createProvider(providerConfigFromEnv(process.env));
const orderStatus = readTool({
name: "order_status",
description: "Look up an order by ID.",
input: z.strictObject({ id: z.string() }),
authorize: () => Promise.resolve(true),
execute: ({ id }) => Promise.resolve(`Order ${id}: shipped`),
});
const result = await run({
provider,
tools: [orderStatus],
identity: { actorId: "user-1", tenantId: "acme" },
input: "Where is order 1042?",
system: "Help customers with their orders.",
signal: AbortSignal.timeout(30_000),
});
if (result.status === "completed") console.log(result.text);
Set YADA_LLM_PROVIDER, YADA_LLM_API_KEY and optionally YADA_LLM_MODEL; see provider configuration to choose a model. For durable runs, approvals and an HTTP API, see the worker and handler example.
Documentation
| Topic | Guide |
|---|---|
| Runtime, limits and termination | Architecture |
| Coding agent, plan mode and approvals | Terminal |
| External tool servers | MCP, MCP OAuth |
| Reusable skills | Skills |
| HTTP APIs and databases | Connectors |
| Approved write tools | Actions |
| Screen, mouse and keyboard control | Computer use |
| Conversations and recovery | Storage, Durable runs |
| Service API, streaming and chat UI | Service, Browser SDK and widget |
| Your own name and look for the chat | Widget theming |
| Context, cost, backups and retention | Operations |
| Packaging and Docker | Deployment |
| Agent scenarios in CI and against live models | Evals |
| Breaking changes between versions | Upgrading |
Develop from source
nvm use
npm ci
npm run demo
The demo runs a catalog lookup without an API key. To run it against a live model, copy .env.example to .env, set your provider credentials and run npm run demo:live:
YADA_LLM_PROVIDER=anthropic
YADA_LLM_MODEL=claude-opus-5-5
YADA_LLM_API_KEY=your-anthropic-api-key
.env.example lists the optional settings, such as effort, temperature, prompt caching, web search and code execution; see configuration. Live requests are billed to your provider account, so keep .env private. For the full starter, run npm run starter:init, add credentials to .env, then npm run starter.
Before opening a pull request, read CONTRIBUTING.md. Report security issues as described in SECURITY.md.
License
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi