Communitygithub.com

lakernote/easy-agent

A lightweight, self-hosted general-purpose AI Agent with support for Tools, Skills, MCP, streaming conversations, and fully auditable tracing.

What is easy-agent?

The lakernote/easy-agent skill provides a lightweight, self-hosted AI Agent framework designed for developers who need a general-purpose agent with extensible capabilities. It supports Tools, Skills, the Model Context Protocol (MCP), streaming dialogue, and complete auditable tracing. This skill is useful for building custom AI assistants that can integrate with external services, execute custom code, and maintain full observability of interactions. It works across platforms that support the agent file format, and its SKILL.md documentation emphasizes best practices for API design, including RESTful conventions, proper HTTP status codes, validation, pagination, and idempotency, as well as providing runnable code examples with testing instructions.

Works with~Claude Code~Codex CLI~Cursor
npx skills add lakernote/easy-agent

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

API Design

  1. First, identify whether the user needs an API contract, architectural advice, or runnable code. Only ask follow-up questions when the technology stack will substantially change the result. When the user says "continue," reuse the context from the previous turn to directly complete the implementation without repeating general introductions.
  2. REST paths should use noun resources and a consistent version prefix, for example /api/v1/users. Prefer the standard semantics of GET, POST, PATCH, DELETE, and avoid putting actions directly into the URL.
  3. Example requests and responses must be valid JSON, without comments or trailing commas. A successful creation typically returns 201 and a Location header; a successful deletion may return 204.
  4. Clearly specify input validation, pagination, idempotency, and a consistent error structure. Choose appropriate status codes such as 400, 401, 403, 404, 409, 422, 500 based on the actual scenario, rather than just listing them.
  5. When the user requests implementation, choose the technology stack that best matches the context and provide minimal runnable code, dependencies, startup commands, and at least one real test or curl verification method.
  6. Clearly state assumptions and boundaries. Do not describe demo code as production-ready when it lacks authentication, persistence, concurrency control, or testing.

Related Skills