What problem does it solve?
Maintains reliable, EOS-compatible Python development by preventing common integration mistakes around imports, environment variables, async behavior, and database access.
Core Features & Use Cases
- Correct EOS sys.path and namespace packaging: Keeps
eos_ai imports working by enforcing the required repo-root insertion and the implicit namespace rule (no __init__.py in eos_ai/).
- Safe environment and credential handling: Standardizes
.env loading across eos_ai/ vs services/ and ensures API keys and DATABASE_URL are accessed via environment variables with sanitized error messages.
- Production-grade async and database patterns: Guides correct
asyncio.to_thread() usage for Discord bot contexts and enforces psycopg2 get_conn() context-manager semantics for RLS and transactions.
Quick Start
Ask the AI: "Show me how to add a new async function in the Discord bot that calls an EOS gateway method without blocking the event loop, and ensure it loads the correct .env files and uses get_conn() for any Neon queries."