Skip to content
Simon Place
FR EN
Book a Meet call

Module 10 of 10, lesson 4 of 5

Practice

Use cases and final project

Write the code

Runs in your browser, with no install, account or API key. The model is scripted, so the results are repeatable.

function costPerTask(t) {  // TODO  return 0;}function decide(t) {  // TODO  return { automate: false, costPerTask: 0, monthlySaving: 0, paybackMonths: null };}
Give the agent a skillShould this be automated?
Open in the editor
const CAP = 100;function makeTools({ orders, policy, pay, approve }) {  return {    get_order: async ({ id }) => {      if (!(id in orders)) throw new Error(`Unknown order ${id}`);      return { id, total: orders[id] };    },    search_policy: async ({ topic }) => policy[topic] ?? 'No policy found',
Give the agent a skillFinal project: the refund agent
Open in the editor

Running project

Take three tasks from your own work. For each, choose human, rules, machine learning or agent, and justify it in one sentence. Then start the final project on the best fit, or on the running project.

Practice

Some of these need a free account or an API key, which may be paid.

Legal notice and privacy