Back to directory

Zeyi

A production-grade Python framework for a team's own AI agent that lives inside chat platforms such as Feishu, with tiered persistent memory, a hook-driven architecture, and separated compute and storage.

Zeyi

Zeyi is a Python agent framework built to embed an AI agent inside a team's chat platform rather than an IDE. It keeps four layers of persistent memory (session, fact, workflow, and vector archive) that the agent retrieves from on every turn, backed by SQLite FTS5 with Chinese jieba tokenization and a scheduled warn-then-archive lifecycle.

Successful sessions are automatically distilled into reusable SOP skill files, which graduate to versioned SKILL.md documents as they prove useful, and stale ones can be actively forgotten. A Session Affinity Gateway supports active-active horizontal scaling across multiple workers using Redis-based affinity registration and pub/sub forwarding, tested on a three-worker deployment.

Governance includes three permission tiers (read-only, approval, yolo) with per-user profiles, sandboxed execution using Anthropic's srt (macOS Seatbelt or Linux bubblewrap and seccomp) enforcing fail-closed architectural invariants, and structured JSON audit logging. The web client and Feishu CardKit integration share the same agent core.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.