cd /news/ai-agents/edgar-the-on-call-ai-software-engine… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-179801] src=github.com β†— pub= topic=ai-agents verified=true sentiment=↑ positive

Edgar the On-Call AI Software Engineer

Kana AI released EDGAR, an on-call AI software engineer that reads a card from a tracker such as Linear or GitHub Issues, works out the change, and opens a draft pull request that has passed the project's checks and a code review, with a person performing the merge. EDGAR runs on the user's own server, works with Claude Code, the Claude Agent SDK or Codex, and stores every workflow step in Postgres so a run survives a crash or restart; each agent stage runs in its own sandbox and session, and EDGAR stops to ask a person one clear question when stuck. The engine, API, command line, sandbox, card-to-pull-request workflow and extensions work today, and the project is available from GitHub Releases.

key takeaway

EDGAR persists each workflow stage to Postgres before the next begins, so a run resumes after a crash or restart, and it never merges its own pull request β€” it waits up to 14 days for a person to merge or close it.

read9 min views14 publishedDec 1, 2026
Edgar the On-Call AI Software Engineer
Image: Michielbdejong (auto-discovered)

EDGAR reads a card from your tracker, works out what to change, and opens a pull request that passed your checks and a code review. A person merges it. When EDGAR is stuck, it stops and asks a person one clear question. It runs on your own server, works with the coding agent you already use (Claude Code, the Claude Agent SDK or Codex), and keeps everything in one Postgres database.

EDGAR is early: get it from Releases. The engine, the API, the command line, the sandbox, the card-to-pull-request workflow and the extensions work today. See Status.

A card goes through these stages. Each agent stage is its own session, in its own sandbox. Each step is saved in Postgres before the next one starts, so a run survives a crash or a restart and goes on from where it stopped.

Stage What EDGAR does
Triage Reads the card and decides whether the work is clear and in scope.
Plan Finds the root cause when the project asks for it, then writes the plan for the change.
Checkout Makes a fresh checkout of the repository for the run.
Implement Makes the change on its own branch, edgar/<run id> .
Verify Runs your project's checks.
Review A reviewer reads the change, a second agent tests each finding, and a fixer applies the real ones.
Pull request Lists what no check proved, then pushes the branch and opens a draft pull request.
CI Waits for your CI, fixes a check that fails, then marks the pull request ready.
Merge and deploy Waits up to 14 days for a person to merge or close the pull request; EDGAR never merges. It can then wait for the deploy.

When EDGAR is stuck at any stage, it stops and asks a person. Workflows lists every step.

edgar init writes a workspace that you can read and change. You keep it in Git, except for .env.

my-workspace/
β”œβ”€β”€ edgar.toml                       # The workspace: its name, its projects, the database and the server
β”œβ”€β”€ edgar.config.ts                  # The extensions you mount, such as GitHub and Linear
β”œβ”€β”€ projects/<name>/edgar.toml       # One project: its repositories, where its work comes from, its checks
β”œβ”€β”€ agents/<name>/AGENT.md           # Instructions for an agent, in plain words
β”œβ”€β”€ skills/workspace-rules/SKILL.md  # A skill any agent can load
β”œβ”€β”€ README.md                        # What this workspace is and how to start it
β”œβ”€β”€ .gitignore                       # Keeps .env out of Git
β”œβ”€β”€ .env                             # Your tokens, written with mode 600; never committed
└── .env.example                     # The same variable names with no values; safe to commit

You mount extensions in TypeScript. EDGAR checks every option when it loads the file, and so does your editor once you install the SDK from npm:

import { defineConfig } from '@edgar/core';
import { claudeCode } from '@edgar/extension-claude-code';
import { github } from '@edgar/extension-github';
import { linear } from '@edgar/extension-linear';

export default defineConfig({
  extensions: [github({ repos: ['your-org/api'] }), linear({ teams: ['ENG'] }), claudeCode()],
});

A project names its repository, where its work comes from, and the checks a change must pass:

[project]
name = "api"

[[repositories]]
url = "https://github.com/your-org/api"

[[feeders]]
mount = "linear"
workflow = "card.to-pr"

[[checks]]
name = "unit-tests"
run = "bun test"

The configuration reference lists every key.

  • Card : a ticket or an issue in your tracker, such as Linear or GitHub Issues. Scanner findings and log incidents become cards too.
  • Run : one card going through a workflow. Every step of a run is saved.
  • Workflow : the list of steps EDGAR takes for a card.card.to-pr is the main one.
  • Extension : a TypeScript package that connects EDGAR to something outside it: a tracker, a code host, a chat, a log source or a coding agent.
  • Runtime : the coding agent that does an agent step: Claude Code, the Claude Agent SDK or Codex.
  • Workspace : the folder that holds your settings.Project : one entry in it, with its repositories and checks.

You need Bun 1.4.5, Git and Docker. On Linux, agent sessions run in a systemd sandbox.

Open this repository in your coding agent and ask it to set up EDGAR with the edgar-quickstart skill. The agent runs the commands. You choose the extensions and paste the tokens.

bun install
bun run edgar init "$HOME/edgar-workspace"

docker compose --env-file "$HOME/edgar-workspace/.env" up -d database

bun run edgar doctor "$HOME/edgar-workspace"

