Show HN: Tokencap – Token budget enforcement across your AI agents
4.2(1,000 avis)
Payant· à partir de US$20.00/mois
Lancé en 2026
Sobre
I built this after hitting the same wall repeatedly — no good way to enforce token budgets in application code. Provider caps are account-level and tell you what happened, not what is happening.<p>Two ways to add it:<p><pre><code> # Direct client wrapper client = tokencap.wrap(anthropic.Anthropic(), limit=50_000) # LangChain, CrewAI, AutoGen, etc. tokencap.patch(limit=50_000) </code></pre> Four actions at configurable thresholds: WARN, DEGRADE (transparent model swap), BLOCK, and W
Points positifs
- +Enforça orçamentos de tokens em agentes de IA
- +Dois métodos para adicionar: wrapper direto e patch
- +Quatro ações configuráveis com limiares: WARN, DEGRADE, BLOCK e WARN
Points négatifs
- −Limitado a agentes de IA específicos
- −Configuração de limiares pode ser complexa
Você também pode gostar
Cursor
4.8(8,900)
Editor de código com IA integrada
ProgramaçãoFreemiumà partir de US$20.00/mois
Claude
4.8(9,220)
Assistente da Anthropic com foco em raciocínio longo
Escrita & TextoFreemiumà partir de US$20.00/mois
ChatGPT
4.7(18,420)
Assistente de IA conversacional da OpenAI
Escrita & TextoFreemiumà partir de US$20.00/mois