How whtcjdtc2007/anna-executa-examples works
This repository provides reference SDKs and runnable examples for Anna Executa plugins, rather than the Anna host itself. The principal workflow is a plugin receiving an invocation, using SDK helpers to communicate with the host over JSON-RPC, and returning a result; the host can then perform managed capabilities such as LLM, storage, media, and web operations. Examples document Python, Node.js, and Go plugins, credentials/OAuth, and local or binary distribution. SDK feature paths and documented capabilities are included; unsampled runtime wiring is not inferred.
Main entry points: examples Plugin tool · context.js Invoke context · sampling.js LLM sampling · python Python examples
Components 19
Plugin examples
- Plugin tool
examples - Python examples
examples/python - Node examples
examples/nodejs - Go examples
examples/go - Anna App examples
examples/anna-app-focus-flow
SDK capabilities
- Invoke context
sdk/nodejs/context.js - LLM sampling
sdk/nodejs/sampling.js - Embeddings
sdk/python/executa_sdk/embeddings.py - Persistent storage
sdk/nodejs/storage.js - Host uploads
sdk/nodejs/host_upload.js - Image generation
sdk/nodejs/image.js - Media generation
sdk/nodejs/media.js - Web search
sdk/nodejs/web.js - Progress updates
sdk/nodejs/progress.js
Host services
- Anna host Agent
- Host LLM
- Anna Persistent Storage
- Nexus services
Other components
- Plugin developer
Connections 20
- Plugin developer → Plugin tool: builds
README.md - Plugin tool → Anna host Agent: JSON-RPC over stdio
README.md - Python examples → Plugin tool: implements
README.md - Node examples → Plugin tool: implements
README.md - Go examples → Plugin tool: implements
README.md - Anna App examples → Plugin tool: bundles tool
README.md - Plugin tool → Invoke context: reads invocation
- Invoke context → LLM sampling: correlates invoke
sdk/nodejs/context.js - LLM sampling → Anna host Agent: requests completion
- Anna host Agent → Host LLM: performs completion
README.md - Embeddings → Anna host Agent: requests embeddings
sdk/python/executa_sdk/embeddings.py - Persistent storage → Anna host Agent: requests storage
sdk/nodejs/storage.js - Anna host Agent → Anna Persistent Storage: proxies storage
- Host uploads → Anna host Agent: requests upload
sdk/nodejs/host_upload.js - Image generation → Anna host Agent: requests image work
sdk/nodejs/image.js - Media generation → Anna host Agent: requests media work
sdk/nodejs/media.js - Anna host Agent → Nexus services: proxies media
- Web search → Anna host Agent: requests web access
sdk/nodejs/web.js - Anna host Agent → Nexus services: proxies web access
- Plugin tool → Progress updates: emits updates