# Repository Briefing: tetsuo-ai/agenc-core
> Source: https://repoforai.com/repo/tetsuo-ai/agenc-core (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/tetsuo-ai/agenc-core
- **Official Docs / Website**: https://get.agenc.ag
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 20/20)
- **Latest Release**: agenc-v0.19.38 (2026-11-18) — https://github.com/tetsuo-ai/agenc-core/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI, Self-Hosted, MCP
- **Momentum**: 147 ★ total (+0 24h / +0 7d) · 20 forks
- **Topics**: `ai-agent`, `ai-coding-assistant`, `cli`, `coding-agent`, `deepseek`, `llm`, `terminal`, `tui`, `agenc`, `ai-agents`, `typescript`
- **When to Use**: Best for: Teams that want one coding CLI across cloud and local models, with MCP tools, structured CI output, and resumable background sessions on a single host. Skip if: You need a daemonless CLI, shared state across hosts, or a deployment where strict OS isolation is enabled out of the box.

## Overview
```text
### Architecture & Core Mechanics
AgenC is a TypeScript coding agent with one local control plane per `AGENC_HOME`. The launcher in `packages/agenc/` starts the `app-server` daemon, which owns session and agent lifecycle, permission checks, provider calls, and command execution. The React TUI, headless CLI, background-agent commands, and channel gateway are clients of that daemon, so closing the foreground UI does not end a background session.

`runtime/` contains the daemon, clients, provider adapters, tools, MCP integration, permissions, and sandbox. `packages/agenc-sdk/` provides a typed daemon-protocol client and is versioned separately: SDK 0.3.0 alongside launcher and runtime 0.19.38. The distinction matters when integrating: use the SDK to talk to the control plane and configure MCP or plugins through `config.toml` to extend the agent. The daemon’s socket, session data, budget ledger, and logs live under `AGENC_HOME`.

### Key Capabilities & Differentiators
Inference routes include OpenAI, Anthropic, Grok, Gemini, DeepSeek, and OpenRouter, plus local Ollama and LM Studio endpoints. OpenAI and xAI support account sign-in. New sessions start in Light mode with a small initial set for tool discovery, file operations, and shell execution. GPT-family models and DeepSeek Flash get `apply_patch` in place of separate edit and write tools; additional enabled tools can be discovered as needed.

`--print` supports text, JSON, and streaming JSON output for automation. Background sessions can be listed, attached to, resumed, stopped, and inspected through logs. The gateway supports Telegram, Discord, Slack, WebChat, and stdio, with pairing and in-channel approvals. Daemon-owned budget reservations, hierarchical caps, concurrency controls, and cancellation cover interactive and background work, including heartbeat, cron, and hook activity. In one Terminal-Bench 2.1 run, DeepSeek V4.1 Flash scored 84.5% at $27 in inference spend; that result does not establish a cost or quality baseline for other providers or workloads.

### Trade-offs & Limitations
Compared with adopting Claude Code as the team's standard CLI, AgenC is worth evaluating when provider choice, local inference, or daemon-managed background jobs are hard requirements. The flexibility adds configuration and operating decisions: provider credentials and routing, daemon health, tool approvals, and gateway access. Local inference moves capacity planning to the model host; cloud inference avoids that hardware requirement but sends requests to the configured provider. Self-hosting the control plane alone is not an offline deployment.

Permission modes gate shell execution and file mutation, but the OS sandbox is opt-in and restricted modes can still permit broad reads unless explicitly denied. Review read policy and tool access before enabling unattended jobs or remote approvals. State is single-host: shared NFS, SMB, and multi-host container volumes are rejected for runtime locking. Durable scheduling also requires Linux directory descriptors and a local OS-account home, so service packaging on several platforms does not imply scheduler parity.

### Hardware & Deployment Guide
Standalone artifacts bundle a verified Node.js 26.12.1 runtime. Source checkouts, the npm launcher, and the SDK require Node.js `>=26.5 <27`; the checkout pins npm to `11.17.0`. Source builds on Linux also need a C11 compiler available as `cc` for the process-containment broker, which is included in published artifacts. File search uses `rg`. Start with `agenc onboard` and `agenc doctor`; real inference requires provider credentials or a running local endpoint. Default routing is xAI with `grok-4.6`.

Use an absolute `AGENC_HOME` on a local filesystem that supports SQLite locking and atomic rename. Packaging includes systemd, launchd, and Windows service templates as well as Docker packaging; the full release test gate requires a Linux Docker host. Version 0.19.37 fixed daemon stalls during sub-agent startup, including their impact on swarm print mode. Version 0.19.38 added `gpt-6.2-astra` and `gpt-6.2-sol` to OpenAI API-key and ChatGPT sign-in routes without changing the default model.
```

## Key Capabilities
```text
- Control plane: One daemon per `AGENC_HOME` serves the TUI, headless CLI, background agents, gateway, and typed SDK.
- Inference: Route to OpenAI, Anthropic, Grok, Gemini, DeepSeek, or OpenRouter, or use a local Ollama or LM Studio server.
- Tool loading: Light mode starts with a small tool set and discovers other enabled tools through `system.searchTools`.
- CI integration: `--print` supports text, JSON, and streaming JSON output; `--input-format stream-json` accepts structured input.
- Execution controls: Daemon-managed reservations, hierarchical budget caps, concurrency controls, and cancellation cover foreground and background work.
- Release verification: The clean-build gate compares package artifacts and OCI blobs byte for byte before smoke-testing the image.
```

## Quick Start / Clone
```bash
curl -fsSL https://get.agenc.ag/install.sh | sh
```