EDGAR_WORKSPACE="$HOME/edgar-workspace" bun run edgard

edgar doctor checks your files, your extensions, every variable they need and the database, and each problem comes with its fix. The quickstart shows what you should see at each step.

  • Agents never hold your push token. Only EDGAR's own process pushes branches and opens pull requests. It pushes a card's change only to a branch namededgar/<run id> . A pull request review pushes only the fixes the author approved, to that pull request's own branch, never to the default branch.
  • A person merges. EDGAR opens the pull request and waits for a person. It never merges on its own.
  • Each session is fenced in. It runs as its own system user, with no direct network. It reaches the model only through EDGAR's local proxy, which holds the real keys and refuses requests that would make the provider fetch other URLs.
  • Every command an agent runs goes through a guard before it runs.
  • Outside text is treated as data. Card text, comments, logs and chat messages are marked as untrusted before an agent sees them. Someone outside your team can never start a code change.
  • Extensions reach only the hosts they declare , and only over https.
  • The server uses its own database role , with fewer rights than the owner role that runs migrations.
  • Secrets stay out of the record. Tokens are removed from transcripts before they are saved.

Every run, step, check and cost is saved. The command line reads all of it through the API. Set EDGAR_SOCKET on the server, or EDGAR_URL from elsewhere, as the command line reference says:

bun run edgar runs list
bun run edgar runs show <run>
bun run edgar runs timeline <run>
bun run edgar runs transcript <run>
bun run edgar usage --from 2026-11-01 --to 2026-12-01   # spend; needs the Admin role

The web app in apps/web shows the same runs, their stages and what waits for a person.

Extension What it gives EDGAR
github Issues as work, the code host for branches and pull requests
linear Linear issues as work, with comments and status written back
email The same notices as Slack, and EDGAR's own health, by email through SendGrid
slack Posts in a thread per run, questions with buttons, answers
docker Container logs on the same host, turned into incidents
google-cloud-logging Cloud Logging entries, turned into incidents
google-cloud-secret-manager The workspace's secrets, read from Secret Manager
aikido Open Aikido security issues as work items
vanta Failing Vanta compliance tests as work items
uptimerobot UptimeRobot monitors that are down, turned into incidents
claude-code Claude Code as a runtime
claude-sdk The Claude Agent SDK as a runtime
codex Codex as a runtime
google-iap Sign-in through Google's Identity-Aware Proxy
edgar-self EDGAR's own failed runs, turned into incidents it can fix

The built-in workflows, such as card.to-pr, live in extensions/workflows. They are always loaded and are not mounted.

To write your own, read Writing an extension.

When a maintainer pushes a version tag, CI builds Linux tarballs with checksums and build provenance and publishes them as a GitHub Release. It also publishes the SDK and the extensions to npm as @kana-ai/edgar-*, except the runtimes claude-code, claude-sdk and codex, which build on the server.

Works today: edgar init and edgar doctor; the server ( edgard), with its API, its MCP endpoint and the engine, in one process or as separate serve and work processes; workflows that survive restarts, with retries, leases, waits and an outbox; the card.to-pr workflow on a worker that has the session settings; agent sessions in a sandbox, with a guard and a model proxy that counts spend; a command for nearly every API route; the web app; and every extension in the table above.

Not yet:

  • Setup and upgrade commands and a container image.
I want to Read
Install EDGAR and run it once Install Β·Quickstart
Understand the parts Concepts
Connect GitHub, Linear, Slack, logs or a coding agent Guides
Write my own extension Writing an extension
Look up a command, a key, a variable or an error code Reference
Run EDGAR on a server Self-hosting
Cut a release Releasing
See complete setups Examples

EDGAR stands on the work of these projects and companies. Thank you.

Technology What EDGAR uses it for Made by
Bun Runs every part of EDGAR, and installs and tests it. @oven-sh
TypeScript The language of EDGAR and of every extension. @microsoft
PostgreSQL Stores every run, step and setting. @postgres
ParadeDB The database image: Postgres with search and vectors. @paradedb
Turborepo Runs the checks and tests of every package. @vercel
Next.js The web console. @vercel
Anthropic Models for agent sessions. @anthropics
OpenAI Models for agent sessions. @openai

EDGAR also connects to these services through its extensions:

Service Extension Made by
GitHub github @github
Linear linear @linear
Slack slack @slackapi
Twilio SendGrid email @sendgrid
Google Cloud google-cloud-logging ,google-cloud-secret-manager ,google-iap @GoogleCloudPlatform
Docker docker @docker
Aikido Security aikido @AikidoSec
Vanta vanta @VantaInc
UptimeRobot uptimerobot @uptimerobot

Each of these keeps its own name, trademarks and licence. Listing them here does not mean they endorse EDGAR.

Start with AGENTS.md and the contribution guide. Everyone who takes part follows the code of conduct. Report a security problem as the security policy says, never in a public issue.

EDGAR is licensed under Apache 2.0. Its database image, ParadeDB, includes the pg_search extension, which has its own licence (AGPL-3.0).

── more in #ai-agents 4 stories Β· sorted by recency
── more on @kana ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/edgar-the-on-call-ai…] indexed:0 read:9min 2026-12-01 Β· β€”