EvoX Genesis
EvoX Genesis는 고수준 목표를 재귀적 소프트웨어 세계로 전환해, 유한 에이전트가 개발하고 승인된 결과만 유지됩니다
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기petstore is an example app that extends the Swagger Petstore API definition (openapi.yaml) with a server, petstore-server, that serves every operation from memory.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗petstore is an example app that extends the Swagger Petstore API definition
(openapi.yaml) with a server, petstore-server, that serves every operation
from memory. Optionally, the server is an AAuth
resource: each operation asks an AI agent for exactly the trust it needs.
go run ./cmd/petstore-server --listen 127.0.0.1:8080
curl 'http://127.0.0.1:8080/v2/pet/findByStatus?status=available'
The store starts with six pets and keeps everything in memory. The spec is
served at /openapi.yaml and /openapi.json, with servers pointing at the
server, so tools that load an OpenAPI document find it there.
With --auth aauth, each operation requires what its x-aauth annotation in
openapi.yaml says:
| Operations | Requires | What the agent does |
|---|---|---|
findPetsByStatus, findPetsByTags, getPetById, getInventory, loginUser, logoutUser | the agent's identity | signs the request with its agent token |
getOrderById, user operations | the person | presents a person token from its person server |
placeOrder, deleteOrder | an auth token for write:orders | asks the person to approve, then presents the auth token |
addPet, updatePet, updatePetWithForm, deletePet, uploadFile | an auth token for write:pets | the same, for write:pets |
Orders belong to the person who placed them: another person's order is not found.
The quickest way to try it is behind the
aauth-go sandbox,
which runs an agent provider and a person server and serves the Petstore as
https://petstore.aauth.test:
aauth-sandbox init
petstore-server --listen 127.0.0.1:8080 --auth aauth \
--url https://petstore.aauth.test \
--trust https://ps.aauth.test \
--ca-file ~/.aauth-sandbox/ca.pem
aauth-sandbox serve --upstream petstore=http://127.0.0.1:8080
| Flag | Meaning |
|---|---|
--auth | none (default) or aauth |
--url | the resource's public URL and AAuth identifier |
--trust | a person server whose tokens to accept (repeatable) |
--ca-file | an extra root CA for fetching issuers' keys, such as the sandbox CA |
--listen | the address to listen on, plain HTTP (default :8080) |
The resource metadata is at /.well-known/aauth-resource.json, with the scope
descriptions a person server shows on its consent page.
To test agents and AAuth implementations against the Petstore, see the interop guide.
docker build -t petstore-server .
docker run --rm -p 127.0.0.1:8080:8080 petstore-server