AgentData — executable-liquidity / exit-cost & fragility intelligence endpoint for AI agents (x402, Base). Testnet/preview.
git clone https://github.com/phenicea/agentdata && cp agentdata/*.md ~/.claude/agents/5 items in this repository
Agile product ownership toolkit for Senior Product Owner including INVEST-compliant user story generation, sprint planning, backlog management, and velocity tracking. Use for story writing, sprint planning, stakeholder communication, and agile ceremonies.
Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management. Includes strategy analyzer, financial scenario modeling, board governance frameworks, and investor relations playbooks. Use when planning strategy, preparing board presentations, managing investors, developing organizational culture, making executive decisions, or when user mentions CEO, strategic planning, board meetings, investor updates, organizational leadership, or executive strategy.
Technical leadership guidance for engineering teams, architecture decisions, and technology strategy. Includes tech debt analyzer, team scaling calculator, engineering metrics frameworks, technology evaluation tools, and ADR templates. Use when assessing technical debt, scaling engineering teams, evaluating technologies, making architecture decisions, establishing engineering metrics, or when user mentions CTO, tech debt, technical debt, team scaling, architecture decisions, technology evaluation, engineering metrics, DORA metrics, or technology strategy.
Subagents overview
# AgentData — Executable Liquidity (endpoint #1)
A pay-per-call data endpoint for AI agents: **size-aware exit cost, depeg risk, and
liquidity fragility** for a token on Base. Not raw prices — *computed, normalized,
decision-grade* intelligence an agent needs before it acts. Settled in USDC via
[x402](https://x402.org) (Phase 2). Sourced on-chain, so the derived data is
cleanly redistributable.
> Strategy, values, and roadmap live in [`CLAUDE.md`](./CLAUDE.md). Decisions are
> logged in [`decisions/DECISION_LOG.md`](./decisions/DECISION_LOG.md) and
> [`decisions/adr/`](./decisions/adr/).
## What it answers
> "If I try to exit this position right now, what does it actually cost me, how
> much can I move before slippage blows past X bps, and how fragile is that
> liquidity?"
Three priced tiers (single source of truth in `agentdata/api/pricing.py`):
| Tier | Contents | Mainnet price |
|-------|-----------------------------------------------------------------|---------------|
| quote | best-route exit cost for one size | $0.008 |
| risk | exit cost + fragility (+ depeg for pegged assets) — **default** | $0.02 |
| deep | risk + multi-size exit-cost curve + max-size-before-cost ladder | $0.04 |
Testnet forces every price to **$0** (the 402 flow is still exercised end-to-end).
## Layout
```
src/agentdata/
config.py # env-driven; NETWORK_MODE testnet|mainnet (testnet default)
compute/ # the value-add: pure, deterministic, unit-tested math
amm.py # constant-product + Solidly stable curve, exit cost
routing.py # cheapest-venue selection
depeg.py # depeg deviation / dispersion / score
fragility.py # depth + concentration + convexity -> fragility score
tiers.py # quote / risk / deep orchestration
chain/ # on-chain Base reads (Aerodrome / Uniswap), web3 lazy
provider.py # FixturePoolProvider (default) + factory
onchain.py # OnChainPoolProvider (env-gated, no guessed addresses)
api/ # FastAPI JSON layer + pricing + stable schema
monitoring/ # uptime, latency p50/p95, error rate, calls per tier
tests/ # unittest (stdlib for compute; fastapi for api)
```
## Run it (local, no funds, no network)
```bash
pip install -e . # or: pip install fastapi pydantic 'uvicorn[standard]'
uvicorn agentdata.api.app:app --reload
# then:
curl 'http://127.0.0.1:8000/v1/liquidity/exit-cost?token=WETH&size=10&tier=risk'
curl 'http://127.0.0.1:8000/pricing'
curl 'http://127.0.0.1:8000/metrics'
```
Defaults: `NETWORK_MODE=testnet`, `POOL_SOURCE=fixture` (deterministic demo pools
`WETH`, `THIN`, `USDX`). See `.env.example`.
## Test
```bash
# compute core needs no dependencies:
PYTHONPATH=src python -m unittest discover -s tests
```
## Status
- **Phase 1 (local endpoint): done.** compute + chain seam + API + monitoring, 42
tests green.
- **Phase 2 (x402 testnet): next.** Payment middleware in front of the API, free
testnet facilitator on Base Sepolia. No real USDC; mainnet is an escalated human
decision (CLAUDE.md §0/§14).
- On-chain mode requires a verified pool registry before use (ADR-001) — the code
refuses to run on guessed contract addresses rather than fake data.
What people ask about agentdata
What is phenicea/agentdata?
+
phenicea/agentdata is subagents for the Claude AI ecosystem. AgentData — executable-liquidity / exit-cost & fragility intelligence endpoint for AI agents (x402, Base). Testnet/preview. It has 0 GitHub stars and was last updated today.
How do I install agentdata?
+
You can install agentdata by cloning the repository (https://github.com/phenicea/agentdata) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is phenicea/agentdata safe to use?
+
phenicea/agentdata has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains phenicea/agentdata?
+
phenicea/agentdata is maintained by phenicea. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to agentdata?
+
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Deploy agentdata to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/phenicea-agentdata)<a href="https://claudewave.com/repo/phenicea-agentdata"><img src="https://claudewave.com/api/badge/phenicea-agentdata" alt="Featured on ClaudeWave: phenicea/agentdata" width="320" height="64" /></a>More Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Production-ready platform for agentic workflow development.
The agent engineering platform.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More