agentlogs

作者 agentlogs已验证

Collaboration in the age of agentic engineering

195
Stars
13
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/agentlogs/agentlogs

快速入门

使用 agentlogs 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

AgentLogs

AgentLogs

Coding agents, visible to your team.
Open-source and self-hostable. Track sessions, share prompts, and link every conversation to the commit it produced.

Website · Docs · Discord · Changelog


AgentLogs session detail view

AgentLogs captures and analyzes transcripts from AI coding agents (like Claude Code, Codex, OpenCode, and Pi) to give your team visibility into how AI tools are used in their codebases.

See it in action → Example transcript

Why AgentLogs?

AI coding agents are becoming core to how teams write software. But right now, every session is a black box stored on the machine of the user. You can't see the context put into each session and there is no knowledge sharing between teammates.

AgentLogs fixes that:

  • Team observability — Dashboard with activity metrics, agent & model usage, and per-member breakdowns
  • Git integration — Links sessions to the commits they produced. See which transcript wrote which code
  • Shared learning — Browse and share your team's sessions to discover effective prompts and workflows
Team DashboardGit IntegrationSession Browser
DashboardGitList

Supported Agents

AgentTranscriptsAuto-syncCommit Tracking
Claude Code
Cline (experimental)
Codex
OpenCode
Pi

Quick Start (using AgentLogs Cloud)

1. Log in

npx agentlogs login agentlogs.ai

2. Install the plugin for your agent

Claude Code — inside Claude Code:

/plugin marketplace add agentlogs/claude-code
/plugin install agentlogs

Cline:

npx agentlogs cline install

Codex:

Run npx agentlogs codex install to write ~/.codex/hooks.json, enable Codex hook capture, and track git commits in AgentLogs. Set AGENTLOGS_CLI_PATH='bun /absolute/path/to/packages/cli/src/index.ts' before starting Codex if you want hooks to use a local AgentLogs checkout while developing. Codex does not currently let hooks rewrite the commit message body, so transcript URLs are not appended to commit messages automatically. See the full setup guide: https://agentlogs.ai/docs/agents/codex

OpenCode — add to opencode.json:

{ "plugin": ["@agentlogs/opencode"] }

Pi — run inside Pi or from the terminal:

pi install npm:@agentlogs/pi

3. Use your agent as usual

Transcripts are captured and uploaded automatically. View them at agentlogs.ai.

CLI

The CLI can also be used standalone for manual uploads:

# Interactive picker, browse transcripts from all agents
npx agentlogs upload

# Upload most recent transcript
npx agentlogs upload --latest

# Sync all Claude Code transcripts
npx agentlogs claudecode sync

# Check auth status
npx agentlogs status

See the full CLI reference.

Hosting

AgentLogs is source-available and can be self-hosted.

You can deploy it either as:

  • A container from ghcr.io/agentlogs/agentlogs
  • A standalone agentlogs-server binary from GitHub Releases

See the full guide at Hosting Docs.

Prerequisites

  • GitHub OAuth App (create one)
    • Homepage URL: https://your-domain.example
    • Callback URL: https://your-domain.example/api/auth/callback/github
    • For local development: http://localhost:3000 and http://localhost:3000/api/auth/callback/github

Required Secrets / Env Vars

  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • BETTER_AUTH_SECRET (generate with openssl rand -base64 32)
  • WEB_URL (public app URL, e.g. https://logs.example.com)

Optional AI Summary Backend

AgentLogs can generate short transcript titles automatically. Configure one of:

  • OPENROUTER_API_KEY for the default hosted backend
  • AI_BASE_URL and AI_MODEL for any OpenAI-compatible endpoint (Ollama, vLLM, LiteLLM, and similar)
  • AI_API_KEY if your OpenAI-compatible endpoint requires authentication

If AI_BASE_URL and AI_MODEL are set, AgentLogs prefers that endpoint and only falls back to OpenRouter when the custom backend is not configured. See the full Hosting Docs.

Local Development (From Source)

Requires Bun v1.3.10.

git clone https://github.com/agentlogs/agentlogs.git
cd agentlogs
bun install

# Configure environment
cp packages/server/.env.example packages/server/.env
# Edit packages/server/.env with:
#   GITHUB_CLIENT_ID=...
#   GITHUB_CLIENT_SECRET=...
#   BETTER_AUTH_SECRET=...  (openssl rand -base64 32)
#   WEB_URL=http://localhost:3000
# Optional AI summaries:
#   OPENROUTER_API_KEY=...
# or use an OpenAI-compatible endpoint:
#   AI_BASE_URL=http://localhost:11434/v1
#   AI_MODEL=llama3.2
#   AI_API_KEY=...  # only if your endpoint requires auth

# Initialize database
bun db:migrate

# Start
bun dev

Open http://localhost:3000.

Point the CLI at your local instance:

npx agentlogs login localhost:3000

Option A: Deploy With GHCR

docker run -d \
  --name agentlogs \
  -p 3000:3000 \
  -v agentlogs-data:/app/.data \
  -e GITHUB_CLIENT_ID=... \
  -e GITHUB_CLIENT_SECRET=... \
  -e BETTER_AUTH_SECRET=... \
  -e WEB_URL=https://logs.example.com \
  ghcr.io/agentlogs/agentlogs:latest

Option B: Deploy With A Single Binary

Download the correct binary for your OS/architecture from GitHub Releases:

chmod +x ./agentlogs-server
./agentlogs-server

By default, the standalone server applies embedded migrations before startup. Use --no-migrations to skip them or --only-migrations to run them and exit.

Connect Your Agents To Your Host

npx agentlogs login logs.example.com

Project Structure

packages/
├── cli/       — CLI tool (npx agentlogs)
├── server/    — Server package (TanStack Start web UI + API, standalone Bun binary + SQLite)
├── shared/    — Shared types, schemas, transcript parsing, secret redaction
├── pi/        — Pi extension (@agentlogs/pi)
├── opencode/  — OpenCode plugin (@agentlogs/opencode)
└── e2e/       — End-to-end tests
docs/          — Documentation (Mintlify)

Development

# Start the server package
bun dev

# Run CLI
bun agentlogs

# Type check, lint, format
bun run check

# Format code
bun run format

# Run e2e tests
bun run test:e2e

# Database commands
bun db:migrate       # Run migrations
bun db:generate      # Generate migrations from schema changes
bun db:studio        # Open Drizzle Studio
bun db:reset         # Reset local database

Tech Stack

Contributing

We welcome contributions! Please:

  1. Fork the repo and create a branch
  2. Make your changes
  3. Run bun run format and bun run check
  4. Open a PR

Acknowledgments

AgentLogs was inspired by and builds on ideas from:

License

FSL-1.1-Apache-2.0

常见问题

What is agentlogs?

agentlogs is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by agentlogs. Collaboration in the age of agentic engineering. It has 195 GitHub stars.

Is agentlogs safe to use?

Yes. agentlogs passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install agentlogs?

Clone the repository with "git clone https://github.com/agentlogs/agentlogs" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is agentlogs written in?

agentlogs is primarily written in TypeScript. It is open-source under agentlogs on GitHub, so you can review or fork the full source.

Are there alternatives to agentlogs?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agentlogs against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情