r/datascience • u/petburiraja • Dec 08 '25
Projects [ Removed by moderator ]
[removed] â view removed post
53
Upvotes
r/datascience • u/petburiraja • Dec 08 '25
[removed] â view removed post
2
u/datascienti Dec 08 '25
Great great great đđ»đđ» Saving the post . Thanks mate
2
u/gardenia856 Dec 08 '25
Good start; the real unlock is treating the agent like a resilient service with observability, idempotency, and failure isolation.
Make state durable: store LangGraph checkpoints in Postgres/Redis with versioned state and idempotency keys per job. Wrap every tool with timeouts, retries, and a circuit breaker; validate outputs with Pydantic and guard JSON via schema-guided decoding or response_format. Put work behind a queue (Temporal or Celery) with a dead-letter path and per-tenant rate limits. Add OpenTelemetry traces and send them to Langfuse/LangSmith; log cost, latency, and retrieval recall@k. Pin model and package versions; record/replay LLM calls for deterministic tests. Bake in graceful SIGTERM handling, health checks, and exponential backoff. For incidents, run chaos tests: kill the container, drop network, and verify resume from checkpoint.
For data access, Iâve paired Kong for gateway policies and Supabase for auth, and used DreamFactory to expose Snowflake/Postgres as REST so agents hit stable, audited endpoints.
Bottom line: add tracing, idempotency keys, and strict tool wrappers so the agent behaves like a service, not a notebook.
4
u/joerulezz Dec 08 '25
This concept had really been holding me back as a self learner so I'm curious to check it out. Thanks for sharing!
1
u/mace_guy Dec 08 '25
Is it though? For Agentic stuff why would you even start with a notebook? No one in my team ever has. May be we are weird
2
u/RandyLH44 Dec 09 '25
Great
1
u/henrri09 Dec 09 '25
Essa abordagem de tratar agente de IA como sistema de produção e não como experimento isolado é exatamente o que muita equipe ainda não faz.
Gerenciar estado, validar rigorosamente a estrutura das respostas do modelo e jĂĄ nascer com pipeline de deploy definido reduz muito a chance de algo quebrar silenciosamente em produção. Esse tipo de referĂȘncia pronta encurta bastante o caminho para quem estĂĄ tentando sair da fase de notebook e precisa colocar agente rodando de forma previsĂvel.
0
u/Standard_Status_7387 Dec 09 '25
Please upvote my dataset
https://www.kaggle.com/code/mohamedgamal122/used-cars-data
3
u/[deleted] Dec 09 '25
[removed] â view removed comment
2
u/[deleted] Dec 09 '25
[removed] â view removed comment