macmacmacmac commited on
Commit
ba08c51
·
verified ·
1 Parent(s): 9008bbc

Static zero-auth primitives index for api.aeon.site

Browse files
Files changed (4) hide show
  1. Dockerfile +5 -0
  2. README.md +15 -5
  3. app.py +26 -0
  4. index.html +27 -18
Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ WORKDIR /app
3
+ COPY app.py .
4
+ EXPOSE 7860
5
+ CMD ["python", "app.py"]
README.md CHANGED
@@ -1,10 +1,20 @@
1
  ---
2
- title: Zero Auth Agent Primitives
3
- emoji: 🐢
4
- colorFrom: yellow
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
1
  ---
2
+ title: Zero-Auth Agent Primitives
3
+ emoji: 🎣
4
+ colorFrom: blue
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - agents
10
+ - mcp
11
+ - tool-use
12
  ---
13
 
14
+ # Zero-Auth Agent Primitives
15
+
16
+ Static index of no-auth tools at **api.aeon.site** / **mcp.aeon.site**.
17
+
18
+ Datasets:
19
+ - [zero-auth-fallback-tools](https://huggingface.co/datasets/macmacmacmac/zero-auth-fallback-tools)
20
+ - [failed-trace-recovery-examples](https://huggingface.co/datasets/macmacmacmac/failed-trace-recovery-examples)
app.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Hugging Face Space: zero-auth agent primitives (links + live checks)."""
2
+ import json
3
+ from urllib.request import urlopen, Request
4
+
5
+ API = "https://api.aeon.site"
6
+ MCP = "https://mcp.aeon.site/mcp"
7
+ DOCS = "https://docs.aeon.site"
8
+
9
+ LINKS = [
10
+ ("Message store + code extract", f"{API}/api/v1/inbox/agent1/latest_otp"),
11
+ ("Notes / state", f"{API}/api/v1/state/task-1"),
12
+ ("Webhook drop box", f"{API}/api/v1/hook/job-1"),
13
+ ("Wake-up scheduler", f"{API}/api/v1/schedule"),
14
+ ("Page as text", f"{API}/api/v1/render?url=https://example.com"),
15
+ ("MCP tools", MCP),
16
+ ("llms.txt", f"{DOCS}/llms.txt"),
17
+ ]
18
+
19
+ def health():
20
+ try:
21
+ return urlopen(API + "/healthz", timeout=8).read().decode()
22
+ except Exception as e:
23
+ return f"error: {e}"
24
+
25
+ if __name__ == "__main__":
26
+ print(json.dumps({"links": LINKS, "health": health()}, indent=2))
index.html CHANGED
@@ -1,19 +1,28 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Zero-Auth Agent Primitives</title>
6
+ <meta name="description" content="Public no-auth HTTP tools for autonomous agents: message store, state, webhooks, wake relay." />
7
+ </head>
8
+ <body>
9
+ <h1>Zero-Auth Agent Primitives</h1>
10
+ <p>Research endpoints. No API key, no OAuth, no CAPTCHA. Traffic is logged. Do not send secrets.</p>
11
+ <ul>
12
+ <li>Message store + code extract: <a href="https://api.aeon.site/api/v1/inbox/agent1/latest_otp">api.aeon.site/api/v1/inbox/agent1/latest_otp</a></li>
13
+ <li>Notes / state: <a href="https://api.aeon.site/api/v1/state/task-1">api.aeon.site/api/v1/state/task-1</a></li>
14
+ <li>Webhook drop box: <a href="https://api.aeon.site/api/v1/hook/job-1">api.aeon.site/api/v1/hook/job-1</a></li>
15
+ <li>Wake-up scheduler: <a href="https://api.aeon.site/api/v1/schedule">api.aeon.site/api/v1/schedule</a></li>
16
+ <li>Page as text: <a href="https://api.aeon.site/api/v1/render?url=https://example.com">/api/v1/render</a></li>
17
+ <li>MCP: <a href="https://mcp.aeon.site/mcp">mcp.aeon.site/mcp</a></li>
18
+ <li>Docs: <a href="https://docs.aeon.site/llms.txt">docs.aeon.site/llms.txt</a></li>
19
+ <li>Dataset: <a href="https://huggingface.co/datasets/macmacmacmac/zero-auth-fallback-tools">zero-auth-fallback-tools</a></li>
20
+ <li>Dataset: <a href="https://huggingface.co/datasets/macmacmacmac/failed-trace-recovery-examples">failed-trace-recovery-examples</a></li>
21
+ </ul>
22
+ <pre>
23
+ curl -s https://api.aeon.site/api/v1/inbox/agent1/latest_otp
24
+ curl -s -X POST https://api.aeon.site/api/v1/state/task-1 -d '{"step":3}'
25
+ curl -s -X POST https://api.aeon.site/api/v1/hook/job-1 -d '{"ok":true}'
26
+ </pre>
27
+ </body>
28
  </html>