[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82840":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":10,"pushedAt":10,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":23,"discoverSource":24},82840,"niefa","niefa-xyz\u002Fniefa","niefa-xyz","NIEFA — Neural Interference Engine for Agents","https:\u002F\u002Fniefa.vercel.app",null,"TypeScript",55,2,0,1.43,false,"main",true,[],"2026-06-12 02:04:28","\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fiili.io\u002FBySRi9R.jpg\" alt=\"NIEFA\" width=\"96\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">NIEFA\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>Neural Interference Engine for Agents\u003C\u002Fstrong>\u003Cbr\u002F>\n  \u003Csub>Open-source autonomous agent runtime · Goal in → reasoning, action, results out\u003C\u002Fsub>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fniefa-xyz\u002Fniefa\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-22c55e?style=flat-square\" alt=\"MIT License\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fniefa-xyz\u002Fniefa\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fniefa-xyz\u002Fniefa?style=flat-square&color=f59e0b\" alt=\"Stars\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fniefa-xyz\u002Fniefa\u002Fcommits\u002Fmain\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flast-commit\u002Fniefa-xyz\u002Fniefa?style=flat-square&color=22c55e\" alt=\"Last Commit\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fniefa.xyz\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flive-niefa.xyz-4ade80?style=flat-square\" alt=\"Live Demo\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fbankr.bot\u002Fagents\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FBankr-agent_registry-f59e0b?style=flat-square\" alt=\"Bankr Agents\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fniefa.xyz\">Website\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"#-quick-start\">Quick Start\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"#-api-reference\">API Reference\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fx.com\u002Fniefa_xyz\">X \u002F Twitter\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## What is NIEFA?\n\nNIEFA is an **open-source neural orchestration runtime** for autonomous AI agents. Describe an objective in plain language — NIEFA breaks it into an ordered execution plan, dispatches it to a live agent, streams real-time progress, and returns results. No scaffolding required.\n\n```\n  goal ──▶  plan ──▶  execute ──▶  deliver\n   │          │           │           │\n\"Find top   [1] research  browse +   structured\n Python     [2] compare   scrape +   report with\n ORMs and   [3] benchmark analyze    benchmarks\n benchmark  [4] report    write      + source\n them\"      [5] package              links\n```\n\nIt ships with two NIEFA-native primitives — **x402 paid endpoints** and a **per-agent file system** — built directly into the Next.js runtime with zero external dependencies.\n\n---\n\n## Features\n\n```\n┌─────────────────────────────────────────────────────────────────────────┐\n│  NIEFA CAPABILITIES                                                     │\n├──────────────────────────────┬──────────────────────────────────────────┤\n│  Autonomous Agent Runtime    │  Goal → plan → execute → results         │\n│  LLM Plan Generation         │  claude-haiku-4-5 via Bankr Gateway      │\n│  Real-Time Streaming         │  Live progress, logs, reasoning traces   │\n│  x402 Paid Endpoints         │  USDC micropayments, no wallet SDK       │\n│  Agent File System           │  Sandboxed per-agent storage, 10 MB      │\n│  Graceful Degradation        │  Sim mode when no API key is present     │\n│  Open Source · MIT           │  Self-host, fork, extend, own it         │\n└──────────────────────────────┴──────────────────────────────────────────┘\n```\n\n---\n\n## Architecture\n\n```\n  Browser \u002F Client\n       │\n       ▼\n  ┌────────────────────────────────────────────────┐\n  │  Next.js 15 App Router                         │\n  │                                                │\n  │  \u002Fapi\u002Fbankr\u002Fllm    ──▶  Bankr LLM Gateway      │\n  │  \u002Fapi\u002Fbankr\u002Fagent  ──▶  Bankr Agent API        │\n  │  \u002Fapi\u002Fbankr\u002Fjob    ──▶  Bankr Job Polling      │\n  │                                                │\n  │  \u002Fapi\u002Fniefa\u002Fx402   ──▶  x402 Registry (local) │\n  │  \u002Fapi\u002Fniefa\u002Ffs     ──▶  Agent File System      │\n  └────────────────────────────────────────────────┘\n       │                         │\n       ▼                         ▼\n  data\u002Fx402-*.json         data\u002Fafs\u002F{agentId}\u002F\n  (endpoint registry)      (sandboxed storage)\n```\n\n---\n\n## 🚀 Quick Start\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fniefa-xyz\u002Fniefa.git\ncd niefa\ncp .env.example .env.local\n```\n\nEdit `.env.local`:\n\n```env\nBANKR_API_KEY=bk_...   # from bankr.bot\u002Fapi — optional, enables live execution\n```\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen [http:\u002F\u002Flocalhost:3000](http:\u002F\u002Flocalhost:3000) → navigate to `\u002F#deploy` to run an agent goal end-to-end.\n\n> **No API key?** NIEFA falls back to a simulated task sequence automatically — the demo always works.\n\n---\n\n## Deploy Flow\n\nWhen `BANKR_API_KEY` is set, the `\u002F#deploy` panel executes a live agent:\n\n```\n1. User submits goal\n        │\n        ▼\n2. POST \u002Fapi\u002Fbankr\u002Fllm\n   └── claude-haiku-4-5 generates a 5–7 step execution plan\n        │\n        ▼\n3. POST \u002Fapi\u002Fbankr\u002Fagent\n   └── submits goal to Bankr Agent API → returns jobId\n        │\n        ▼\n4. GET \u002Fapi\u002Fbankr\u002Fjob\u002F{jobId}  (polls every 2.5s)\n   └── streams status until completed \u002F failed\n        │\n        ▼\n5. Result rendered in agent card with full reasoning trace\n```\n\n---\n\n## x402 Paid Endpoints\n\nNIEFA ships a self-contained **x402 HTTP payment layer** — register any slug as a paid endpoint, receive USDC on Base, verify payment proof, grant access.\n\n```bash\n# Register a paid endpoint\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Fx402 \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"action\":\"register\",\"slug\":\"my-report\",\"price\":\"0.10\"}'\n\n# Client requests the endpoint (gets HTTP 402 + payment details)\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Fx402 \\\n  -d '{\"action\":\"request\",\"slug\":\"my-report\"}'\n\n# Client submits payment proof (tx hash on Base)\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Fx402 \\\n  -d '{\"action\":\"pay\",\"slug\":\"my-report\",\"txHash\":\"0x...\",\"payer\":\"0x...\"}'\n\n# List all registered endpoints\ncurl http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Fx402\n\n# Remove an endpoint\ncurl -X DELETE \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Fx402?slug=my-report\"\n```\n\nThe registry persists to `data\u002Fx402-registry.json`. Payment records are stored in `data\u002Fx402-payments.json`. No external service required.\n\n---\n\n## Agent File System\n\nPer-agent sandboxed storage — read, write, list, and delete artifacts that persist across runs.\n\n```bash\n# Write a file\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Ffs \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"agent\":\"agent-01\",\"path\":\"\u002Foutput\u002Freport.md\",\"content\":\"# Report\\n...\"}'\n\n# Read a file\ncurl \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Ffs?agent=agent-01&path=\u002Foutput\u002Freport.md\"\n\n# List directory\ncurl \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Ffs?agent=agent-01&path=\u002F\"\n\n# Storage usage\ncurl \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Ffs?agent=agent-01&info=1\"\n\n# Delete\ncurl -X DELETE \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fniefa\u002Ffs?agent=agent-01&path=\u002Foutput\u002Freport.md\"\n```\n\nLimits: **1 MB per file** · **10 MB per agent** · path traversal protected.\n\n---\n\n## 📖 API Reference\n\n### Agent Execution\n\n| Method | Route | Description |\n|--------|-------|-------------|\n| `POST` | `\u002Fapi\u002Fbankr\u002Fllm` | Generate execution plan via LLM Gateway |\n| `POST` | `\u002Fapi\u002Fbankr\u002Fagent` | Submit goal to Bankr Agent API |\n| `GET`  | `\u002Fapi\u002Fbankr\u002Fjob\u002F[id]` | Poll job status |\n\n### x402 Paid Endpoints\n\n| Method | Route | Description |\n|--------|-------|-------------|\n| `GET`    | `\u002Fapi\u002Fniefa\u002Fx402` | List all registered endpoints |\n| `POST`   | `\u002Fapi\u002Fniefa\u002Fx402` `{action:\"register\", slug, price}` | Register paid endpoint |\n| `POST`   | `\u002Fapi\u002Fniefa\u002Fx402` `{action:\"request\", slug}` | Get 402 + payment details |\n| `POST`   | `\u002Fapi\u002Fniefa\u002Fx402` `{action:\"pay\", slug, txHash, payer}` | Submit payment proof |\n| `DELETE` | `\u002Fapi\u002Fniefa\u002Fx402?slug=` | Remove endpoint |\n\n### Agent File System\n\n| Method | Route | Description |\n|--------|-------|-------------|\n| `GET`    | `\u002Fapi\u002Fniefa\u002Ffs?agent=&path=\u002F` | List directory |\n| `GET`    | `\u002Fapi\u002Fniefa\u002Ffs?agent=&path=\u002Ffile.txt` | Read file |\n| `GET`    | `\u002Fapi\u002Fniefa\u002Ffs?agent=&info=1` | Storage usage |\n| `POST`   | `\u002Fapi\u002Fniefa\u002Ffs` `{agent, path, content}` | Write file |\n| `DELETE` | `\u002Fapi\u002Fniefa\u002Ffs?agent=&path=` | Delete file or directory |\n\n---\n\n## Agent Templates\n\n| Template | Goal |\n|----------|------|\n| **Research Analyst** | Gather data, synthesize findings, produce structured reports |\n| **Code Assistant** | Write, debug, and refactor code with full context |\n| **Content Creator** | Blog posts, marketing copy, social threads |\n| **Data Miner** | Scrape, clean, and analyze web data at scale |\n| **Project Planner** | Roadmaps with milestones and dependencies |\n| **Customer Support** | Handle inquiries with human-like conversation |\n\n---\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|------------|\n| Framework | Next.js 15 App Router |\n| Language | TypeScript |\n| LLM | Bankr LLM Gateway (`claude-haiku-4-5`) |\n| Agent | Bankr Agent API |\n| Payments | x402 protocol (USDC on Base) |\n| Storage | Local AFS (`data\u002Fafs\u002F`) |\n| Hosting | Vercel |\n\n---\n\n## Self-Host\n\n```bash\nnpm run build\nnpm start\n```\n\nOr deploy to Vercel in one click — set `BANKR_API_KEY` in your project environment variables to enable live agent execution.\n\n---\n\n## Contributing\n\nNIEFA is fully open-source and contributions are welcome.\n\n```bash\ngit fork https:\u002F\u002Fgithub.com\u002Fniefa-xyz\u002Fniefa.git\ngit checkout -b feature\u002Fyour-feature\ngit commit -m \"feat: describe your change\"\ngit push origin feature\u002Fyour-feature\n# Open a Pull Request\n```\n\nAreas where help is appreciated: agent templates, x402 client libraries, AFS adapters (S3, R2), UI improvements.\n\n---\n\n## License\n\n[MIT](.\u002FLICENSE) — use it, modify it, ship it.\n\n---\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fniefa.xyz\">niefa.xyz\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fx.com\u002Fniefa_xyz\">@niefa_xyz\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fbankr.bot\u002Fagents\">bankr.bot\u002Fagents\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Csub>Built with obsession · Open source · MIT\u003C\u002Fsub>\n\u003C\u002Fp>\n","NIEFA是一个开源的神经协调运行时环境，专为自主AI代理设计。它能够将用户以自然语言形式描述的目标分解成有序执行计划，并通过实时代理执行该计划，同时流式传输进度并返回结果。项目采用TypeScript编写，具备自动规划生成、实时数据流处理等功能，并且内置了x402付费端点和每个代理文件系统两大特性，无需额外依赖即可在Next.js环境中直接使用。适用于需要构建能够理解、规划并自主完成任务的人工智能代理的应用场景，如自动化研究、数据分析等。","2026-06-11 04:09:23","CREATED_QUERY"]